Skip to content

Get Contact

GET /external/v1/contacts/:id

Retrieves details of a specific contact by ID, including notes and marketing attribution (UTMs / first & last touch).

Authentication

Requires contacts:read permission.

Path Parameters

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the contact

Request

bash
curl --request GET \
  --url "https://app.getraze.com/external/v1/contacts/cnt_abc123def456" \
  --header "X-API-Key: YOUR_API_KEY"
javascript
const axios = require('axios');

const contactId = 'cnt_abc123def456';

const response = await axios.get(
  `https://app.getraze.com/external/v1/contacts/${contactId}`,
  { headers: { 'X-API-Key': 'YOUR_API_KEY' } }
);

console.log(response.data);
python
import requests

contact_id = 'cnt_abc123def456'

response = requests.get(
    f'https://app.getraze.com/external/v1/contacts/{contact_id}',
    headers={'X-API-Key': 'YOUR_API_KEY'}
)

print(response.json())

Response

json
{
  "success": true,
  "data": {
    "id": "cnt_abc123def456",
    "name": "John Doe",
    "email": "john@example.com",
    "phone": "+5511999999999",
    "company": "Acme Inc",
    "title": "CEO",
    "location": "São Paulo, BR",
    "linkedin_profile_url": "https://linkedin.com/in/johndoe",
    "source": "LinkedIn",
    "source_channel": "linkedin",
    "custom_fields": {
      "industry": "Technology",
      "company_size": "50-200"
    },
    "last_interaction": "2026-01-20T14:00:00Z",
    "created_at": "2026-01-15T10:30:00Z",
    "updated_at": "2026-01-20T14:00:00Z",
    "tags": [
      { "id": "tag_01", "name": "prospect", "color": "blue" }
    ],
    "notes": [
      { "id": "note_01", "note": "Met at the SaaS conference", "created_at": "2026-01-16T09:00:00Z" }
    ],
    "attribution": {
      "first_utm_source": "google",
      "first_utm_medium": "cpc",
      "first_utm_campaign": "black_friday",
      "first_channel": "paid",
      "first_landing_url": "https://acme.com/lp-demo",
      "first_touch": { "utm_source": "google", "gclid": "abc123" },
      "last_touch": { "utm_source": "linkedin" },
      "touch_count": 4,
      "first_seen_at": "2026-01-10T08:00:00Z",
      "last_seen_at": "2026-01-19T18:00:00Z"
    }
  }
}

Response Fields

FieldTypeDescription
idstringUnique contact identifier
namestringFull name
emailstringEmail address
phonestringPhone number
companystringCompany name
titlestringJob title/position
locationstringLocation
linkedin_profile_urlstringLinkedIn profile URL
sourcestringLead source label
source_channelstringSource channel
custom_fieldsobjectCustom field key-value pairs
last_interactionstringISO 8601 timestamp of the last interaction
tagsarrayTag objects (id, name, color)
notesarrayContact notes (id, note, created_at)
attributionobjectMarketing attribution (nullable when no touches were captured)
attribution.first_utm_*stringFirst-touch UTM parameters
attribution.first_channelstringFirst-touch channel classification
attribution.first_landing_urlstringFirst landing page URL
attribution.first_touch / last_touchobjectRaw first/last touch blobs (UTMs, click ids, referrer…)
attribution.touch_countintegerNumber of captured touches

Errors

StatusCodeDescription
404NOT_FOUNDContact with this ID was not found

GetRaze - AI-Powered Lead Generation