Query parameters
-
Filter by a comma separated list of UUIDs.
-
Filter by a comma separated list of UUIDs.
-
Filter by a comma separated list of UUIDs.
-
Comma separated list of relationships to include in the response. Valid relationships are [accounts, primary_accounts].
-
Field to sort by. Valid fields are [created_at, updated_at, name, value]. Negative sign to denote DESC. Defaults to 'created_at'.
-
Number of results to return with pagination (Default 15. Max 500).
GET
/api/v2/contact-details
curl \
--request GET 'https://api.plannrcrm.com/api/v2/contact-details' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
"data": [
{
"name": "Personal number",
"type": "email",
"uuid": "64157143-509d-416a-8442-4b6c221d3b77",
"value": "+443330903630",
"accounts": {
"name": "Gareth Thompson",
"role": "client",
"type": "client",
"uuid": "75c01dd2-6f40-4dfc-ac77-88549af0ad21",
"email": "gareth@codepotato.co.uk",
"last_name": "Thompson",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"created_at": "2025-06-26T11:37:11+01:00",
"first_name": "Gareth",
"updated_at": "2025-06-26T11:37:11+01:00",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource"
},
"created_at": "2025-06-26T11:37:11+01:00",
"updated_at": "2025-06-26T11:37:11+01:00",
"primary_accounts": {
"name": "Gareth Thompson",
"role": "client",
"type": "client",
"uuid": "6f3e48f2-74b4-4bae-90f4-fb232fd9c7f9",
"email": "gareth@codepotato.co.uk",
"last_name": "Thompson",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"created_at": "2025-06-26T11:37:11+01:00",
"first_name": "Gareth",
"updated_at": "2025-06-26T11:37:11+01:00",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource"
},
"phone_number_meta": {
"country": "GB",
"formatted": "0333 090 3630"
}
}
]
}