Regenerate webhook secret
POST
Regenerate the webhook secret for a sender. The old secret will be invalidated immediately.
Authorization
AuthorizationheaderrequiredBearer YOUR_API_KEY. Create a key in the dashboard.
Path parameters
senderIdstringrequired
Responses
200New webhook secret generated.
secretstringrequiredThe new webhook secret.
400Sender has no webhook configured.
codestringrequiredmessagestringrequireddetailsobject
401Unauthorized.
codestringrequiredmessagestringrequireddetailsobject
404Sender not found.
codestringrequiredmessagestringrequireddetailsobject