webhook_endpoints
Rotate the signing secret (24h dual-secret overlap)
Returns the NEW secret exactly once. The previous secret keeps signing deliveries for 24h so receivers can migrate without dropped verifications — the signature header carries one signature per active secret.
post/v1/webhook_endpoints/{id}/rotate_secret
Request
- Base URL: https://api.primateintelligence.ai
- URL: https://api.primateintelligence.ai/v1/webhook_endpoints/{id}/rotate_secret
- Auth: HTTP bearer
Path parameters
idstring required
Webhook endpoint id (we_…).
Response
Endpoint with the new one-time secret.
Example response
{
"id": "we_01KX12XX3BNM688AWHX7406HCF",
"last_success_at": "2026-07-08T14:00:00Z",
"created_at": "2026-07-08T14:00:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.