ConsistlyAPI
Webhook endpoints

Retrieve a webhook endpoint

GET
/webhook_endpoints/{id}
AuthorizationBearer <token>

Bearer API key in the form sk_live_…, sk_test_…, or pk_live_…. Keys are issued from the Consistly dashboard and carry product-prefixed scopes.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

curl -X GET "https://example.com/webhook_endpoints/whk_abc..."
{  "id": "string",  "object": "webhook_endpoint",  "url": "http://example.com",  "description": "string",  "enabled_events": [    "string"  ],  "status": "enabled",  "signing_secret_last_four": "string",  "livemode": true,  "metadata": {    "property1": "string",    "property2": "string"  },  "organization": "string",  "created_by": "string",  "created": "2019-08-24T14:15:22Z",  "updated": "2019-08-24T14:15:22Z"}
{  "error": {}}