Get a webhook endpoint

One endpoint of the organization. The secret is not included.

GET
/v1/webhooks/{endpointId}

One endpoint of the organization. The secret is not included.

Authorization

AuthorizationBearer <token>

The organization API key, sent as Authorization: Bearer <key>.

In: header

Path Parameters

endpointId*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/webhooks/string"
{  "createdAt": "2019-08-24T14:15:22Z",  "eventTypes": [    "sale.won"  ],  "id": "string",  "previousSecretExpiresAt": "2019-08-24T14:15:22Z",  "status": "enabled",  "updatedAt": "2019-08-24T14:15:22Z",  "url": "string"}