Texts


Send Texts

Send texts to recipients.

URL

/texts

Method

POST

Data parameters

message=[string] A message to text to a recipient.

recipient_phones=[[string]] A list of phone numbers to send to. International calling code required.

Success Response

Code: 200
Content:

{
"tracking_id": "123f2db6-4558-46f9-90d8-8e6765c5b857"
}

Fetch a Text

Return json data about a text.

URL

/texts

Method

GET

Data parameters

id=[string] ID of a text message.

Success Response

Code: 200
Content:

{
"message": "Hello World!",
"customer_id": "1",
"priority": "medium",
"id": "123f2db6-4558-46f9-90d8-8e6765c5b857"
}

Fetch Texts

Return json data about texts scoped by customer.

URL

/texts

Method

GET

Success Response

Code: 200
Content:

{
"data": [{
"message": "Hello World!",
"customer_id": "1",
"priority": "medium",
"id": "123f2db6-4558-46f9-90d8-8e6765c5b857"
}]
}