Webhooks
List pending events for a CLI webhook endpoint
Changed onEvents recorded for a cli delivery-mode endpoint that have not been acknowledged yet, oldest first. Each item carries the exact request body and headers an HTTP delivery would send. Forward them to your local server, then acknowledge each event with the status it returned. Only valid for endpoints created with delivery_mode: cli.
get/v1/webhooks/{id}/events/pending
Request
- Base URLhttps://api.creem.io
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The webhook ID
Query parameters
limitinteger
Maximum number of pending events to return.
Response
Successfully retrieved the pending events
Example response
{
"items": [
{
"id": "evt_5Xb2mQ7vN1pLk9RtYw3zA",
"object": "webhook_event",
"created_at": "2026-09-17T08:00:00.000Z",
"body": "{\"id\":\"evt_5Xb2mQ7vN1pLk9RtYw3zA\",\"eventType\":\"checkout.completed\",\"created_at\":1758096000000,\"object\":{\"id\":\"ch_...\"}}",
"headers": {
"creem-signature": "a1b2c3…",
"Content-Type": "application/json"
}
}
]
}Changes
- info
endpoint added
- info