Webhooks
Rotate the signing secret
POST
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.
apiKeyAuthheader
X-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.
application/json- response
secret*stringExample Request
curl -X POST 'https://api.softlinksms.co.ke/api/v1/webhook-endpoint/rotate-secret'Example Response
{ "secret": "string"}