Download OpenAPI specification:Download
Subscribe to webhooks to get notified of specific events. Webhooks provide instant, real-time notifications, without requiring you to send API calls at regular time internals in order to detect changes in data.
Create a new webhook to listen for selected events. Created webhooks need to be verified and then enabled before they can be used
{- "uri": "string",
- "api_key": "string",
- "subscribed_events": [
- "User created",
- "User deleted"
], - "name": "string",
- "description": "string"
}
{- "result": {
- "uri": "string",
- "api_key": "string",
- "subscribed_events": [
- "User created",
- "User deleted"
], - "name": "string",
- "description": "string"
}
}
Get a list of all configured webhooks
{- "result": [
- {
- "webhook_id": "string",
- "uri": "string",
- "api_key": "string",
- "subscribed_events": [
- "User created",
- "User deleted"
], - "created_at": "2019-08-24T14:15:22Z",
- "verified": true,
- "enabled": true,
- "name": "string",
- "description": "string"
}
]
}
{- "result": {
- "webhook_id": "string",
- "uri": "string",
- "api_key": "string",
- "subscribed_events": [
- "User created",
- "User deleted"
], - "created_at": "2019-08-24T14:15:22Z",
- "verified": true,
- "enabled": true,
- "name": "string",
- "description": "string"
}
}
Update a webhook with a given ID
{- "api_key": "string",
- "subscribed_events": [
- "User created",
- "User deleted"
], - "name": "string",
- "description": "string"
}
{- "result": {
- "webhook_id": "string",
- "uri": "string",
- "api_key": "string",
- "subscribed_events": [
- "User created",
- "User deleted"
], - "created_at": "2019-08-24T14:15:22Z",
- "verified": true,
- "enabled": true,
- "name": "string",
- "description": "string"
}
}
Enables or disables a webhook for the given ID
{- "enabled": true
}
{- "message": "Bad request",
- "error_code": 400
}
Triggers a flow that verifies you own the webhook resource. When triggered, a GET request with an X-Verification-Key header is sent to the webhook URL, and your resource must respond with a key field that contains the X-Verification-Key header value.
{- "result": {
- "verified": true
}
}