webhooks
Disable a webhook endpoint
Changed onPause an endpoint. Its status becomes inactive and its URL responds with 404 until you enable it, so providers see failed deliveries and retry on their own schedule. Returns the updated endpoint.
post/api/v1/webhooks/endpoints/{endpointId}/disable
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