Skip to main content
GET
/
orgs
/
{org_id}
/
webhooks
/
listen
Stream webhook events for an org over Server-Sent Events
curl --request GET \
  --url https://api.mnemom.ai/v1/orgs/{org_id}/webhooks/listen \
  --header 'Authorization: Bearer <token>'
"<string>"

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Headers

Last-Event-ID
string

Standard SSE reconnection header. Used as the cursor when the since query parameter is not supplied.

Path Parameters

org_id
string
required

Organization identifier (e.g. org-abc12345)

Query Parameters

since
string

Cursor (event id) to resume from. When omitted, the server falls back to the Last-Event-ID request header; when neither is supplied, the stream starts at the current tail.

Response

Server-Sent Events stream of webhook events. The connection is capped at 5 minutes; clients should reconnect and resume via Last-Event-ID or since.

Sequence of SSE frames. Each non-keepalive frame has an event: line naming the frame type (ready, webhook.event, close, error), an id: line carrying the event cursor (for webhook.event frames), and a data: line containing a JSON payload. Keepalive frames are SSE comments (:keepalive).