Skip to main content
You have your Location ID and API key. Let’s make a real call.

Fetch your contacts

This retrieves the first 5 contacts in your account — a simple read operation that confirms everything is working.
curl -X GET "https://services.leadconnectorhq.com/contacts/?locationId=YOUR_LOCATION_ID&limit=5" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Version: 2021-07-28"

What you get back

{
  "contacts": [
    {
      "id": "abc123",
      "name": "Jane Smith",
      "email": "jane@example.com",
      "phone": "+15551234567",
      "tags": ["lead", "website-visitor"],
      "dateAdded": "2025-01-15T10:30:00.000Z"
    }
  ],
  "meta": {
    "total": 142,
    "currentPage": 1,
    "nextPage": 2
  }
}
The meta object tells you the total number of matching records and how to paginate. See Making Requests for pagination details.

Common errors

StatusMeaningFix
401 UnauthorizedMissing or invalid tokenCheck your Authorization: Bearer header
403 ForbiddenToken lacks the required scopeGo to Private Integrations and add the Contacts (Read) scope
422 UnprocessableMissing required fieldCheck the API reference for required parameters
429 Too Many RequestsRate limit hitBack off and retry — max 100 requests / 10 seconds

Try creating a contact

Once reads work, try a write:
curl -X POST "https://services.leadconnectorhq.com/contacts/" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Version: 2021-07-28" \
  -H "Content-Type: application/json" \
  -d '{
    "locationId": "YOUR_LOCATION_ID",
    "firstName": "Test",
    "lastName": "Contact",
    "email": "test@example.com"
  }'

What’s next

Last modified on March 6, 2026