Skip to main content

Get Contact

Retrieve a specific contact by UUID, including associated lists and custom fields.

Request

GET /contacts/{uuid}

Path Parameters

ParameterTypeDescription
uuidstringContact's UUID

Example Request

curl -X GET "https://email.easy.tools/api/v1/contacts/550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"

Response

Success Response (200 OK)

{
"data": {
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"email": "john@example.com",
"first_name": "John",
"last_name": "Doe",
"phone": "+48123456789",
"external_id": "customer_123",
"language": "en",
"country_code": "US",
"lists": [
{
"uuid": "list-uuid-1",
"name": "Newsletter"
}
],
"custom_fields": [
{
"field_key": "company",
"value": "Acme Inc"
},
{
"field_key": "events-attended",
"value": ["Webinar X", "Webinar Y"]
}
],
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:30:00Z"
}
}

Response Fields

FieldTypeDescription
uuidstringContact's unique identifier
emailstringContact's email address
first_namestring|nullContact's first name
last_namestring|nullContact's last name
phonestring|nullContact's phone number
external_idstring|nullExternal identifier for integration purposes
languagestring|nullISO 639-1 language code
country_codestring|nullISO 3166-1 alpha-2 country code
listsarrayLists the contact belongs to
custom_fieldsarrayCustom field values for this contact. Each entry has field_key and value; list fields return value as an array of strings.
created_atstringISO 8601 timestamp (UTC)
updated_atstringISO 8601 timestamp (UTC)

Error Responses

Not Found Error (404)

{
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Contact with UUID '550e8400-e29b-41d4-a716-446655440000' not found"
}
}