Webhooks

List webhook endpoints

GET
/v1/webhook-endpoints

Your key's business's endpoints in its environment, each with how many deliveries it had in the last 24 hours and how many failed. It never includes the signing secret: it is only shown when you create or rotate it.

Authorization

AuthorizationBearer <token>

Your API key, which acts for the one business it was created for: fb_sandbox_… issues in sandbox, fb_test_… in test, the tax authority's testing service, and fb_live_… in live.

In: header

Query Parameters

limit?integer

How many per page, from 1 to 100.

Range1 <= value <= 100
Default20
cursor?string

The next_cursor or prev_cursor of a previous response. Without a cursor, the first page.

Lengthlength <= 200

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/webhook-endpoints"
{  "object": "list",  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "object": "webhook_endpoint",      "environment": "sandbox",      "url": "http://example.com",      "events": [        "*"      ],      "disabled": true,      "secret_hint": "string",      "previous_secret_expires_at": "2019-08-24T14:15:22Z",      "deliveries_24h": 0,      "failed_24h": 0,      "failing_since": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z"    }  ],  "next_cursor": "string",  "prev_cursor": "string"}