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.

  • 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, name, value]. Negative sign to denote DESC. Defaults to 'created_at'.

  • per_page integer

    Number of results to return with pagination (Default 15. Max 500).

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
GET /api/v2/contact-details
curl \
 --request GET 'https://api.plannrcrm.com/api/v2/contact-details' \
 --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": "Personal number",
      "type": "email",
      "uuid": "29e9fdbb-69eb-4efd-a4ee-261dfff324b6",
      "value": "+443330903630",
      "accounts": {
        "name": "Gareth Thompson",
        "role": "client",
        "type": "client",
        "uuid": "a8657863-c5aa-4f71-a224-228b81ae834c",
        "email": "gareth@codepotato.co.uk",
        "last_name": "Thompson",
        "photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
        "created_at": "2025-06-05T11:39:43+01:00",
        "first_name": "Gareth",
        "updated_at": "2025-06-05T11:39:43+01:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource"
      },
      "created_at": "2025-06-05T11:39:43+01:00",
      "updated_at": "2025-06-05T11:39:43+01:00",
      "primary_accounts": {
        "name": "Gareth Thompson",
        "role": "client",
        "type": "client",
        "uuid": "8f032764-af12-4391-88b2-f8a97e03192a",
        "email": "gareth@codepotato.co.uk",
        "last_name": "Thompson",
        "photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
        "created_at": "2025-06-05T11:39:43+01:00",
        "first_name": "Gareth",
        "updated_at": "2025-06-05T11:39:43+01:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource"
      },
      "phone_number_meta": {
        "country": "GB",
        "formatted": "0333 090 3630"
      }
    }
  ]
}