webhooks:write. Issues a new secret and returns it once. For 24 hours deliveries carry signatures for both the new and the previous secret. Since 1.46.curl --location --request POST '/webhooks//rotate-secret'{
"data": {
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"url": "http://example.com",
"events": [
"message.received"
],
"active": true,
"secret_hint": "whsec_••••9f3a",
"previous_secret_expires_at": "2019-08-24T14:15:22.123Z",
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z",
"secret": "string"
}
}