List webhook endpoints
GET/api/v1/api/v1/webhooks
curl -X GET 'https://www.unitpost.com/api/v1/api/v1/webhooks' \
-H 'Authorization: Bearer YOUR_API_KEY'{
"object": "list",
"has_more": false,
"data": [
{
"object": "webhook",
"id": "id_123",
"name": "Example",
"url": "https://example.com",
"events": [
"string"
],
"status": "enabled",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}
]
}Retrieve a list of your webhook endpoints, cursor-paginated, with each endpoint's URL, subscribed events, and status. Signing secrets are never returned here — they're shown exactly once by Create a webhook endpoint. Check an endpoint's wiring end-to-end with Send a test event. Requires the webhooks:read capability.
Parameters3 fields
| Field | Type | Description |
|---|---|---|
limit | integer · query | Max rows to return (default 20, max 100). |
after | string · query | Return rows after this id (forward paging). |
before | string · query | Return rows before this id (backward paging). |
Response · 200 fields8 fields
| Field | Type | Description |
|---|---|---|
objectrequired | string | — |
idrequired | string | — |
namerequired | string | — |
urlrequired | string | — |
eventsrequired | string[] | — |
statusrequired | enumenabled | disabled | suspended | — |
created_atrequired | string | — |
updated_atrequired | string | — |