SSoftLinkSMSDocs
Webhooks

Rotate the signing secret

POST
/api/v1/webhook-endpoint/rotate-secret

Issues a new signing secret and returns it once. Events are signed with the new secret from the next delivery on, so update your verifier first.

Authorization

apiKeyAuth
headerX-Api-Key<token>

Your API key, sent as X-Api-Key. Format bsk_<key_id>.<secret>. Create one in the dashboard under Settings → Developer tools.

Response Body

application/json
  1. response
secret*string
Example Request
curl -X POST 'https://api.softlinksms.co.ke/api/v1/webhook-endpoint/rotate-secret'
Example Response
{  "secret": "string"}