Headers
-
Content-Type
string -
Accept
string -
X-PLANNR-ACCOUNT-UUID
string
Body
Required
-
name
string Required Group name that must be unique.
-
participants
array[string] UUIDs of accounts to add to the group.
POST
/api/v1/group
curl \
--request POST 'https://api.plannrcrm.com/api/v1/group' \
--header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--data '{"name":"Accounting","participants":["92b84de6-ddde-40f1-9a33-b1d37e9bbfa6","7c68f10b-381b-4d20-88dc-b5934b373e61"]}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"name": "Accounting",
"participants": [
"92b84de6-ddde-40f1-9a33-b1d37e9bbfa6",
"7c68f10b-381b-4d20-88dc-b5934b373e61"
]
}
Response examples (200)
{
"name": "finance",
"slug": "finance",
"uuid": "fef22d21-1719-4b02-921a-710280dc5032",
"created_at": "2025-06-05T11:39:39+01:00",
"updated_at": "2025-06-05T11:39:39+01:00",
"participants": {
"name": {
"example": "Gareth Thompson",
"description": "Name of the account"
},
"role": {
"example": "client",
"description": "Role of the account"
},
"uuid": {
"example": "3b48906b-a067-409f-95ee-e6e4c74a37d9",
"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"
}