Webhooks

Retrieve a webhook endpoint

GET
/v1/webhook-endpoints/{id}

The endpoint 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

Path Parameters

id*string
Formatuuid

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/webhook-endpoints/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "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"}