Get In Touch
Want to speak with a human being?
We can chat when it’s convient for you. Our team is available by phone, Monday through Friday from 9am to 5pm CST.

(800) 322-1112
[email protected]

(800) 322-1112 [email protected]

API Documentation

Our API solution offers flexible end points, on-demand reports, self-administration & instant integration capabilities.

Prepared for:  [Customer Name]


Below you will find an 1) updated API endpoint that can be used for sending a text message after verifying the ToNumber is a wireless numbers and 2) a standalone API endpoint to verify if a Telephone number is wireless or landline.

API Key:

[place key here]

Updated API endpoint to send text message and verify SMS ID:

https://api.textbetter.com/SendTexts.aspx?KEY=<KEY>&DID=<from number>&ToNumber=<to number>&Message=<message>&CheckSMSID=<Y/N>


<Key> - your unique API Key

<from number> – the 11 digit phone number you are sending the text message from. Must be a TextBetter text enabled number.

<to> – the 11 digit phone number you are sending the text message to.

<message> – the message you want delivered

<Y/N> Valid characters Y or N. If Y the api call will verify if the ToNumber is wireless or Landline before sending the text message. The text message will be sent if the ToNumber is a wireless number. If the ToNumber is a landline number the text message will not be sent and Error Response = "not a wireless number" will be returned. If N this check is ignored.


If successful, executing this URL will give a response of:



Possible Error Responses:
"Invalid KEY"
"Invalid DID"
"Invalid To Number"
"Invalid Message"
"Invalid Key/Company Combination"
"Error:" + detail error message

Response from carrier if not Success!

API endpoint for SMS ID (check if number is wireless or landline):


https://api.textbetter.com/GetSMSID.aspx?KEY=<KEY>&Phone=<11 digit Phone>


<Key> - your unique API Key
<11 digit phone> - 11 digit phone number you want to check wireless or landline

If successful, calling this endpoint will give a response of:

“0” = Landline

“1” = Wireless


Possible Error responses:

"Cannot find this customer KEY."
"Invalid KEY"
"Invalid Phone"

Your content goes here. Edit or remove this text inline or in the module Content settings. You can also style every aspect of this content in the module Design settings and even apply custom CSS to this text in the module Advanced settings.