Headers
-
Content-Type
string -
Accept
string -
X-PLANNR-ACCOUNT-UUID
string
Body
Required
-
name
string Required Circle name
-
account_uuids
array[string] Required Account UUIDs that are being added to the circle. Between 2 and 50 account UUIDs are required.
-
group_uuids
array[string] Required Groups UUIDs the circle will belong to.
POST
/api/v1/circles
curl \
--request POST 'https://api.plannrcrm.com/api/v1/circles' \
--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":"Jones Family","account_uuids":[null,null],"group_uuids":[null,null]}'
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": "Jones Family",
"account_uuids": [
null,
null
],
"group_uuids": [
null,
null
]
}
Response examples (201)
{
"name": "Jones Family",
"uuid": "891dcce3-d769-4581-8ef6-131a9914d807",
"groups": [
{
"name": "finance",
"slug": "finance",
"uuid": "48c7d9f6-0b70-4eed-8638-c80590d5967b",
"created_at": "2025-06-17T14:20:17+01:00",
"updated_at": "2025-06-17T14:20:17+01:00",
"participants": {
"name": {
"example": "Gareth Thompson",
"description": "Name of the account"
},
"role": {
"example": "client",
"description": "Role of the account"
},
"uuid": {
"example": "37a8368a-bcdf-4fd4-b8ff-b85ef24e9466",
"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": "daa311cd-ce34-436f-a157-9ecbfbf767cf",
"email": "gareth@codepotato.co.uk",
"last_name": "Thompson",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"created_at": "2025-06-17T14:20:17+01:00",
"first_name": "Gareth",
"updated_at": "2025-06-17T14:20:17+01:00",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource"
}
],
"created_at": "2025-06-17T14:20:17+01:00",
"updated_at": "2025-06-17T14:20:17+01:00",
"joint_account_uuid": "924dd3d5-b0ed-4fc0-bd50-9c3112ff8b84"
}