Skip to main content

PUT /webhooks/endpoints/

Toggle a webhook endpoint on or off.

Authentication

JWT (Dashboard)

Path Parameters

ParameterTypeDescription
idstring (UUID)Webhook endpoint ID

Request Body

FieldTypeRequiredDescription
activebooleanYesWhether the endpoint is active

Response

{
  "success": true,
  "data": {
    "endpoint": {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "url": "https://yourapp.com/webhooks",
      "events": ["email.delivered", "email.bounced"],
      "active": false
    }
  }
}