Skip to main content
POST
/
zapier
/
webhook
Create a new webhook
curl --request POST \
  --url https://api.cleartalk.ai/zapier/webhook \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "hookUrl": "<string>",
  "campaign": "<string>",
  "apiKey": "<string>"
}
'
{
  "id": 123,
  "message": "<string>"
}

Authorizations

x-api-key
string
header
required

API Key for authentication

Body

application/json
hookUrl
string
required
campaign
string
required

Campaign ID (can be either AutoCampaign ID or Campaign ID)

apiKey
string
required

Response

Webhook created successfully

id
number
required
message
string
required