Get all account groups
Get all the groups where the account is participating in.
Query parameters
-
Comma separated list of relationships to include in the response. Valid relationships are [participants, participants_count].
-
Filter by a comma separated list of UUIDs.
-
Name to filter by
-
Field to sort by. Valid fields are [created_at, name, updated_at]. Negative sign to denote DESC. Defaults to 'name'.
-
Number of results to return with pagination (Default 15. Max 500).
GET
/api/v1/account/{account_uuid}/groups
curl \
--request GET 'https://api.plannrcrm.com/api/v1/account/6ff8f7f6-1eb3-3525-be4a-3932c805afed/groups' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
"data": [
{
"name": "finance",
"slug": "finance",
"uuid": "0378874d-0940-4b57-b2cc-6d77bf3de792",
"created_at": "2025-07-17T16:23:18+01:00",
"updated_at": "2025-07-17T16:23:18+01:00",
"participants": {
"name": {
"example": "Gareth Thompson",
"description": "Name of the account"
},
"role": {
"example": "client",
"description": "Role of the account"
},
"uuid": {
"example": "3dc4c8f0-e9cf-44a4-ab36-ddfa8212bd9e",
"description": "UUID of the account"
},
"email": {
"example": "gareth@codepotato.co.uk",
"description": "Email of the account"
},
"last_name": {
"example": "Thompson",
"description": "Last name of the account"
},
"first_name": {
"example": "Gareth",
"description": "First name of the account"
}
},
"participants_count": "3"
}
]
}