GET /v1/webhook_endpoints
List webhook endpoints
secret key only
curl https://api.marketsdk.com/v1/webhook_endpoints \
-H "Authorization: Bearer $MARKETSDK_KEY"200 example response, webhook endpoint list
{
"object": "list",
"data": [
{
"object": "webhook_endpoint",
"id": "whe_034XtPDs7UJ0TXzTsdaHZa",
"url": "string",
"description": null,
"enabled_events": [
"string"
],
"status": "enabled",
"disabled_reason": null,
"failing_since": null,
"last_success_at": null,
"secret": "string",
"metadata": {},
"created_at": "2026-10-01T12:00:00.000Z"
}
],
"has_more": false,
"next_cursor": null
}parameters
| field | type | about |
|---|---|---|
| limit | integer, in query | min 1, max 100, default 20 |
| starting_after | string, in query | The next_cursor of the previous page. |
returns 200, webhook endpoint list
fields
| field | type | about |
|---|---|---|
| objectrequired | one of: list | |
| datarequired | array of webhook endpoint | |
| data[].objectrequired | one of: webhook_endpoint | |
| data[].idrequired | string | |
| data[].urlrequired | string | |
| data[].descriptionrequired | string or null | |
| data[].enabled_eventsrequired | array of string | |
| data[].statusrequired | one of: enabled, disabled | |
| data[].disabled_reasonrequired | string or null | Why it was turned off, when MarketSDK turned it off. |
| data[].failing_sincerequired | timestamp or null | Every delivery has failed since this time. |
| data[].last_success_atrequired | timestamp or null | |
| data[].secret | string | The signing secret. Returned only when the endpoint is created or its secret rotated. |
| data[].metadatarequired | object of strings | |
| data[].created_atrequired | timestamp | |
| has_morerequired | boolean | Whether another page follows. |
| next_cursorrequired | string or null | Pass as starting_after (or cursor for search) to get the next page. |
errors
- 400The request is not valid.
- 401No API key, or not a valid one.
- 429Rate limited. See
Retry-After.