Webhooks

Rotate a webhook's signing secret

A new signing secret; the previous one keeps signing next to it for the rotation overlap (24 h).

POST
/webhooks/{id}/signing-secret/rotate

A new signing secret; the previous one keeps signing next to it for the rotation overlap (24 h).

Authorization

bearer
headerAuthorizationBearer <token>

Path Parameters

id*string
Formatuuid

Response Body

Success

application/json
  1. response
id*string
Formatuuid
object*string
signing_secret*string
Example Request
curl -X POST 'https://api.exx.sh/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08/signing-secret/rotate'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "object": "string",  "signing_secret": "string"}