Create a circle

POST /api/v1/circles

Headers

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

Body Required

  • name string Required

    Circle name

  • account_uuids array[string] Required

    Account UUIDs that are being added to the circle. Between 1 and 100 account UUIDs are required.

  • group_uuids array[string] Required

    Groups UUIDs the circle will belong to. Can belong to a maximum of 50 groups.

Responses

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

      The UUID of the resource.

    • created_at string

      The timestamp of when the resource was created.

    • updated_at string

      The timestamp of when the resource was updated.

    • name string

      The Circle name

    • accounts array[object]

      Accounts belonging to the circle

      Hide accounts attributes Show accounts attributes object
      • uuid string
      • created_at string
      • updated_at string
      • type string
      • role string
      • first_name string
      • last_name string
      • name string
      • email string
      • photo_url string
      • external_references string
    • groups array[object]

      Groups the circle belongs to

      Hide groups attributes Show groups attributes object
      • uuid string
      • name string
      • slug string
      • participants_count string
      • participants object
        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
      • updated_at string
    • joint_account_uuid string

      uuid of joint account where circle created from joint account

    • external_references array[object]

      The external references that have been added to the client.

      Hide external_references attributes Show external_references attributes object
      • uuid string
      • created_at string
      • updated_at string
      • third_party string
      • reference string
POST /api/v1/circles
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/circles' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 --data '{"name":"Jones Family","account_uuids":[null,null],"group_uuids":[null,null]}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "name": "Jones Family",
  "account_uuids": [
    null,
    null
  ],
  "group_uuids": [
    null,
    null
  ]
}
Response examples (201)
{
  "name": "Jones Family",
  "uuid": "89e22cda-e2a3-4e4b-a9c7-16dbe0315e37",
  "groups": [
    {
      "name": "finance",
      "slug": "finance",
      "uuid": "e8ad634f-4a8e-4f1a-a2b1-03356d6bdffa",
      "created_at": "2025-07-09T11:58:10+01:00",
      "updated_at": "2025-07-09T11:58:10+01:00",
      "participants": {
        "name": {
          "example": "Gareth Thompson",
          "description": "Name of the account"
        },
        "role": {
          "example": "client",
          "description": "Role of the account"
        },
        "uuid": {
          "example": "661aa741-066a-41c9-901a-1c51b028687b",
          "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"
    }
  ],
  "accounts": [
    {
      "name": "Gareth Thompson",
      "role": "client",
      "type": "client",
      "uuid": "095c9423-f0b6-4485-8bb9-73daa8a7af96",
      "email": "gareth@codepotato.co.uk",
      "last_name": "Thompson",
      "photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
      "created_at": "2025-07-09T11:58:10+01:00",
      "first_name": "Gareth",
      "updated_at": "2025-07-09T11:58:10+01:00",
      "external_references": "App\\Http\\Resources\\ExternalReferenceResource"
    }
  ],
  "created_at": "2025-07-09T11:58:10+01:00",
  "updated_at": "2025-07-09T11:58:10+01:00",
  "joint_account_uuid": "60d391e0-3651-4b4c-908f-0222b6c7e68f",
  "external_references": [
    {
      "uuid": "3a56a22c-169e-499c-9597-507064a3f28c",
      "reference": "AB123456",
      "created_at": "2025-07-09T11:58:10+01:00",
      "updated_at": "2025-07-09T11:58:10+01:00",
      "third_party": "nucleus"
    }
  ]
}