---
title: "Get contact details by phone number"
method: GET
path: "/v2/contacts/{phone_number}"
tags: ["contacts-v2"]
---

# Get contact details by phone number

`GET /v2/contacts/{phone_number}`

## Request

- Base URL: `https://api.tracklysms.com/api`
- URL: `https://api.tracklysms.com/api/v2/contacts/{phone_number}`
- Auth: API key in header `X-Api-Key`

Returns contact info across ALL lists the account owns.

## Response `200`

Success

- ContactDetailResponse
  - `carrier` string: Carrier name
  - `country` string: ISO 3166-1 alpha-2 country code
  - `is_valid` boolean: Phone validity
  - `line_type` string: Line type
  - `lists` ContactListMembership[]: List memberships
    - `active` boolean: Subscription status
    - `click_count` integer: Total clicks
    - `custom_fields` object: Custom fields
    - `list_id` integer: Sending list ID
    - `list_number` string: Sending list phone number
    - `send_count` integer: Total sends
    - `signup_date` string, date-time: Signup date
    - `unsub_date` string, date-time: Unsubscribe date, if unsubscribed
    - `unsub_reason` string: Reason for unsubscribe, if unsubscribed
  - `phone_number` string: Contact phone number (E.164)
  - `timezone` string: Timezone

## Other responses

- `400`: Invalid phone number
- `401`: Authentication error
- `404`: Contact not found

---

[API](https://skmtc.dev/tracklysms/apis/trackly-sms-api.md) · [All operations](https://skmtc.dev/tracklysms/apis/trackly-sms-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tracklysms/apis/trackly-sms-api/revisions/ac1ad22cb2a9?raw)
