Webhooks

List webhook endpoints

The workspace’s webhook endpoints, a page at a time.

Authorization

bearer webhooks:write
AuthorizationBearer <token>

A v1 API key; the scope named is the one the route needs.

In: header

Scope: webhooks:write

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
cursor?string
Match^[A-Za-z0-9_-]{1,512}$

Response Body

application/json

application/problem+json

GET
/v1/webhook-endpoints
curl -X GET "https://example.com/v1/webhook-endpoints"
{  "data": [    {      "id": "string",      "liveMode": true,      "url": "http://example.com",      "apiVersion": "string",      "status": "active",      "subscribedTypes": [        "order.paid"      ],      "description": "string",      "consecutiveFailures": 0,      "lastSuccessAt": "2019-08-24T14:15:22Z",      "lastFailureAt": "2019-08-24T14:15:22Z",      "disabledReason": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ],  "nextCursor": "string"}