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": [
{
"name": "Personal number",
"type": "email",
"uuid": "35856671-0052-43a2-8766-9ff40329a242",
"value": "+443330903630",
"accounts": {
"name": "Gareth Thompson",
"role": "client",
"type": "client",
"uuid": "8a748851-f27b-44cd-af10-822c125d2a69",
"email": "gareth@codepotato.co.uk",
"last_name": "Thompson",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"created_at": "2026-03-18T16:05:27+00:00",
"first_name": "Gareth",
"updated_at": "2026-03-18T16:05:27+00:00",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource"
},
"created_at": "2026-03-18T16:05:27+00:00",
"updated_at": "2026-03-18T16:05:27+00:00",
"primary_accounts": {
"name": "Gareth Thompson",
"role": "client",
"type": "client",
"uuid": "adf9ac21-d3ec-44ff-b5d3-2cba756d7645",
"email": "gareth@codepotato.co.uk",
"last_name": "Thompson",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"created_at": "2026-03-18T16:05:27+00:00",
"first_name": "Gareth",
"updated_at": "2026-03-18T16:05:27+00:00",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource"
},
"phone_number_meta": {
"country": "GB",
"formatted": "0333 090 3630"
}
}
]
}