Headers

  • X-PLANNR-ACCOUNT-UUID string
application/json

Body

  • name string Required

    Group name that must be unique.

  • participants array[string(uuid)]

    UUIDs of accounts to add to the group.

  • business_unit string(uuid) | null

    UUID of business unit to link this group to

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      UUID of the group

    • name string

      Name of the group

    • slug string

      Slug of the group

    • participants_count string

      Number of participants in the group

    • participants object

      Participants in this group

      Hide participants attributes Show participants attributes object
      • uuid object
        Hide uuid attributes Show uuid attributes object
        • example string
        • description string
      • role object
        Hide role attributes Show role attributes object
        • example string
        • description string
      • first_name object
        Hide first_name attributes Show first_name attributes object
        • example string
        • description string
      • last_name object
        Hide last_name attributes Show last_name attributes object
        • example string
        • description string
      • name object
        Hide name attributes Show name attributes object
        • example string
        • description string
      • email object
        Hide email attributes Show email attributes object
        • example string
        • description string
    • created_at string

      Timestamp of when the group was created

    • updated_at string

      Timestamp of when the group was updated

POST /api/v1/group
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/group' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 --data '{"name":"Accounting","participants":["fe48c2f4-b2cd-459f-a4df-4a30d2c83778","bb435285-90fa-4cfd-9623-0c8fb5616001","e3a0f4aa-172b-4e21-a192-61109cd5cc79"],"business_unit":"3b262d3a-96f8-49e1-99e1-6a67cf201ca3"}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "name": "Accounting",
  "participants": [
    "fe48c2f4-b2cd-459f-a4df-4a30d2c83778",
    "bb435285-90fa-4cfd-9623-0c8fb5616001",
    "e3a0f4aa-172b-4e21-a192-61109cd5cc79"
  ],
  "business_unit": "3b262d3a-96f8-49e1-99e1-6a67cf201ca3"
}
Response examples (200)
{
  "uuid": "7f529f1f-2ba3-4f0b-82a0-19092d8d674d",
  "name": "finance",
  "slug": "finance",
  "participants_count": "3",
  "participants": {
    "uuid": {
      "example": "e3f7145b-9b8e-4ec0-bd83-92586a0e37aa",
      "description": "UUID of the account"
    },
    "role": {
      "example": "client",
      "description": "Role of the account"
    },
    "first_name": {
      "example": "Gareth",
      "description": "First name of the account"
    },
    "last_name": {
      "example": "Thompson",
      "description": "Last name of the account"
    },
    "name": {
      "example": "Gareth Thompson",
      "description": "Name of the account"
    },
    "email": {
      "example": "gareth@codepotato.co.uk",
      "description": "Email of the account"
    }
  },
  "created_at": "2026-05-19T18:31:17+01:00",
  "updated_at": "2026-05-19T18:31:17+01:00"
}