webhooks
Enable a webhook endpoint
Changed onResume a disabled endpoint so its URL accepts deliveries again. Returns the updated endpoint.
post/api/v1/webhooks/endpoints/{endpointId}/enable
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": "wh_cm1a2b3c4d5e6f",
"declaredId": "stripe",
"source": "stripe",
"url": "https://api.trigger.dev/webhooks/v1/ingest/q3Xb7k2LmP9sT4vW1yZ0aQ",
"subscribers": [
{
"id": "process-checkout",
"taskId": "process-checkout",
"filter": "event.type == 'checkout.session.completed'"
}
]
}Changes
- info
endpoint added
- info