Skip to main content
GET
/
v1
/
contacts
/
{id}
Get a contact by ID
curl --request GET \
  --url https://dev-public-api.openphone.dev/v1/contacts/{id} \
  --header 'Authorization: <api-key>'
{
  "data": {
    "id": "<string>",
    "externalId": "664d0db69fcac7cf2e6ec",
    "source": "public-api",
    "sourceUrl": "https://openphone.co/contacts/664d0db69fcac7cf2e6ec",
    "defaultFields": {
      "company": "OpenPhone",
      "emails": [
        {
          "name": "<string>",
          "value": "abc@example.com",
          "id": "<string>"
        }
      ],
      "firstName": "John",
      "lastName": "Doe",
      "phoneNumbers": [
        {
          "name": "<string>",
          "value": "+12345678901",
          "id": "<string>"
        }
      ],
      "role": "Sales"
    },
    "customFields": [
      {
        "name": "<string>",
        "type": "multi-select",
        "value": [
          "<string>"
        ],
        "key": "<string>",
        "id": "<string>"
      }
    ],
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "createdByUserId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

The unique identifier of the contact.

Example:

"66d0d87e8dc1211467372303"

Response

Success

data
object
required