For the complete documentation index, see llms.txt. This page is also available as Markdown.

Webhooks

Manage the statuses and replies of your SMS campaigns

Reply on a short number

After sending a campaign from our short number, SMS Partner lets you receive replies. For more information, contact us.

Please note

To receive replies, you must set your reply reception URL

in your SMS API tab

Example of JSON response sent via POST

{
"type":"response",
"phone_number":"+336....",
"text":"test",
"message_id":1111111
}

For a STOP SMS the webhook response will be

{
"type":"stop",
"phone_number":"+336...",
"text":"Stop",
"message_id":111111
}

Reply on a long number (virtual number)

SMS Partner offers the rental of a long number (example: 06 XX XX XX XX) To learn more about creating a dedicated long number, contact us.

Example of a simple response (160 characters maximum)

Example of a response for a long SMS (+160 characters)

DLR - retrieving SMS statuses

The SMS delivery status can be sent via the webhook using POST

The possible statuses are

  • delivered: The SMS was delivered

  • not delivered: The SMS was not delivered

  • waiting: The SMS is pending at the operator

Last updated