Home / Clearly IP Trunking / Features / SMS Webook - Standard

SMS Webook - Standard



Webhook Workflow / Payload

When you've configured a webhook URL on an SMS-enabled number (see our guide) you'll have configured a URL which will point to your webhook-enabled application.
  • HTTP Method: POST
  • Payload: JSON
    • uuid: Unique identifier. <string>
    • type: Type of message. <string: "SMS" || "MMS">
    • from: From SMS e164 number. <string>
    • to: Target SMS e164 number. <string>
    • content: The test message. <string>
    • media: Array
      • <base64 encoded image(s)>

Workflow:

  • Incoming message received from sender.
  • Webhook configured?
    • HTTP POST to URL
  • (other actions)

Example:


IMG_4933

This incoming SMS would produce a webhook payload something like this:

json






     RSS of this page