/
How to import Messages from another platform using Ringotel API
How to import Messages from another platform using Ringotel API
Here is an example call sequence to import messages:
For each chat/dialog, you need to obtain a
sessionid
parameter first. For this, send a message without content to the user’s extension and get asessionid
in response. For example:
POST https://shell.ringotel.co/api
{
"method": "message",
"params":{
"orgid": "16287540703457500320",
"from": "1234567890,
"to": "502"
}
Response:
“result”: {
"sessionid": "1710004869211-d3103a34bd2ce6023a"
}
Create messages by sending the
message
API method with the"sessionid"
,"content"
and"timestamp"
parameters.Repeat 1 and 2 for each party number.
Repeat 1, 2 and 3 for each user.
Messages with provided "sessionid"
value are marked as read after importing.
timestamp
field takes a number value in milliseconds since 01.01.1970
, multiple selections available,
Related content
Ringotel API
Ringotel API
More like this
Enabling SMS and MMS in Ringotel
Enabling SMS and MMS in Ringotel
More like this
Sync outbound (and inbound) messages and files between the chats using the Messaging API
Sync outbound (and inbound) messages and files between the chats using the Messaging API
More like this
No-code Framework for integration with Messaging platforms
No-code Framework for integration with Messaging platforms
More like this
Webhook
Webhook
More like this
Apidaze
Apidaze
More like this