v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBWebhooks
Create Webhook
Create a new webhook for the user's organization.
post/v1/organizations/webhooks
Request body
Example request
{
"channels": [
{
"channel": "slack",
"configs": {
"bot_token": "xoxb-...",
"channel_id": "C0123456789",
"workspace_id": "T0123456789"
}
}
],
"created_at": "2025-01-01T00:00:00Z",
"description": "Slack notifications for object lifecycle",
"event_types": [
"object.created",
"object.updated",
"object.deleted"
],
"is_active": true,
"updated_at": "2025-01-01T00:00:00Z",
"webhook_id": "wh_abc123def4",
"webhook_name": "Engineering Slack Alerts"
}Response
Successful Response
Example response
{
"channels": [
{
"channel": "slack",
"configs": {
"bot_token": "xoxb-...",
"channel_id": "C0123456789",
"workspace_id": "T0123456789"
}
}
],
"created_at": "2025-01-01T00:00:00Z",
"description": "Slack notifications for object lifecycle",
"event_types": [
"object.created",
"object.updated",
"object.deleted"
],
"is_active": true,
"updated_at": "2025-01-01T00:00:00Z",
"webhook_id": "wh_abc123def4",
"webhook_name": "Engineering Slack Alerts"
}