Legacy-compatible alphabetical listing across the authenticated user's
CTI phonebook and the centralized phonebook. Requires the phonebook
capability. Same {count, rows, last_sync_at} envelope and same query
parameters as /phonebook/search.
Ordering (issue #7124): with no sort the computed display key
(sort_name) is used, matching the pre-existing default.
Query parameters
-
Values are
personorcompany. -
Sort key (issue #7124).
surnamealiaseslastname;namealiasesdisplayname. Any other/absent value keeps the default ordering.Values are
firstname,lastname,surname,company,displayname, orname. -
Visibility filter. Alias:
sharing.Values are
all,public,private, orgroup. -
Alias of
visibility.Values are
all,public,private, orgroup. -
Minimum value is
0. -
Minimum value is
0. Default value is0.
curl \
--request GET 'http://localhost:8080/phonebook/getall/{term}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
{
"count": 42,
"rows": [
{
"id": 42,
"owner_id": "string",
"type": "string",
"name": "string",
"company": "string",
"homeemail": "string",
"workemail": "string",
"homephone": "string",
"workphone": "string",
"cellphone": "string",
"fax": "string",
"title": "string",
"notes": "string",
"homestreet": "string",
"homepob": "string",
"homecity": "string",
"homeprovince": "string",
"homepostalcode": "string",
"homecountry": "string",
"workstreet": "string",
"workpob": "string",
"workcity": "string",
"workprovince": "string",
"workpostalcode": "string",
"workcountry": "string",
"url": "string",
"extension": "string",
"speeddial_num": "string",
"firstname": "string",
"lastname": "string",
"job": "string",
"facebook": "string",
"instagram": "string",
"linkedin": "string",
"workphone2": "string",
"cellphone2": "string",
"otherphone": "string",
"otheremail": "string",
"source": "cti",
"contacts": "string"
}
],
"last_sync_at": "2026-05-04T09:42:00Z"
}
{
"code": 42,
"message": "string",
"error": "string"
}
{
"code": 42,
"message": "string",
"error": "string"
}