Webhook Variables Dictionary

delivery_receipt

VariableType / meaning
idstring — Receipt ID
epochnumber — Unix timestamp
account_idstring — Account ID
destinationstring — Destination phone number
message_log_idstring — Message log ID
request_idstring — Request ID
sourcestring — Source number
statusstring — Status
status_mappedstring — 200=delivered, 110=undeliverable, 120=expired, 500=rejected
dmlstring — "INSERT"

incoming_messages

VariableType / meaning
idstring — Incoming message ID
fromstring — Sender phone number
account_idstring — Account ID
bodystring — Incoming message body
epochnumber — Unix timestamp
message_log_idstring — Message log ID
request_idstring — Request ID
tostring — Destination phone number

message_log

VariableType / meaning
idstring — Message log ID
account_idstring — Account ID
bodystring — Message body
dbastring — Doing business as name
epochnumber — Unix timestamp
external_idstring — External tracking ID
journeystring — Journey identifier
phone_numberstring — Destination phone number
request_idstring — Request ID
sending_numberstring — Sending phone number
template_idstring — Template ID
urlstring — Tracking URL associated with the message
categorystring — Message category (e.g. sms, mms)
image_urlstring — URL of an image associated with an MMS
testingboolean — Whether the message was sent in testing mode
segmentsnumber — SMS segment count
dmlstring — "INSERT"

rejected_message

VariableType / meaning
idstring — Rejected message ID
account_idstring — Account ID
epochnumber — Unix timestamp
phone_numberstring — Phone number
requeststring — JSON string with template_id, phone_number, url, request_id, testing
rejection_codedecimal — Rejection code
rejection_reasonstring — Human-readable rejection reason
request_idstring — Request ID (if available)
dmlstring — "INSERT"

event_log

VariableType / meaning
idstring — Event log ID
epochnumber — Unix timestamp
eventstring — "click", "preview", "pin_success", "pin_failure", "view_passkey", "view_reset_pin", "passkey_success"
ip_addressstring — IP address
message_log_idstring — Message log ID
account_idstring — Account ID
request_idstring — Request ID (if available)
originstring — Origin URL
refererstring — Referer URL
sec-ch-uastring — Browser client hints
sec-ch-ua-platformstring — Platform info
user-agentstring — User agent
sec-ch-ua-mobilestring — Mobile indicator
accept-languagestring — Accept language
journeystring — Journey identifier
dmlstring — "INSERT"

opt_out

VariableType / meaning
phone_numberstring — Phone number that opted out
system_numberstring — System number
epochnumber — Unix timestamp
account_idstring — Account ID
incoming_log_idstring — Incoming log ID
message_log_idstring — Message log ID (if available)
request_idstring — Request ID (if available)
dmlstring — "INSERT" for new opt-outs, "REMOVE" for removed opt-outs

template

VariableType / meaning
idstring — Template identifier (UUID)
id_intnumber — Integer representation of id in base 36
bodystring — Message body with placeholders (e.g. {{name}})
titlestring — Template name/title
tagsarray — Template tags for filtering
account_idstring — Account identifier
categorystring — Template category
statusstring — Template status
image_urlstring — URL of an image associated with the template
urlstring — URL associated with the template
external_typestring — Third-party service type (e.g. optimove)
external_idstring — External identifier in the third-party system
dmlstring — "INSERT" / "MODIFY" / "REMOVE"

Did this page help you?