Save incoming message
Save a message in the inbox. You can use it to save a message received on an external platform or create a mock message with information you may need during the conversation.
Method
POST
Path
/incoming
Body parameters
Response
HTTP status codes
Response object
Code sample
curl --location --request POST 'https://api.sociocs.com/incoming' \
--header 'apikey: your_api_key' \
--header 'Content-Type: application/json' \
--data-raw '{
"provider": "[provider]",
"channel_key": "[your channel key]",
"from": "[phone number]",
"name": "[sender name]",
"text": "[message]"
}'