Documentation

API Endpoint & Authentication


T2A offers XML / JSON and SOAP API endpoints to suit your development framework.

XML / JSON

https://api.t2a.io/rest/


Our XML / JSON endpoint will output a response in XML by default or JSON if the output parameter is set to json (see example below).


SOAP

https://api.t2a.io/soap/

API Key Authentication

All T2A methods require authentication using the mandatory input parameter api_key. An API Key must be obtained by signing up. If you've already registered, you can view your API key by logging in.

Your API key should not be disclosed to third parties, and should not be included in web pages; however, other security measures are available to prevent unauthorised use of your account.

Example request URL
The following is an example request using the XML / JSON endpoint with the mandatory api_key and output set to json:

https://api.t2a.io/rest/?method=area_code&api_key=YOUR_API_KEY&text=USER_INPUT&output=json

Next: Free Test Mode