Get the API key
Home
Getting Started
Knowledge Base
Changelog
API Setup
SMS Messaging API
- Overview
- Quickstart
- Specification
- Sending SMS
- Receiving SMS
- Delivery Report
- SMPP setup
- HTTP API Reference
Omnichannel API
- Overview
- Quickstart
- Theory
- Sender Name
- Specification
- Requests & Authentication
- Development Libraries
- SMS Message
- WhatsApp Message
- Viber Message
- Telegram Message
- Delivery Report
- Scheduled Messages
- HELP
- API Reference
2FA API
- 2FA API
- API Request Authentication
- Creating Service
- Syncing Users
- Deleting users
- Starting Authentication
- PIN Code Verification
Number Lookup
Phonebook API
Subscription API
Account Balance API
Pricing API
Statistics API EARLY ACCESS
Number Verification
Tools
FAQ
Sending more than 100 000 SMS messages a month?
Contact salesInbound Messages
Handling inbound SMS for two-way communication
The easiest way to use Omnichannel API is with our official libraries. Libraries will take care of authentication, request validation and response handling.
Inbound Message Callback
Messente makes a HTTP POST request with JSON content to configured Inbound Number Callback URL with following request parameters:
- msg_id
- sub_msg_id
- channel
- recipient
- time
- text
- sender
POST / HTTP/1.1
Content-Type: application/json
X-Messente-Signature: 9a398f4a9ce4f96077e70b65d208420640aabb158c224bd0f29391d673ba6b3d
{
"msg_id": "1f5197ec-b4d7-4d5f-8bba-e005d1cadba1",
"sub_msg_id": "d276e75e-e9f5-4b44-88aa-d5c7b38a1e4a",
"channel": "sms",
"recipient": "1234",
"time": "2021-02-23T14:51:13.000000Z",
"text": "This is a test message content",
"sender": "+44000000000"
}
Validating the request authenticy
Messente provides every request with signature calculated using HMAC. The signature is calculated using the Shared Secret, available in the Inbound Numbers section of the Developers view.
Calculated signature is provided in the HTTP headers called X-Messente-Signature
.
HMAC_SHA256("$shared_secret", "$http_request_body")
Search results
0 items found Get the API key
Home
Getting Started
Knowledge Base
Changelog
API Setup
SMS Messaging API
- Overview
- Quickstart
- Specification
- Sending SMS
- Receiving SMS
- Delivery Report
- SMPP setup
- HTTP API Reference
Omnichannel API
- Overview
- Quickstart
- Theory
- Sender Name
- Specification
- Requests & Authentication
- Development Libraries
- SMS Message
- WhatsApp Message
- Viber Message
- Telegram Message
- Delivery Report
- Scheduled Messages
- HELP
- API Reference
2FA API
- 2FA API
- API Request Authentication
- Creating Service
- Syncing Users
- Deleting users
- Starting Authentication
- PIN Code Verification