---
title: "Get a contact"
method: GET
path: "/api/contacts/{contactId}"
tags: ["Contacts"]
---

# Get a contact

`GET /api/contacts/{contactId}`

## Request

- Base URL: `https://core-api.getaptly.com`
- URL: `https://core-api.getaptly.com/api/contacts/{contactId}`
- Auth: one of:
  - API key in header `x-token`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/getaptly/apis/aptly-api/docs/api/contacts/:contactId/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a single contact by its ID, with custom fields enriched by their type definitions.

## Path parameters

- `contactId` string, required

## Response `200`

Contact record.

- object
  - `data` Contact[]
    - `_id` string: MongoDB ObjectId of the contact.
    - `uuid` string
    - `firstname` string
    - `lastname` string
    - `fullName` string: Computed display name (first + last, or company name for org records).
    - `duogram` string: Two-letter initials derived from first and last name.
    - `photoId` string, nullable
    - `imageUrl` string, nullable: CDN thumbnail URL for the contact's photo, or null if none.
    - `email` string
    - `phone` string
    - `typeId` string
    - `companyId` string
    - `address` object
    - `title` string
    - `alerts` object[]
    - `company` string: Company name — populated when isCompany is true.
    - `isCompany` boolean
  - `count` integer
  - `page` integer
  - `pageSize` integer

## Other responses

- `401`: Invalid or missing API key.

---

[API](https://skmtc.dev/getaptly/apis/aptly-api.md) - [All operations](https://skmtc.dev/getaptly/apis/aptly-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getaptly/apis/aptly-api/revisions/75c367e0b8e5?raw)
