Skip to content
Support

Contacts API

Owner, AdminLast checked 25 November 20266 min readArticle ID: developers-api-contacts
On this page

4 endpoints for contacts: list contacts; create a contact; get a contact; update a contact.

List contacts

GET /api/v1/contacts

Offset mode by default (newest first, meta.total). Pass updated_since or cursor for sync mode (oldest change first, keyset paging, no total). See the pagination guide. Archived records are left out. Unknown query parameters are ignored. email, phone and search narrow the list (all given must match), as the Contacts list in the app does, so you can find a contact before creating one. A filter sent empty, or a phone with fewer than 3 digits, is validation_failed.

Scope: read:contacts

Parameters

NameInTypeRequiredDescription
per_pagequeryintegerPage size. Out-of-range values are clamped to 1..100.
pagequeryintegerPage number, newest first. Offset mode only; ignored in sync mode.
updated_sincequerystringSwitches to sync mode: rows changed at or after this date or timestamp (a bare date is midnight UTC), oldest change first. Rows are listed once they have settled (5 seconds).
cursorquerystringThe meta.next_cursor of a previous response; continues strictly after the last row received. Switches to sync mode. A value this API did not issue is validation_failed.
emailquerystringContacts whose email or billing email contains this, ignoring case. A full address finds that contact; part of one (a domain) finds every contact with it.
phonequerystringContacts with these digits in any of their phone numbers. Only the digits count, and a leading 0 may be left off, so 0412 345 678 finds +61412345678. At least 3 digits.
searchquerystringThe app's Contacts search box, ignoring case. Matches the name, first or last name, company, either email, or any phone number as stored.
If-None-MatchheaderstringThe ETag of a copy you already have. When the response would be unchanged you get 304 Not Modified with no body. Tags are per business.

Response: 200 OK

{
  "data": [
    {
      "id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
      "first_name": "Sam",
      "last_name": "Taylor",
      "company_name": "Taylor Property Group",
      "job_title": "Property manager",
      "email": "sam@example.com",
      "billing_email": "sam@example.com",
      "home_phone": "07 3000 0001",
      "work_phone": "07 3000 0000",
      "mobile_phone": "0400 000 000",
      "preferred_contact_method": "mobile",
      "address": {
        "line_1": "12 Example Street",
        "line_2": "Unit 3",
        "city": "Brisbane",
        "state": "QLD",
        "postal_code": "4000"
      },
      "notes": "Side gate is unlocked.",
      "created_at": "2026-11-03T01:00:00+00:00",
      "updated_at": "2026-11-03T01:00:00+00:00"
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 25,
    "total": 1
  }
}

Errors: 304, 401, 403, 422, 429, 500, 503. See Errors.

Create a contact

POST /api/v1/contacts

Scope: write:contacts

Parameters

NameInTypeRequiredDescription
Idempotency-KeyheaderstringOptional. Repeat a write with the same key and body to get the first answer back (with Idempotent-Replayed: true) instead of doing it twice. Keys are per app.

Request body

FieldTypeRequiredDescription
first_namestring, nullable
last_namestring, nullable
namestring, nullable
company_namestring, nullable
job_titlestring, nullable
emailstring (email), nullable
billing_emailstring (email), nullable
phonestring, nullable
home_phonestring, nullable
work_phonestring, nullable
mobile_phonestring, nullable
preferred_contact_methodmobile, work, home, email, null
address_line_1string, nullable
address_line_2string, nullable
citystring, nullable
statestring, nullableA subdivision code valid for the business's market.
postal_codestring, nullableValid for the business's market.
latitudenumber, nullable
longitudenumber, nullable
google_place_idstring, nullable
notesstring, nullable
{
  "first_name": "Sam",
  "last_name": "Taylor",
  "name": "Sam Taylor",
  "company_name": "Taylor Property Group",
  "job_title": "Property manager",
  "email": "sam@example.com",
  "billing_email": "sam@example.com",
  "phone": "0400 000 000",
  "home_phone": "07 3000 0001",
  "work_phone": "07 3000 0000",
  "mobile_phone": "0400 000 000",
  "preferred_contact_method": "mobile",
  "address_line_1": "12 Example Street",
  "address_line_2": "Unit 3",
  "city": "Brisbane",
  "state": "QLD",
  "postal_code": "4000",
  "latitude": 0,
  "longitude": 0,
  "google_place_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
  "notes": "Side gate is unlocked."
}

Response: 201 Created.

{
  "data": {
    "id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "first_name": "Sam",
    "last_name": "Taylor",
    "company_name": "Taylor Property Group",
    "job_title": "Property manager",
    "email": "sam@example.com",
    "billing_email": "sam@example.com",
    "home_phone": "07 3000 0001",
    "work_phone": "07 3000 0000",
    "mobile_phone": "0400 000 000",
    "preferred_contact_method": "mobile",
    "address": {
      "line_1": "12 Example Street",
      "line_2": "Unit 3",
      "city": "Brisbane",
      "state": "QLD",
      "postal_code": "4000"
    },
    "notes": "Side gate is unlocked.",
    "created_at": "2026-11-03T01:00:00+00:00",
    "updated_at": "2026-11-03T01:00:00+00:00"
  }
}

Errors: 401, 403, 409, 422, 429, 500, 503. See Errors.

Get a contact

GET /api/v1/contacts/{id}

Scope: read:contacts

Parameters

NameInTypeRequiredDescription
idpathstringyesThe record id (a ULID).
If-None-MatchheaderstringThe ETag of a copy you already have. When the response would be unchanged you get 304 Not Modified with no body. Tags are per business.

Response: 200 OK

{
  "data": {
    "id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "first_name": "Sam",
    "last_name": "Taylor",
    "company_name": "Taylor Property Group",
    "job_title": "Property manager",
    "email": "sam@example.com",
    "billing_email": "sam@example.com",
    "home_phone": "07 3000 0001",
    "work_phone": "07 3000 0000",
    "mobile_phone": "0400 000 000",
    "preferred_contact_method": "mobile",
    "address": {
      "line_1": "12 Example Street",
      "line_2": "Unit 3",
      "city": "Brisbane",
      "state": "QLD",
      "postal_code": "4000"
    },
    "notes": "Side gate is unlocked.",
    "created_at": "2026-11-03T01:00:00+00:00",
    "updated_at": "2026-11-03T01:00:00+00:00"
  }
}

Errors: 304, 401, 403, 404, 429, 500, 503. See Errors.

Update a contact

PATCH /api/v1/contacts/{id}

Changes only the fields sent; send null to clear one. Phone numbers are read in the business's market. An archived contact can't be edited (validation_failed), and an empty body is refused. Fires contact.updated.

Scope: write:contacts

Parameters

NameInTypeRequiredDescription
idpathstringyesThe record id (a ULID).
Idempotency-KeyheaderstringOptional. Repeat a write with the same key and body to get the first answer back (with Idempotent-Replayed: true) instead of doing it twice. Keys are per app.

Request body

FieldTypeRequiredDescription
first_namestring, nullable
last_namestring, nullable
namestringChanges the display name; it can't be cleared (first and last name stay its source), so null is refused.
company_namestring, nullable
job_titlestring, nullable
emailstring (email), nullable
billing_emailstring (email), nullable
phonestring, nullable
home_phonestring, nullable
work_phonestring, nullable
mobile_phonestring, nullable
preferred_contact_methodmobile, work, home, email, null
address_line_1string, nullable
address_line_2string, nullable
citystring, nullable
statestring, nullableA subdivision code valid for the business's market.
postal_codestring, nullableValid for the business's market.
latitudenumber, nullable
longitudenumber, nullable
google_place_idstring, nullable
notesstring, nullable
{
  "first_name": "Sam",
  "last_name": "Taylor",
  "name": "Sam Taylor",
  "company_name": "Taylor Property Group",
  "job_title": "Property manager",
  "email": "sam@example.com",
  "billing_email": "sam@example.com",
  "phone": "0400 000 000",
  "home_phone": "07 3000 0001",
  "work_phone": "07 3000 0000",
  "mobile_phone": "0400 000 000",
  "preferred_contact_method": "mobile",
  "address_line_1": "12 Example Street",
  "address_line_2": "Unit 3",
  "city": "Brisbane",
  "state": "QLD",
  "postal_code": "4000",
  "latitude": 0,
  "longitude": 0,
  "google_place_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
  "notes": "Side gate is unlocked."
}

Response: 200 OK

{
  "data": {
    "id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "first_name": "Sam",
    "last_name": "Taylor",
    "company_name": "Taylor Property Group",
    "job_title": "Property manager",
    "email": "sam@example.com",
    "billing_email": "sam@example.com",
    "home_phone": "07 3000 0001",
    "work_phone": "07 3000 0000",
    "mobile_phone": "0400 000 000",
    "preferred_contact_method": "mobile",
    "address": {
      "line_1": "12 Example Street",
      "line_2": "Unit 3",
      "city": "Brisbane",
      "state": "QLD",
      "postal_code": "4000"
    },
    "notes": "Side gate is unlocked.",
    "created_at": "2026-11-03T01:00:00+00:00",
    "updated_at": "2026-11-03T01:00:00+00:00"
  }
}

Errors: 401, 403, 404, 409, 422, 429, 500, 503. See Errors.

In this section