Skip to main content
GET

List contact groups

Scope:contacts:contacts.read
https://api.holded.com/api/v2/contact-groups

Returns a paginated list of contact groups. Results are cursor-paginated: the response includes a `cursor` value and a `has_more` boolean. Pass the `cursor` to the next request to fetch the following page.

Parameters

Query parameters

cursorstringoptional

Pagination cursor returned by the previous response. Omit to start from the first page.

limitintegeroptional= 50

Maximum number of items to return

Request

python
import requests

url = "https://api.holded.com/api/v2/contact-groups?cursor=value&limit=50"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())

Responses

Response

json
{
  "items": [
    {
      "id": "507f1f77bcf86cd799439011",
      "name": "string",
      "description": "string",
      "color": "string"
    }
  ],
  "cursor": "string",
  "has_more": false
}

Success responses

200List of contact groupsapplication/json
object
items[]object[]required
idstringrequired

Unique identifier

namestringrequired

Group name

descriptionstringrequired

Group description

colorstringrequired

Group color

cursorstring | nulloptional
has_morebooleanrequired

Error responses

401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
429Rate limit exceededapplication/json