Skip to main content
POST
/
orgs
/
{org_id}
/
webhooks
/
events
/
{event_id}
/
replay
Replay a webhook event to its eligible endpoints
curl --request POST \
  --url https://api.mnemom.ai/v1/orgs/{org_id}/webhooks/events/{event_id}/replay \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: <idempotency-key>' \
  --data '
{
  "endpoint_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "event_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "event_type": "<string>",
  "deliveries": [
    "<unknown>"
  ],
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Headers

Idempotency-Key
string
required

Client-supplied key that makes replay idempotent. Re-sending the same key with the same body returns the original result; re-sending with a different body returns 422; a conflicting in-flight key returns 409.

Required string length: 1 - 255

Path Parameters

org_id
string
required

Organization identifier (e.g. org-abc12345)

event_id
string<uuid>
required

Identifier of the webhook event to replay. Must belong to the path org_id; cross-tenant lookups return 404.

Body

application/json
endpoint_ids
string<uuid>[]

Optional explicit subset of endpoint ids to replay to. Endpoints not subscribed to the event's type are silently skipped. When omitted, all eligible endpoints are targeted.

Maximum array length: 100

Response

No eligible endpoints — nothing was enqueued. Returned when the event has no subscribers (or the supplied endpoint_ids subset matches none).

event_id
string<uuid>
required
event_type
string
required
deliveries
any[]
required
message
string
required