Get all addresses
This endpoint will return all addresses in the firm relevant to the user accessing them.
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[circle_uuids]
string Filter by a comma separated list of circle UUIDs.
-
include
string Comma separated list of relationships to include in the response. Valid relationships are [accounts, primary_accounts].
-
sort
string Field to sort by. Valid fields are [created_at, updated_at, address_1, postcode]. Negative sign to denote DESC. Defaults to '-created_at'.
-
per_page
integer Number of results to return with pagination (Default 15. Max 500).
GET
/api/v2/addresses
curl \
--request GET 'https://api.plannrcrm.com/api/v2/addresses' \
--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": "Work Address",
"uuid": "5efadd88-f657-4aca-96db-f118c3ac48f0",
"county": "Hampshire",
"country": "United Kingdom",
"accounts": {
"name": "Gareth Thompson",
"role": "client",
"type": "client",
"uuid": "7d8a50fb-8bda-4afa-b3f8-aae67997da0a",
"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:16+01:00",
"first_name": "Gareth",
"updated_at": "2025-05-14T18:27:16+01:00",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource"
},
"postcode": "PO7 7YH",
"address_1": "Suite E, 5 The Briars",
"address_2": "Waterberry Drive",
"address_3": "The Innovative Centre",
"address_4": "Waterlooville",
"town_city": "Waterlooville",
"created_at": "2025-05-14T18:27:16+01:00",
"updated_at": "2025-05-14T18:27:16+01:00",
"moved_in_year": 2022,
"moved_in_month": 6,
"moved_out_year": 2024,
"lived_in_months": 19,
"moved_out_month": 1,
"primary_accounts": {
"name": "Gareth Thompson",
"role": "client",
"type": "client",
"uuid": "fd27a883-db30-4198-af0b-22458a477804",
"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:16+01:00",
"first_name": "Gareth",
"updated_at": "2025-05-14T18:27:16+01:00",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource"
},
"residential_status": "homeowner",
"residential_status_other": "homeowner"
}
]
}