Create a Client
The client name will be Alice as shown below:
CURL
1
curl -X POST https://api.teleapi.net/call/2012-04-24/Accounts/ACCOUNT_SID/Clients.json \
2
-d 'Login=alice' \
3
-d 'Password=test' \
4
-u 'teleapi-Token'
Copied!
The output of the command will be similar to the one below:
1
{
2
"sid": "CL4e10e3b56a614414bcc1eeca5d96effe",
3
"date_created": "2013-10-16T08:51:32.460-06:00",
4
"date_updated": "2013-10-16T08:51:32.460-06:00",
5
"account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
6
"api_version": "2012-04-24",
7
"friendly_name": "alice",
8
"login": "alice",
9
"password": "test",
10
"status": "1",
11
"voice_method": "POST",
12
"voice_fallback_method": "POST",
13
"uri": "/call/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Clients/CL4e10e3b56a614414bcc1eeca5d96effe.json"
14
}
Copied!
There's two types of tokens: Call API SID Token and API Token; you'll need both.

API Tokens from teleapi Settings