Skip to main content
GET

Get a contact group

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

Returns a single contact group by its ID.

Parameters

Path parameters

contactGroupIdstringrequired

Contact Group ID (24-char hex ObjectId)

Request

python
import requests

url = "https://api.holded.com/api/v2/contact-groups/{contactGroupId}"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

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

Responses

Response

json
{
  "id": "507f1f77bcf86cd799439011",
  "name": "string",
  "description": "string",
  "color": "string"
}

Success responses

200Contact group foundapplication/json
object
idstringrequired

Unique identifier

namestringrequired

Group name

descriptionstringrequired

Group description

colorstringrequired

Group color

Error responses

401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
404Contact group not foundapplication/json
429Rate limit exceededapplication/json