Introduction

The LiveVox Short Message Service (SMS) Application Programming Interface (API) provides methods that allow you to list SMS templates, send transactional SMS messages, and list client SMS codes.

See the LiveVox API Overview topic for a general description of how to interact with the API.

Prerequisites

  • To obtain a valid Session ID, you must have successfully logged into the LiveVox platform. See Generating a Session ID for more information.
  • To obtain an Access Token that is used in API requests, you must have an active subscription to the Configuration API. See Access Tokens for details.
  • All messages in this API may be subject to rate limits and other restrictions.

User Roles

Unless otherwise specified in this documentation, to access any data through the SMS API, you must be a Sysadmin, Superuser, Manager, or Agent. These roles are defined in the LiveVox Configuration Manager and correspond to users who can access LiveVox configuration data through the LiveVox user interfaces.

API Methods

The SMS API provides various functionality, such as listing SMS templates and codes for sending transactional SMSes. Also, you can list channels, channel counts, and transaction history. In addition, thread and message functionalities are available to agents.

List Templates

Description: Returns the list of SMS templates for sending transactional SMSes.

User Roles:  Agent, Sysadmin, Superuser, and Manager

Method: GET /sms/templates

Parameters:

None

Body:

None

Response Code: 200 OK

Body:

Key or AttributeTypeMandatory?Description

templates

ArrayYes

An array of templates.

AttributeTypeMandatory?Description
idStringYesID of an SMS template.

description

StringNoDescription of the template.

message

StringYesThe template text the template.

smsCode

StringYesSMS number used to send and receive SMS messages.
optInFlagBooleanYes

The indicator for an Opt-in template.

Reserved for future use, currently always return 'false'.

List Templates

#Request (JSON)
GET /sms/templates
Host: localhost.com
Content-Type: application/json
Accept: application/json
 
#Response (JSON)
200 OK
Content-Type: application/json
 
{
  "templates": [
    {
      "id": 75870,
      "message": "Hello reply yes for SMS Opt-In",
      "smsCode": "53063",
      "optInFlag": false
    },
    {
      "id": 75959,
      "description": "sms_blast",
      "message": "APItest",
      "smsCode": "53063",
      "optInFlag": false
    }
  ]
}
CODE

Send SMS

Description: Sends the transactional SMS message.

User Roles:  Agent, Sysadmin, Superuser, and Manager

Method: POST /sms/

Parameters:

None

Body:

KeyTypeAgent Mandatory?User Mandatory?Description
fromStringYesYesThe short/long code from which to send the SMS.
toStringYesYesPhone number to which to send the message.

body

ObjectYesYes

Content of the message.

KeyTypeMandatory?Description
messageStringNoContent of the message.

templateId

Integer (ID)NoSMS Template ID to use.

Only one of the two fields must be present. They cannot both be empty or both be present.

accountStringYesNoThe account with which the SMS message is associated.
serviceIdIntegerNot ApplicableYes

The service ID from which you can send the SMS.

Agents cannot include a service ID, the SMS is sent from the service they are logged into.

Response Code:  200 OK

Body:  

KeyTypeMandatory?Description
transactionIdIntegerYesThe transaction ID associated with the sent SMS.

Send SMS

#Request (JSON)
POST /sms/
Host: localhost.com
Content-Type: application/json
Accept: application/json
 
{
  "from": "53063",
  "to": "4154164061",
  "serviceId": "100915",
  "body": {
    "templateId": "74257"
  },
  "account": "13213"
}

#Response
200 OK
Content-Type: application/json

{
  "transactionId": 51644325690
}
CODE

List SMS Codes

Description: Returns a list of SMS codes for the service the agent/user is logged into. 

User Roles:  Agent, Sysadmin, Superuser, and Manager

Method: GET /sms/codes

Parameters:

None

Body:

None

Response Code: 200 OK

Body:

Key or AttributeTypeMandatory?Description
listSmsCodesArrayYes

An array of SMS codes.

AttributeTypeMandatory?Description
codeStringYesSMS code

description

StringYesDescription

List SMS Codes

#Request (JSON)
GET /sms/codes
Host: localhost.com
Content-Type: application/json
Accept: application/json

#Response (JSON)
200 OK
Content-Type: application/json
 
{
  "listSmsCodes": [
    {
      "code": "14159174458",
      "description": "Long_Code"
    }
  ]
}
CODE

Agent

The Agent APIs provides functionalities to agents, like listing channels, channel count, and various other functionalities related to messages & their threads. 

Some common terms used in the below sections:

 LabelAlliasDescription

Inbox

Group, Conversation TypeA top-level grouping of conversations that are either public or private.
ThreadConversation (Sometimes channel)The thread or grouping of sent and received messages between an agent and customer.
Interaction

Message

Individual message.

 In a number of cases, the interactionId is actually the threadId, or sometimes the transationId  for the SMS calls.

ChannelMessageType 

The message type category: SMS, Email, Chat, Voicemail, and Messaging (Whatsapp messages).

List Channel Counts

Description: Provides a detailed list of counts of the agents current SMS inbox.

User Roles:  Agent

Method: GET /sms/agent/interaction/counts/{agentId}

Parameters:

AttributeTypeMandatory?Description
agentIdStringYes

The agent ID.

Body:

None

Response Code: 200 OK

Body:

Key or AttributeTypeMandatory?Description

countOfEmailInteractionsSent

Number

NoThe total number of emails sent by the agent.

countOfSMSInteractionsSent

Number

No

The total number of SMSes sent by the agent.

countOfMessageInteractionsSent

Number

No

The total number of Whatsapp messages sent by the agent.

countOfUnreadEmailThreadsInPersonalInbox

Number

No

The total number of emails that are not read by the agent in the personal inbox.

countOfReadEmailThreadsInPersonalInbox

Number

No

The total number of emails that are read by the agent in the personal inbox.

countOfUnreadSMSThreadsInPersonalInbox

Number

No

The total number of SMSes that are not read by the agent in the personal inbox.

countOfUnreadMessageInteractionsinPersonalInbox

Number

No

The total number of Whatsapp messages that are not read by the agent in the personal inbox.

countOfReadSMSThreadsInPersonalInbox

Number

No

The total number of SMSes that are read by the agent in the personal inbox.

countOfReadMessageInteractionsinPersonalInbox

Number

No

The total number of messages that are read by the agent in the personal inbox.

countOfChatInteractionsAbandoned

Number

No

The total number of chat interactions that are abandoned.

countOfOBWebChatInteractionsSent

Number

No

The total number of outbound web chat interactions that are sent by the agent.

countOfIBWebChatInteractionReceived

Number

No

The total number of inbound web chat interactions that are received by the agent.

countOfActiveSMSThreadsInPersonalInbox

Number

No

The total number of SMS conversations that are active in the agent's personal inbox.

countOfActiveMessageThreadsinPersonalInbox

Number

No

The total number of Whatsapp conversations that are active in the agent's personal inbox.

countOfActiveWebChatThreadsInPersonalInbox

Number

No

The total number of web chat conversations that are active in the agent's personal inbox.

Get Channel Counts

#Request (JSON)
GET /sms/agent/interaction/counts/645836
Content-Type: application/json
Accept: application/json


#Response
200 OK
Content-Type: application/json

{
  "countOfEmailInteractionsSent": 3,
  "countOfSMSInteractionsSent": 0,
  "countOfMessageInteractionsSent": 0,
  "countOfUnreadEmailThreadsInPersonalInbox": 5,
  "countOfReadEmailThreadsInPersonalInbox": 11,
  "countOfUnreadSMSThreadsInPersonalInbox": 1,
  "countOfUnreadMessageInteractionsinPersonalInbox": 0,
  "countOfReadSMSThreadsInPersonalInbox": 2,
  "countOfReadMessageInteractionsinPersonalInbox": 0,
  "countOfChatInteractionsAbandoned": 0,
  "countOfOBWebChatInteractionsSent": 0,
  "countOfIBWebChatInteractionReceived": 0,
  "countOfActiveEmailThreadsInPersonalInbox": 1,
  "countOfActiveSMSThreadsInPersonalInbox": 0,
  "countOfActiveMessageThreadsinPersonalInbox": 0,
  "countOfActiveWebChatThreadsInPersonalInbox": 0
}
CODE

List Channel

Description: Look up a list of channels.

User Roles:  Agent

Method: GET /sms/agent/channel

Parameters:

None

Body:

None

Response Code: 200 OK

Body:

Key or AttributeTypeMandatory?Description

ArrayNo
Key or AttributeTypeMandatory?Description
channelIdStringYesService ID or agent ID. 
channelStringYesType of channel (SMS, Email, Chat, Voicemail, and Messaging).
channelNameStringNoThe Inbox Name. For example, Group - My Service Name, Personal SMS, Personal Messaging, Service 12345 VM.
unreadCountNumberNoUnread message count in the inbox.
totalCountNumberNoThe total message count in the inbox.
personalBooleanNoFlag marking that the inbox is for personal use.

Get Channel List

#Request (JSON)
GET /sms/agent/channel
Content-Type: application/json
Accept: application/json
  
  
#Response
200 OK
Content-Type: application/json

[
  {
    "channel": "Email",
    "channelId": "645836",
    "channelName": "Personal Email",
    "unreadCount": 0,
    "totalCount": 1,
    "personal": true
  },
  {
    "channel": "Voicemail",
    "channelId": "9900001014",
    "channelName": "Personal Voicemail 9900001014",
    "unreadCount": 0,
    "totalCount": 0,
    "personal": true
  },
  {
    "channel": "Voicemail",
    "channelId": "9900001147",
    "channelName": "Service 94981 VM",
    "unreadCount": 0,
    "totalCount": 0,
    "personal": false
  },
  {
    "channel": "Voicemail",
    "channelId": "9900001025",
    "channelName": "Service 94987 VM",
    "unreadCount": 0,
    "totalCount": 0,
    "personal": false
  },
  {
    "channel": "Voicemail",
    "channelId": "9900001185",
    "channelName": "Service 95047 VM",
    "unreadCount": 0,
    "totalCount": 0,
    "personal": false
  },
  {
    "channel": "Voicemail",
    "channelId": "9900001016",
    "channelName": "Service 95075 VM",
    "unreadCount": 0,
    "totalCount": 0,
    "personal": false
  }
]
CODE

Thread

Thread APIs allow you to list, assign, unassign, transfer, and resolve threads. In addition, you can list the available transfer agents.

List Threads

Description: Returns a list of threads within an inbox.

User Roles:  Agent

Method:  GET /agent/thread/details?channelId={}&personal={}&channel={}&pagination={}

Parameters:

AttributeTypeMandatory?Description

channelId

StringYes

If the personal flag is set to true, this is the agentId.  If it is false, this is the serviceId.

personalBooleanNo

Limit channels to those marked personal.

channelStringYes

Type of channel (SMS, Email, Chat, Voicemail, and Messaging).

paginationNumberNo

The pagination page number. 


Body:

None

Response Code: 200 OK

Body:

Key or AttributeTypeMandatory?Description

ArrayNo

 

Key or AttributeTypeMandatory?Description

channelType

ENUM

No

Type of channel (Accepted value: SMS, Email, Chat, Voicemail, and Messaging).

channelId

String

Yes

This can be the serviceId or agentId.

channelName

String

No

The Inbox Name. For example, Group - My Service Name, Personal SMS, Personal Messaging, Service 12345 VM.

threadId

String

No

Interaction ID.

account

String

No

Account number of the customer.

from

String

No

Email address or phone number of the last message in the thread.

to

String

No

Email address or phone number of the last message in the thread.

cc

[Array of Strings]

No

A list of carbon copy addresses of the last message in the thread.

objectId

UUID

No

The Interaction object ID.

details

String

No

Meta data of the message.

direction

Number

No

Interaction direction of the last message in the thread.

subject

String

No

Interaction subject of the last message in the thread.

attachmentIds

[Array of Numbers]

No

IDs of attachments of the last message in the thread.

date

Date

No

Date of an interaction.

status

ENUM

No

Indicates whether the interaction is read or unread.

read

Boolean

No

Read flag of the last message in the thread.

replied

Boolean

No

Indicates whether there was a response. 

contactInfo

 These are generally the information from the last message in the thread.

Key or Attribute

Type

Mandatory?

Description

 account

String

No

Account number of the customer that is used for calling or messaging.

originalAccountNumber

String

Yes

Alternative account number, which is different from the unique account identifier that is within your platform.

firstName

Number

No

First name of the customer.

lastName

Number

No

Last name of the customer.

guarantorFirstName

Boolean

No

First name of the guarantor of the customer.

guarantorLastName

String

No

Last name of the guarantor of the customer.

dob

Date

No

Date of birth of the customer.

isActive

Boolean

No

Indicates if the customer is available for calling or messaging.

emailAddress

String

No

Email address of the customer.

ssn

String

No

Social Security Number of the customer.

phoneDetails

Key or Attribute

Type

Mandatory?

Description

number

String

Yes

Phone number.

wireless

Boolean

No

Indicates whether the phone is wireless. 

dnc

Boolean

No

Indicates whether the phone is marked as Do not contact. 

position

Number

No

The position of the phone number on the Contact to which the SMS message was sent. 

address1

String

No

The primary address of the customer.

address2

String

No

Secondary address of the customer.

city

String

No

City of the primary address.

state

String

No

State of the primary address. State in two-digit format.

zipCode

String

No

ZIP code or postal code of the primary address.

country

String

No

Country of the primary address.

paymentBalance

Number

No

Payment balance of the customer.

amountToSpeak

String

No

The amount required from the customer.

accountDueDate

Date

No

Payment due date for the customer.

group

Boolean

No

Contact group assigned to the customer.

doNotDial

Boolean

No

Indicates whether the customer was added to the Do-Not-Contact (DNC) list permanently—that is, the customer cannot be contacted through any channel permanently.

doNotDialDaily

Boolean

No

Indicates whether the customer was added to the DNC list for the current day—that is, the customer cannot be contacted through any channel for the current day.

smsOptInStatus

Boolean

No

Indicates whether the SMS campaign was enabled for the customer.

smsInbound

Boolean

No

SMS inbound flag. If the SMS is received by agent, then this flag is true.

emailInbound

Boolean

No

Email inbound flag. If the email is received by the agent, then this flag is true.

campaignId

String

No

Campaign ID.

startTime

Date

No

Starting time of the interaction.

interactionTimestamp

Date

No

Interaction time stamp of the last message in the thread.

fileSize

Number

No

Size of attached file.

txnId

String

No

The transaction ID.   

fileLocation

String

No

File path of the campaign file.

interactionUuid

UUID

No

Interaction UUID (Universally Unique Identifier).

interactionAccount

String

No

Interaction account.

List Threads

#Request (JSON)
GET  /sms/agent/thread/details?channelId=94874&personal=true&channel=SMS&pagination=1 
Content-Type: application/json
Accept: application/json
  
  
#Response
200 OK
Content-Type: application/json  

[
  {
    "threadId": "56061444434",
    "read": true,
    "replied": true,
    "fileSize": 0,
    "channel": "SMS",
    "details": "",
    "to": "14154164061",
    "serviceId": 94874,
    "account": "1213",
    "direction": 0
  },
  {
    "threadId": "56047165976",
    "read": true,
    "replied": true,
    "fileSize": 0,
    "channel": "SMS",
    "details": "",
    "to": "14154164061",
    "serviceId": 94874,
    "account": "1213",
    "direction": 0
  },
  {
    "threadId": "56047127816",
    "read": true,
    "replied": true,
    "fileSize": 0,
    "channel": "SMS",
    "details": "",
    "to": "14154164061",
    "serviceId": 94874,
    "account": "1213",
    "direction": 0
  }
]
CODE

Assign Thread

Description: Moves the thread from the personal inbox to the group inbox.

User Roles:  Agent

Method:  PUT /sms/agent/thread/switchGroup/public?threadId={}

Parameters:

AttributeTypeMandatory?Description
threadIdStringYes

The thread ID.

Body:

None

Response Code: 204 No Content

Body:

None

Assign Thread to Group Inbox

#Request (JSON)
PUT /sms/agent/thread/switchGroup/public?threadId=56047165976
Content-Type: application/json
Accept: application/json
  
#Response
204 No Content
CODE

Unassign Thread

Description: Moves the thread from the group inbox to the personal inbox.

User Roles:  Agent

Method:  PUT /sms/agent/thread/switchGroup/private?threadId={}&channelId={}

Parameters:

AttributeTypeMandatory?Description
threadIdStringYes

Thread ID of the SMS conversation.

channelIdNumberYes

The agent ID.

Body:

None

Response Code: 204 No Content

Body:

None

Assign Thread to Personal Inbox

#Request (JSON)
PUT   /sms/agent/thread/switchGroup/private?threadId=56047165976&channelId=795963
Content-Type: application/json
Accept: application/json
  
#Response
204 No Content
CODE

Transfer Thread 

Description: Transfers the thread to another agent.

User Roles:  Agent

Method:  GET /sms/agent/thread/transfer?threadId={}&type={}&agentId={}

Parameters:

AttributeTypeMandatory?Description
threadIdStringYes

The thread ID for this interaction.

type
ENUMYes

Type of channel (Voicemail, SMS, Email, Chat, Voice, Messaging).  

agentIdLongYes

The agent ID.

Body:

None

Response Code: 200 OK

Body: 

AttributeTypeMandatory?Description
threadIdStringYes

The confirmation ID.

Transfer the Thread

#Request (JSON)
GET  /sms/agent/thread/transfer?threadId=56047165976&type=SMS&agentId=645835
Content-Type: application/json
Accept: application/json
  
  
#Response
200 OK
Content-Type: application/json   

{
  "id": "56047165976"
}
CODE

List Transfer Agents

Description: Returns a list of agents who can accept a transfer.

User Roles:  Agent

Method:  GET /sms/agent/search?threadId={}

Parameters:

Key or AttributeTypeMandatory?Description
threadIdStringYesThe thread ID.

Body:

None

Response Code: 200 OK

Body: 

Key or AttributeTypeMandatory?Description

ArrayNo
Key or AttributeTypeMandatory?Description

agentId

LongYesThe agent ID.

loginId

StringYesLogin ID of the agent. 
name StringNoName of the agent.
statusStringNoStatus of the agent.

List available Agents for Transfer

#Request (JSON)
POST /sms/agent/search?threadId=56070705625 
Host: localhost.com
Content-Type: application/json
Accept: application/json
  
  
#Response
200 OK
Content-Type: application/json  

[
  {
    "agentId": 645835,
    "loginId": "KAVYA",
    "name": "kavya livevox",
    "status": "NOTREADY"
  },
  {
    "agentId": 795963,
    "loginId": "APITEST1",
    "name": "apitest1 pass",
    "status": "NOTREADY"
  },
  {
    "agentId": 689581,
    "loginId": "KAVYA3",
    "name": "kavya3 livevox",
    "status": "READY"
  },
  {
    "agentId": 689579,
    "loginId": "KAVYA1",
    "name": "kavya11 livevox",
    "status": "READY"
  }
]
CODE

Resolve Thread

Description: Submits a term code for the thread.

User Roles:  Agent

Method:  POST /sms/agent/thread/resolve

Parameters:

None

Body:

Key or AttributeTypeMandatory?Description
threadIdStringYesThe thread ID for this interaction.
termCodeIdLongNoThe termination code ID.
accountStringYesAccount of the contact for the interaction thread.
agentEnteredAccountStringYesAccount of the contact for the interaction thread.

Response Code: 204 

Body: 

None

Resolve Thread

#Request (JSON)
POST /sms/agent/thread/resolve
Content-Type: application/json
Accept: application/json
  
{
  "account": "1213",
  "threadId": "56061444734",
  "agentEnteredAccount": "1213"
}

#Response
204 No Content
CODE

Messages

Messages APIs allow you to send, read, and unread a message.

Send SMS

Description: Sends an SMS.

This is a newer version of the Send SMS method for agents.

User Roles:  Agent

Method:  POST /sms/agent/message/send

Parameters:

None

Body:

Key or AttributeTypeMandatory?Description

fromNumber

StringYesPhone number from which the SMS is sent.
toNumberStringYesPhone number to which the SMS is sent.
templateIdLongNoThe SMS Template ID.
messageStringYesSMS message.
accountStringNoAccount number of the customer.
threadIdLongNoThe thread ID for this interaction.
ticketIdLongNoThe ticket ID.
crmAccountIdLongNoThe account ID in the CRM.

Response Code: 200 

Body: 

Key or AttributeTypeMandatory?Description
idStringYesThe transaction ID of the message.

Send an SMS

#Request (JSON)
POST /sms/agent/message/send
Host: localhost.com
Content-Type: application/json
Accept: application/json   
 
{
  "fromNumber": "13345094836",
  "toNumber": "4154164061",
  "message": "API SMS Test sent by agent 2023-03-13T04:16:08.108Z",
  "account": "1213"
}

#Response
200 OK 
Content-Type: application/json

{
  "id": "56284272387"
}
CODE

Mark Read

Description: Marks thread as read.

User Roles:  Agent

Method:  PUT /sms/agent/message/markAsRead?threadId={}&channelId={}

Parameters:

AttributeTypeMandatory?Description
threadIdStringYes

The thread ID for this interaction.

channelId
StringYes

The service ID.

Body:

None

Response Code: 204 No Content

Body: 

None

Mark Message as Read

#Request (JSON)
PUT /sms/agent/message/markAsRead?threadId=1229998286752&channelId=150321  
Content-Type: application/json
Accept: application/json
  
#Response
204 No Content
CODE

Mark Unread

Description: Marks thread as unread.

User Roles:  Agent

Method:  PUT /sms/agent/message/markAsUnread?threadId={}&channelId={}

Parameters:

AttributeTypeMandatory?Description
threadIdStringYes

The thread ID for this interaction.

channelIdStringYes

The service ID.

Body:

None

Response Code: 204 No Content

Body: 

None

Mark Message as Unread

#Request (JSON)
GET /sms/agent/message/markAsUnread?threadId=56070705625&channelId=94874 
Content-Type: application/json
Accept: application/json
  
  
#Response
204 No Content
CODE

List Transaction History

Description: Return list of transactions.

User Roles:  Agent

Method:  GET  /sms/agent/messages?account={}&threadId={}

Parameters:

AttributeTypeMandatory?Description
accountStringYes

Account number of the customer.

 This is required if the threadId is not present.

threadId
StringNo

The thread ID.  

 This is required if the account is not present.

paginationNumberNo

The pagination page number.

Body:

None

Response Code: 200 OK

Body:

Key or AttributeTypeMandatory?Description

ArrayNo
Key or AttributeTypeMandatory?Description

id

StringYesThe transaction ID.
messageStringYesMessage body.
smsCodeStringNoSMS number used to send and receive SMS messages.
phoneStringYesPhone number of the transaction.
dateDateNoDate of the transaction.
statusStringNoMessage status.
directionLongNoFlag indicating the direction of SMS.    
  • 1: Indicates that the SMS is inbound.
  • 2: Indicates that the SMS is outbound.
threadIdStringNoThe thread ID. 

attachmentIds

Array NoThe attachment IDs.

List Transaction History

#Request (JSON)
GET /sms/agent/messages/?account=1213&threadId=56061444434

Content-Type: application/json
Accept: application/json
  
  
#Response
200 OK
Content-Type: application/json    

[
  {
    "id": "56061451356",
    "message": "API SMS Test Hi Kavita 2022-10-20T04:16:08.108Z",
    "smsCode": "13345094836",
    "phone": "14154164061",
    "date": 1666263753000,
    "status": "SMS MT Delivered",
    "direction": "2"
  },
  {
    "id": "56061451355",
    "message": "API SMS Test sent by agent 2022-10-20T04:16:08.108Z",
    "smsCode": "13345094836",
    "phone": "14154164061",
    "date": 1666263753000,
    "status": "SMS MT Delivered",
    "direction": "2"
  },
  {
    "id": "56061451328",
    "message": "Okay",
    "smsCode": "13345094836",
    "phone": "14154164061",
    "date": 1666263132000,
    "status": "Operator Transfer",
    "direction": "1"
  },
  {
    "id": "56061451327",
    "message": "Good",
    "smsCode": "13345094836",
    "phone": "14154164061",
    "date": 1666263117000,
    "status": "Operator Transfer",
    "direction": "1"
  },
  {
    "id": "56061451326",
    "message": "API SMS Test Hi Kavita 2022-10-20T04:16:08.108Z",
    "smsCode": "13345094836",
    "phone": "14154164061",
    "date": 1666263103000,
    "status": "SMS MT Delivered",
    "direction": "2"
  },
  {
    "id": "56061451325",
    "message": "API SMS Test sent by agent 2022-10-20T04:16:08.108Z",
    "smsCode": "13345094836",
    "phone": "14154164061",
    "date": 1666263102000,
    "status": "SMS MT Delivered",
    "direction": "2"
  },
  {
    "id": "56061451220",
    "message": "API SMS Test Hi Kavita 2022-10-20T04:16:08.108Z",
    "smsCode": "13345094836",
    "phone": "14154164061",
    "date": 1666259109000,
    "status": "SMS MT Delivered",
    "direction": "2"
  },
  {
    "id": "56061451219",
    "message": "API SMS Test sent by agent 2022-10-20T04:16:08.108Z",
    "smsCode": "13345094836",
    "phone": "14154164061",
    "date": 1666259108000,
    "status": "SMS MT Delivered",
    "direction": "2"
  },
  {
    "id": "56061451207",
    "message": "API SMS Test Hi Kavita 2022-10-20T04:16:08.108Z",
    "smsCode": "13345094836",
    "phone": "14154164061",
    "date": 1666258736000,
    "status": "SMS MT Delivered",
    "direction": "2"
  },
  {
    "id": "56061451206",
    "message": "API SMS Test sent by agent 2022-10-20T04:16:08.108Z",
    "smsCode": "13345094836",
    "phone": "14154164061",
    "date": 1666258735000,
    "status": "SMS MT Delivered",
    "direction": "2"
  }
]
CODE

Errors

For more information, see the Errors section on the REST APIs page. 

Top of Page