Replace the signing secret; the new one is returned once
For grace_hours (default 24, 0–168) every delivery is signed with both the new and the previous secret (two v1 values in Messora-Signature), so the receiver can switch over without dropping events. With grace_hours: 0 the old secret stops working at once, including for retries of earlier events.
Scope: webhooks.manage. Rate limit: 300 requests per minute per API key.
apiKey webhooks.manageAuthorizationBearer <msk_live_…>An API key created under API keys in the panel: Authorization: Bearer msk_live_…. The key's scopes decide which operations it may call.
Scope: webhooks.manage
endpointId*stringuuidapplication/json- body
grace_hours?integerHow long deliveries are also signed with the previous secret.
0 <= value <= 16824Endpoint and its new secret
application/json- response
data*meta*curl -X POST 'https://app.messora.tech/api/v1/webhook-endpoints/497f6eca-6276-4993-bfeb-53cbbbba6f08/rotate-secret' \ -H 'Content-Type: application/json' \ -d '{ "grace_hours": 24}'{ "data": { "endpoint": { "active": true, "created_at": "2026-11-01T10:00:00Z", "description": "CRM sync", "disabled_at": null, "disabled_reason": null, "event_types": [ "message.received", "conversation.closed" ], "failing_since": null, "failure_streak": 0, "id": "019a8c2e-4f1b-7a17-9c3d-5e7a10000017", "last_failure_at": null, "last_success_at": null, "previous_secret_expires_at": null, "secret_last4": "7b9a", "updated_at": "2026-11-01T10:00:00Z", "url": "https://crm.example.com/hooks/messora" }, "secret": "whsec_example-signing-secret" }, "meta": { "request_id": "019a8c2e-4f1b-7fff-9c3d-5e7a1000ffff" }}Delivery log of an endpoint, newest first GET
Deliveries to the endpoint, newest first, with attempts, the last HTTP status, duration, error and the start of the receiver's answer. Filter with status; paged with cursor. Scope: webhooks.manage. Rate limit: 300 requests per minute per API key.
Queue a `webhook.test` event for this endpoint only POST
Also works for an inactive endpoint, so a receiver can be checked before it is switched back on. Scope: webhooks.manage. Rate limit: 300 requests per minute per API key.