TelAPI Docs

REST API

Our REST API allows you to perform essential telephony functions such as initiating outbound calls or sending SMS messages. You can connect to TelAPI in any language using simple HTTP requests.

REST API Docs
OR

InboundXML

InboundXML is an easy XML dialect which tells TelAPI what to do when someone calls or sends an SMS to one of your numbers. Tasks like playing audio or prompting users for input are simple with InboundXML!

InboundXML Docs


curl -X POST 'https://api.telapi.com/v1/Accounts/{AccountSid}/SMS/Messages' -u "{AccountSid}:{AuthToken}" -d "From=12125556666&To=17326667777&Body=Hello from TelAPI!"
curl -X POST 'https://api.telapi.com/v1/Accounts/{AccountSid}/Calls/{CallSid}/Recordings' -u "{AccountSid}:{AuthToken}" -d "Record=true"
curl -X POST 'https://api.telapi.com/v1/Accounts/{AccountSid}/Calls' -u "{AccountSid}:{AuthToken}" -d "From=12125556666&To=17326667777&Url={fully_qualified_url}"

using

<Response>
    <Say>Please state your name.</Say>
    <Record action = "http://webhookr.com/recordaction" method="POST" finishOnKey="#" />;
</Response>
                                
<Response>
    <Sms action="http://webhookr.com/telapi-test-sms-action" method="POST" from="{phone_number}" to="{phone_number}">Test message sent from TelAPI!</Sms>
</Response>
                                
<Response>
    <Dial action="http://webhookr.com/sample-action" method="GET">(555) 555-5555</Dial>;
</Response>;
                                

using