Standard APIs

Welcome to the Standard APIs Documentation
Welcome to the teleapi documentation. teleapi was written to be the easiest API to integrate with, taking the positive attributes of a RESTFUL api and combining that with the simplicity that the web was created on.
All functions are available to the main API URL: Older URLs (apiv1 or sms) are mapped to and are cross compatible.
All API commands can be sent using GET or POST, and no username, or special attributes are required, just your token.
We support JSON, XML and PHP serialize natively, just pass format=xml or format=php in your GET or POST request.
Many pages are outlined with the coding Method and a sample from a few different programming languages. These should get you started immediately.

Coding Samples

Most pages will look like this, with the URL and coding examples.

Response Codes

At the top right of the screen, you will have RESPONSE for response expectations.
curl -v -X POST "" \
-d "source=13035551212&destination=13038884444&message=hello+there"
PHP - file_get_contents
$data = array("source" => "13035551212",
"destination" => "13038884444",
"message" => "hey there");
$data = http_build_query($data);
$x = file_get_contents("$data");
$object = json_decode($x);

Responses from API

Successfully Sent

This is your unique tracking ID for this SMS message. You can track this in delivery notifications.

Failed to Send

"data":"Invalid source number"
Last modified 3yr ago