Skip to main content
POST
/
callback
/
standardCampaign
Trigger a standard campaign call
curl --request POST \
  --url https://api.cleartalk.ai/callback/standardCampaign \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "contact_id": "I288bgrq0LlKLbW9tBng",
  "campaign_id": "fc464efb-0725-4d7e-a7f3-3f7d30ec403a",
  "first_name": "<string>",
  "last_name": "<string>",
  "full_name": "<string>",
  "email": "<string>",
  "phone": "<string>",
  "tags": "<string>",
  "country": "<string>",
  "date_created": "<string>",
  "company_name": "<string>",
  "full_address": "<string>",
  "contact_type": "<string>",
  "location": {},
  "workflow": {},
  "triggerData": {},
  "customData": {}
}
'

Authorizations

x-api-key
string
header
required

API Key for authentication

Body

application/json
contact_id
string
required

GHL contact ID to call

Example:

"I288bgrq0LlKLbW9tBng"

campaign_id
string

Standard campaign ID (top-level for Format 1, or in customData for Format 2)

Example:

"fc464efb-0725-4d7e-a7f3-3f7d30ec403a"

first_name
string
last_name
string
full_name
string
email
string
phone
string
tags
string
country
string
date_created
string
company_name
string
full_address
string
contact_type
string
location
object
workflow
object
triggerData
object
customData
object

Custom data object containing campaign_id and other fields (Format 2)

Response

200

Standard Campaign call triggered successfully