Speed dial 100
List speed dial 100.
Authorizations
Path parameters
idall ofRequired
The unique ID of user.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
Responses
200
OK
application/json
4XX
Error
get
GET /api/users/{id}/speed_dial_100 HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"code": "text",
"phone_number": "text",
"description": "text"
}
]
}
Create new speed dial 100.
Authorizations
Path parameters
idall ofRequired
The unique ID of user.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
Body
codestring · min: 2 · max: 2Required
The speed dial 100 dialing code.
Available code range from 00
to 99
.
phone_numberstringRequired
The phone number that you want to call.
descriptionstring · max: 1024Optional
The description of speed dial.
Responses
201
Created
application/json
4XX
Error
post
POST /api/users/{id}/speed_dial_100 HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 58
{
"code": "text",
"phone_number": "text",
"description": "text"
}
{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}
Retrieve details of speed dial 100 by it's ID.
Authorizations
Path parameters
idall ofRequired
The unique ID of user.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
dial_idall ofRequired
The unique ID of speed dial.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
Responses
200
OK
application/json
4XX
Error
get
GET /api/users/{id}/speed_dial_100/{dial_id} HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"code": "text",
"phone_number": "text",
"description": "text"
}
Update speed dial 100.
Authorizations
Path parameters
idall ofRequired
The unique ID of user.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
dial_idall ofRequired
The unique ID of speed dial.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
Body
codestring · min: 2 · max: 2Optional
The speed dial 100 dialing code.
Available code range from 00
to 99
.
phone_numberstringOptional
The phone number that you want to call.
descriptionstring · max: 1024Optional
The description of speed dial.
Responses
200
OK
4XX
Error
post
POST /api/users/{id}/speed_dial_100/{dial_id} HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 58
{
"code": "text",
"phone_number": "text",
"description": "text"
}
No content