x
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.
SCHEDULE A CALL WITH SALES

(800) 322-1112
[email protected]

Introduction

TextBetter uses a simple URL call to send text messages (SMS). It works with any internet browser and can be easily deployed, without complex code like SOAP or RPC.

Send SMS with SMS ID

Below you will find an example request URL for sending an SMS text message. The same call can be used to perform an optional SMS ID check prior to sending the SMS message (verify the “to” number is wireless). If the check is used and the number is not wireless a corresponding error message is returned.

GET|POST https://api.textbetter.com/SendTexts.aspx

Parameters

Name
Key
FromNumber
ToNumber
Message
SMSID
Description
Your unique API Key
The 11 digit phone number you are sending the text message from; it must be a TextBetter text enabled number
The 11 digit phone number you are sending the text message to
The message you want delivered
Check if the ToNumber is wireless before sending (must be 'Y' or 'N')*
Example
731_09d6bb59e5
13125007760
12219171336
Hello world!
Y / N

*Notes

  • If SMSID is set to Y, the system will determine if the ToNumber is wireless or landline before sending. If it is wireless, the message will be sent. If it is landline, then the error not a wireless number will be returned.
  • If SMSID is set to N then this check will not be performed and the text message will be sent regardless.

Response (Success)

  • “Success!”

Possible Error Responses

  • “Invalid KEY”
  • “Invalid DID”
  • “Invalid To Number”
  • “Invalid Message”
  • “Not a wireless
  • “Opt-Out”
  • “Invalid Key/Company Combination”
  • “Error:” + detail error message
  • Response from carrier if not Success!

SMS ID Only

Below you will find an example request URL for verifying a “to” number is either wireless or landline. This call is NOT used for sending SMS text messages.

GET|POST https://api.textbetter.com/GetSMSID.aspx

Fields

Name
Key
Phone
Description
Your unique API Key
11 digit phone number you want to check wireless or landline
Example
731_09d6bb59e5
13125007760

Response (Success)

  • 0 Landline
  • 1 Wireless
  • Possible Error Responses

    • “Cannot find this customer KEY”
    • “Invalid KEY”
    • “Invalid Phone”