Get all contact details Run in API Explorer
Ask AI
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 types to filter by. Valid filters are [email, phone_number].
-
Comma separated list of partial values to filter by.
-
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": [
[
{
"uuid": "6a10b263-13a8-4cc6-9a38-fa1321ca1912",
"created_at": "2026-06-08T16:08:03+01:00",
"updated_at": "2026-06-08T16:08:03+01:00",
"type": "email",
"name": "Personal number",
"value": "+443330903630",
"phone_number_meta": {
"country": "GB",
"formatted": "0333 090 3630"
},
"accounts": {
"uuid": "ab1506c5-371a-4ae4-a84d-0ff2c35dd11b",
"created_at": "2026-06-08T16:08:03+01:00",
"updated_at": "2026-06-08T16:08:03+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource"
},
"primary_accounts": {
"uuid": "28f9f0b8-6cec-4324-82df-61acde0e4378",
"created_at": "2026-06-08T16:08:03+01:00",
"updated_at": "2026-06-08T16:08:03+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource"
}
}
]
]
}