cURL
curl --request POST \ --url https://api.zavu.dev/v1/senders/{senderId}/webhook/secret \ --header 'Authorization: Bearer <token>'
{ "secret": "whsec_abc123..." }
Regenerate the webhook secret for a sender. The old secret will be invalidated immediately.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
New webhook secret generated.
The new webhook secret.
"whsec_abc123..."