Received messages#
The Omnichannel service forwards received messages to the URL defined in Konto → Profil → Priradené čísla → Callback URL pre prijaté správy.
With API v2, messages are forwarded to the URL defined in the callbackUrls parameter.
If this URL is not reachable, the following 6 retry attempts will be made for each message:
- 5 minutes after the last attempt
- 15 minutes after the last attempt
- 30 minutes after the last attempt
- 60 minutes after the last attempt
- 720 minutes after the last attempt
- 1440 minutes after the last attempt (final attempt)
After that, the undelivered message will be discarded. The message text is encoded in UTF-8.
| Parameter | Type | Description |
|---|---|---|
| addressFrom | string | Sender's phone number. |
| addressTo | string | Recipient's phone number. |
| timestamp | string | Date and time the SMS was received. |
| text | string | SMS message text. |
| channel | string | Channel through which the message was sent |