Receiving inbound (MO) messages is very simple with Panacea Mobile.
Messages will always go into your ‘Inbox’ in the console area regardless of your server settings. However, if you would like the messages sent directly to your server as we receive them, then this is very easy to configure.
Note: This is only applicable to HTTP, as if you are using SMPP the messages will be sent directly to your SMPP binds.
Step 1: Configure your URL (this can be HTTPS) where you want messages sent
Variables we send to you via HTTP GET
| Variable name | Meaning |
|---|---|
| to | The number the message was sent to (useful if you have multiple numbers) |
| from | The number the message was sent from |
| message | The message that was sent |
| charset | The character set of the message (default is UTF-8, but supports 8-BIT, UTF-16BE [unicode]) |
| code | If the number the message was sent to has a group code, it will be set here |
So for example, if someone sent a message to your number, 40000, and their number was +271113435662, their message was “Hello there!”, our server would make a request which looks like this to your server:
It’s that simple!