Webhook endpoints
Update webhook endpoint
Update a webhook endpoint's URL, event list, description or status.
POST/v1/webhook_endpoints/{endpoint_id}
Parameters
| Parameter | Description |
|---|---|
| endpoint_idstring · pathrequired | No description in the spec. |
| descriptionstring | nulloptional | At most 255 characters. |
| enabled_eventsarray of string | nulloptional | No description in the spec. |
| statusenum | nulloptional | One of enabled, disabled. |
| urlstring (uri) | nulloptional | Must be an absolute URL. At most 2083 characters. |
Returns
Returns a WebhookEndpointResponse object.
Errors
| Status | Cause |
|---|---|
| 401 | Missing or invalid API key. |
| 403 | Key is missing the webhook_endpoints:write scope. |
| 404 | No such object, or it belongs to the other mode. |
| 422 | Validation Error |
| 429 | Rate limited. Back off and retry. |
Other webhook endpoints operations
- List webhook endpoints GET /v1/webhook_endpoints
- Create a webhook endpoint POST /v1/webhook_endpoints
- Delete webhook endpoint DELETE /v1/webhook_endpoints/{endpoint_id}
- Get webhook endpoint GET /v1/webhook_endpoints/{endpoint_id}
- List webhook endpoint deliveries GET /v1/webhook_endpoints/{endpoint_id}/deliveries
- Get webhook delivery GET /v1/webhook_endpoints/{endpoint_id}/deliveries/{delivery_id}
- Redeliver webhook delivery POST /v1/webhook_endpoints/{endpoint_id}/deliveries/{delivery_id}/redeliver
- Rotate webhook endpoint secret POST /v1/webhook_endpoints/{endpoint_id}/rotate_secret
- List event types GET /v1/webhook_endpoints/event_types
BillKit