Skip to content

Rotate an endpoint's signing secret

POST
/api/v1/webhooks/{id}/rotate-secret
curl --request POST \
--url https://trongas.ai/api/v1/webhooks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/rotate-secret \
--header 'X-Api-Key: <X-Api-Key>'

Required API-key scope: full

Issue a new signing secret and invalidate the old one. Returns the new secret — shown once.

Deliveries signed with the old secret stop verifying immediately, so update your receiver promptly.

id
required
string format: uuid

OK

object
secret
required
string