GET
Get a contact group
Scope:
contacts:contacts.readhttps://api.holded.com/api/v2/contact-groups/{contactGroupId}Returns a single contact group by its ID.
Parameters
Path parameters
contactGroupId
stringrequiredContact 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/jsonobject
idstringrequired
Unique identifier
namestringrequired
Group name
descriptionstringrequired
Group description
colorstringrequired
Group color
Error responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Contact group not foundapplication/json429Rate limit exceededapplication/json