Skip to content

List Contacts

GET /external/v1/contacts

Returns a paginated list of all contacts in your account.

Authentication

Requires contacts:read permission.

Query Parameters

ParameterTypeDefaultDescription
pageinteger1Page number for pagination
limitinteger20Items per page (1-100)
searchstring-Search by name, email, or company
companystring-Filter by company name
emailstring-Filter by email address
sourcestring-Filter by source (linkedin, google_maps, list)
tagsstring-Filter by tags (comma-separated)
sort_bystringcreated_atSort field
sort_orderstringdescSort order (asc, desc)

Request

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

const response = await axios.get('https://app.getraze.com/external/v1/contacts', {
  headers: {
    'X-API-Key': 'YOUR_API_KEY'
  },
  params: {
    page: 1,
    limit: 20,
    search: 'john'
  }
});

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

response = requests.get(
    'https://app.getraze.com/external/v1/contacts',
    headers={'X-API-Key': 'YOUR_API_KEY'},
    params={'page': 1, 'limit': 20}
)

print(response.json())

Response

json
{
  "success": true,
  "data": {
    "contacts": [
      {
        "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": {},
        "created_at": "2024-01-15T10:30:00Z",
        "updated_at": "2024-01-20T14:00:00Z"
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 20,
      "total": 150,
      "total_pages": 8
    }
  }
}

Response Fields

FieldTypeDescription
contactsarrayList of contact objects
pagination.pageintegerCurrent page number
pagination.limitintegerItems per page
pagination.totalintegerTotal number of contacts
pagination.total_pagesintegerTotal number of pages

GetRaze - AI-Powered Lead Generation