POST
/
v1
/
webhooks
/
conversion-pixel
cURL
curl --request POST \
  --url https://api.comm.com/api/v1/webhooks/conversion-pixel \
  --header 'Content-Type: application/json' \
  --data '{
  "object_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "phone_number": "<string>",
  "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "object_type": "sms_campaign",
  "event_type": "click",
  "ip": "<string>",
  "user_agent": "<string>",
  "country_code": "<string>",
  "event_profit": 123
}'
{
  "data": {
    "conversion_pixel_id": "<string>",
    "is_new": true,
    "object_type": "sms_campaign"
  }
}

Body

application/json
object_type
enum<string>
required
Available options:
sms_campaign,
sms_api,
voice_call
event_type
enum<string>
required
Available options:
click,
lead,
sale
object_id
string<uuid>
phone_number
string
team_id
string<uuid>
ip
string
user_agent
string | null
country_code
string | null
Required string length: 2
event_profit
number | null

Response

ConversionPixelResponseData

data
object
required