APIReferenceWebhooks
Reveal the signing secret
Returns the webhook with its current signing secret. A POST rather than a GET so the reveal is an explicit action, never a side effect of listing.
Authorization
apiKey AuthorizationBearer <token>
An API key from Settings, Developers: Authorization: Bearer kc_live_...
In: header
Path Parameters
id*string
Length
1 <= lengthResponse Body
application/json
application/json
curl -X POST "https://example.com/webhooks/string/secret"{ "id": "string", "url": "http://example.com", "enabled": true, "secret": "string", "secretRotatedAt": "2019-08-24T14:15:22Z", "codes": [ { "id": "string", "shortCode": "string", "name": "string" } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}