Update webhook status
Webhook Management
Update webhook status
Enable or disable a webhook subscription without deleting it.
Status Values
active: Webhook will receive eventsinactive: Webhook will not receive events (but remains configured)
Use Cases
- Maintenance: Temporarily pause webhooks during system maintenance
- Testing: Disable production webhooks while testing
- Troubleshooting: Pause problematic webhooks without losing configuration
- Migration: Deactivate old endpoints before switching to new ones
Example Request
# Disable a webhook
curl -X POST https://app.titanx.io/api/public/v2/webhooks/550e8400-e29b-41d4-a716-446655440000/inactive \
-H "Authorization: Bearer YOUR_API_KEY"
# Re-enable a webhook
curl -X POST https://app.titanx.io/api/public/v2/webhooks/550e8400-e29b-41d4-a716-446655440000/active \
-H "Authorization: Bearer YOUR_API_KEY"
Best Practices
- Prefer status updates over deletion when temporarily disabling webhooks
- Monitor webhook status in your application’s health checks
- Log status changes for audit purposes
POST
Update webhook status
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Webhook ID
Example:
"550e8400-e29b-41d4-a716-446655440000"
New status for the webhook
Available options:
active, inactive Example:
"inactive"
Response
Webhook status updated successfully