Headers
-
Content-Type
string -
Accept
string -
X-PLANNR-ACCOUNT-UUID
string
Path parameters
-
uuid
integer Required
Body
-
name
string Circle name
-
account_uuids
array[string] Account UUIDs belonging to the circle. Between 1 and 100 account UUIDs are required.
PUT
/api/v1/circles/{uuid}
curl \
--request PUT 'https://api.plannrcrm.com/api/v1/circles/uuid' \
--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]}'
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
]
}
Response examples (200)
{
"name": "Jones Family",
"uuid": "87a5da94-fd52-4b88-aa24-d9e43479339d",
"groups": [
{
"name": "finance",
"slug": "finance",
"uuid": "98dc85b2-eb2e-4083-ba56-b5e70442c32f",
"created_at": "2025-05-14T18:27:11+01:00",
"updated_at": "2025-05-14T18:27:11+01:00",
"participants": {
"name": {
"example": "Gareth Thompson",
"description": "Name of the account"
},
"role": {
"example": "client",
"description": "Role of the account"
},
"uuid": {
"example": "8a4e107f-a33f-434a-82d9-e568b02554fe",
"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": "51200cb1-84a8-4ff1-8851-829aadd7bdaf",
"email": "gareth@codepotato.co.uk",
"last_name": "Thompson",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"created_at": "2025-05-14T18:27:11+01:00",
"first_name": "Gareth",
"updated_at": "2025-05-14T18:27:11+01:00",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource"
}
],
"created_at": "2025-05-14T18:27:11+01:00",
"updated_at": "2025-05-14T18:27:11+01:00",
"joint_account_uuid": "ed34ebe5-1202-4c93-9c43-181c7e68dfa2"
}