Webhooks

Retrieve a delivery

GET
/v1/webhook-endpoints/{id}/deliveries/{delivery_id}

A delivery with the event it carried and each attempt, from first to last. It only reads: to send it again use POST .../resend.

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
delivery_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/deliveries/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "object": "webhook_delivery",  "endpoint_id": "e9ce0d4f-d433-423d-9497-4c000544106c",  "event": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "type": "string",    "data": {      "property1": null,      "property2": null    },    "created_at": "2019-08-24T14:15:22Z"  },  "status": "pending",  "attempts": [    {      "at": "2019-08-24T14:15:22Z",      "status_code": 0,      "error": "string",      "duration_ms": 0    }  ],  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}