Create webhook
Create a webhook subscription. The signing secret is never returned.
Authorizations
Body
A human-readable name for the webhook
The URL that will receive event notifications (POST)
"https://example.com/hooks/botdog"
The event types to subscribe to
CAMPAIGN_STARTED, CAMPAIGN_COMPLETED, LEAD_PROFILE_VISITED, LEAD_INVITATION_SENT, LEAD_INVITATION_ACCEPTED, LEAD_MESSAGE_SENT, LEAD_MESSAGE_REPLIED, LEAD_INVITATION_WITHDRAWN, LEAD_SKIPPED, ACCOUNT_DISCONNECTED, DAILY_LIMIT_REACHED Restrict delivery to specific campaign IDs (default: all)
Response
The unique identifier of the webhook
A human-readable name for the webhook
The URL that receives event notifications
"https://example.com/hooks/botdog"
The webhook status
"ACTIVE"
Delivery scope: ALL campaigns or SPECIFIC_CAMPAIGNS
"ALL"
The webhook type
"GENERIC"
Whether the webhook is shared across the team
false
Event types this webhook is subscribed to
Campaign IDs this webhook is scoped to (empty when scope is ALL)
When the webhook was created
When the webhook was last updated