Get Contact list
Returns list of all contacts
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- List
Schema
- list_items object[]
{
"list_items": [
{
"name": "Adolph Smith",
"type": "multi",
"number": "0001-01-11-11",
"is_favorite": true,
"auto_answer": true,
"in_black_list": false,
"item_uid": 3
}
]
}
{
"list_items": [
{
"name": "Apartment 1111",
"type": "regular",
"number": "0001-01-11-11",
"is_favorite": true,
"auto_answer": true,
"in_black_list": false,
"item_uid": 1
},
{
"name": "Panel",
"type": "individual",
"number": "0001-01-11-11-1",
"is_favorite": false,
"auto_answer": false,
"in_black_list": false,
"item_uid": 2
},
{
"name": "Outdoor",
"type": "multi",
"number": "0001-01-1",
"is_favorite": false,
"auto_answer": false,
"in_black_list": false,
"item_uid": 3
},
{
"name": "Adolph Smith",
"type": "regular",
"number": "sip:[email protected]",
"is_favorite": false,
"auto_answer": false,
"in_black_list": false,
"item_uid": 4
}
]
}
Please log in
- application/json
- Schema
- Example (from schema)
- Example
Schema
error object
code stringPossible values: [
invalid_authentication
,permission_denied
,not_valid
,system_error
]Error code
message stringError message
data object
Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc.
param string
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
{
"error": {
"code": "invalid_authentification",
"message": "Log In"
}
}
Loading...