Headers
-
Content-Type
string -
Accept
string -
X-PLANNR-ACCOUNT-UUID
string
Query parameters
-
filter[uuid]
string Filter by a comma separated list of UUIDs.
-
filter[account_uuids]
string Filter by a comma separated list of account UUIDs.
-
filter[group_uuids]
string Filter by a comma separated list of group UUIDs.
-
filter[name]
string Filter by the circle name.
-
include
string Comma separated list of relationships to include in the response. Valid relationships are [accounts,firm,groups]
-
sort
string Field to sort by. Valid fields are [name, created_at, updated_at]. Negative sign to denote DESC. Defaults to 'name'.
-
per_page
integer Number of results to return with pagination (Default 15. Max 500).
GET
/api/v1/circles
curl \
--request GET '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}"
Response examples (200)
{
"data": [
{
"name": "Jones Family",
"uuid": "cd9b8e5e-dea0-4e56-82af-f2f416497041",
"groups": [
{
"name": "finance",
"slug": "finance",
"uuid": "9fd541bb-a876-4d08-8d32-18593f338cef",
"created_at": "2025-04-22T13:44:16+01:00",
"updated_at": "2025-04-22T13:44:16+01:00",
"participants": {
"name": {
"example": "Gareth Thompson",
"description": "Name of the account"
},
"role": {
"example": "client",
"description": "Role of the account"
},
"uuid": {
"example": "7c425ff8-5d52-4c8a-b5e3-c0440779f220",
"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": "f049362b-7b44-4397-b308-856761733587",
"email": "gareth@codepotato.co.uk",
"last_name": "Thompson",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"created_at": "2025-04-22T13:44:16+01:00",
"first_name": "Gareth",
"updated_at": "2025-04-22T13:44:16+01:00",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource"
}
],
"created_at": "2025-04-22T13:44:16+01:00",
"updated_at": "2025-04-22T13:44:16+01:00",
"joint_account_uuid": "7bd5e0b7-d3c3-467d-8b93-e7af8788c5fc"
}
]
}