SMS (Async)
When an SMS (text message) is received, the following object is sent to your site, encoded in JSON.
Table of Contents
Request Object
Name | Type | Comment |
---|---|---|
destinationPhoneNumber | string | Addressee’s phone number. |
direction | string | Message direction (in/out). |
message | string | Message body. |
numberId | number | Record identifier. |
projectId | number | Project identifier. |
sourcePhoneNumber | string | Sender phone number. |
timestamp | string | Timestamp of the request. |
Sample Request Body
{
"destinationPhoneNumber":"12025550187",
"direction":"in",
"message":"Your package (#OR15540) has been shipped. Expected delivery: Tuesday, 20 Jan by 9:00 AM.",
"numberId":100,
"projectId":11,
"sourcePhoneNumber":"12025550134",
"timestamp":"2020-07-28T13:11:46+02:00"
}
Comments
Can’t find what you need? Use the comment section below to connect with others, get answers from our experts, or share your ideas with us.
There are no comments yet.