Webhooks and events
POST/v1/webhook-endpoints/{ep_id}/rotate-secret
Rotate webhook signing secret
curl -X POST "https://api.52-28-238-205.sslip.io/v1/webhook-endpoints/{ep_id}/rotate-secret" \ -H "Cookie: <console session cookie>"Replaces the endpoint's signing secret at once; the old secret stops signing new deliveries. Requires developer:manage. The new secret is shown once.
Server URL
https://api.52-28-238-205.sslip.ioPOST/v1/webhook-endpoints/{ep_id}/rotate-secretBase URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Path
ep_idstringrequiredWebhook endpoint id (we_...).
Requires permissiondeveloper:manage
Held by
owner, admin, developer, merchant_owner, merchant_developer, operator. The caller must hold this permission, or the call is refused with 403.cookie
uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
ep_id*Ep IdWebhook endpoint id (we_...).
Success.
application/json- response
secret*SecretSecret shown once. Store it; Abazi keeps only a hash.
endpoint*[key: string]?anyPOSTSend test event
Emits a test.event to this endpoint and returns its event id; the delivery appears in the event log. Requires developer:manage; a disabled endpoint is refused.
GETList events
Lists events visible to the caller, newest first, each with the aggregate status of its deliveries, plus counts per delivery status. Requires developer:manage.