GET
/
contacts
/
{CONTACT_ID}
cURL
curl --request GET \
  --url https://api.alpharun.com/api/v1/contacts/{CONTACT_ID} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "email": "[email protected]",
  "phone_number": "<string>",
  "ext_id": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "custom_fields": [
    {
      "key": "<string>",
      "value": "<string>",
      "type": "<string>",
      "display_name": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

CONTACT_ID
string
required

The contact identifier, which can be either its UUID or its user-defined ext_id. When using the ext_id, the format should be alt:ext_id:<ext_id>.

Response

Contact fetched successfully

id
string

ID of the contact

email
string<email>

Email address of the contact

phone_number
string

Phone number of the contact

ext_id
string

Ext id of the contact

first_name
string

First name of the contact

last_name
string

Last name of the contact

custom_fields
object[]

Custom fields of the contact