webhooks
Retrieve a webhook delivery
Changed onRetrieve one delivery: its status and error, the event body and headers it carried, and a targets entry per subscriber with the run or session it started or why its filter skipped the event. When the delivery resumed waiting runs, one more entry summarizes them.
get/api/v1/webhooks/deliveries/{deliveryId}
Request
- Base URLhttps://api.trigger.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Successful request
Example response
{
"id": "whd_1234",
"endpoint": {
"id": "wh_cm1a2b3c4d5e6f",
"declaredId": "stripe"
},
"externalDeliveryId": "evt_1PqR2s3T4u5V6w",
"targets": [
{
"id": "process-checkout",
"runId": "run_cm1a2b3c4d5e6f"
}
]
}Changes
- info
endpoint added
- info