Skip to content

Get Contact

GET /external/v1/contacts/:id

Retrieves details of a specific contact by ID.

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",
    "position": "CEO",
    "source": "linkedin",
    "linkedin_url": "https://linkedin.com/in/johndoe",
    "tags": ["prospect", "decision-maker"],
    "custom_fields": {
      "industry": "Technology",
      "company_size": "50-200"
    },
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-20T14:00:00Z"
  }
}

Response Fields

FieldTypeDescription
idstringUnique contact identifier
namestringFull name
emailstringEmail address
phonestringPhone number
companystringCompany name
positionstringJob title/position
sourcestringLead source
linkedin_urlstringLinkedIn profile URL
tagsarrayArray of tag strings
custom_fieldsobjectCustom field key-value pairs
created_atstringISO 8601 creation timestamp
updated_atstringISO 8601 last update timestamp

Errors

StatusCodeDescription
404NOT_FOUNDContact with this ID was not found

GetRaze - AI-Powered Lead Generation