Shortcode Inbox SMS Webhook
We use HTTP callback (webhook) to forward incoming inbox messages directly to your application.
Click business account from the navigation menu
Click an account assigned to short code of interest.
Click on the short codes tab.
Click on the edit button.
Provide your forwarding url and submit.
Example JSON payload
{
"id": 121,
"api_date": "2021-04-10 15:04:00",
"insert_date": "2021-04-10 15:05:00",
"message": "Greetings, I’m happy to be here!",
"sender": "+254700000002",
"short_code": "110011",
"retries": 0
}
id | Unique id for the inbox message. |
api_date | Start time for inbox message processing. |
insert_date | End time of inbox message processing. |
message | Received message. |
sender | Sender phone number. |
short_code | Shortcode that received the message. |
retries | Number of retries at forwarding the inbox message. |