API documentation

Customers

Customers and their properties. Find a customer, or add one.

Endpoints

CallWhat it doesKey
GET /customersList customersAny key
GET /customers/{id}Get one customerAny key
GET /customers/findFind by email or phoneAny key
POST /customersAdd a customer (full access keys)Full access
GET /propertiesList propertiesAny key
GET /properties/{id}Get one propertyAny key

Customers

A customer is a person or a company you work for. Each has one or more properties.

List parameters for customers

ParameterValueWhat it does
limit1 to 100How many customers to return. Default 100.
starting_afteridThe id of the last record you received; the next page starts after it.
updated_sinceISO 8601 timeOnly records changed at or after this time.
created_sinceISO 8601 timeOnly records created at or after this time.
statusprospect, active, archivedOnly records with this status.
include_archivedtrue or falseInclude archived records. Default false.

The customer object

FieldTypeWhat it is
idid (UUID)The customer's id.
objectstringAlways "customer".
created_attime (ISO 8601, UTC)When it was created.
updated_attime (ISO 8601, UTC)When it last changed. Use with updated_since to fetch changes.
namestringThe name shown in ServiceStead.
company_namestring, or nullThe company, for a commercial customer.
typestring (one of the values below), or nullresidential or commercial.
statusstring (one of the values below), or nullWhere the customer stands. One of: prospect, active, archived.
contact_namestring, or nullThe primary contact's name.
emailstring, or nullThe primary contact's email.
phonestring, or nullThe primary contact's phone, 10 digits.
sourcestring, or nullHow the customer came to you.
archived_attime (ISO 8601, UTC), or nullWhen it was archived. Archived customers are left out of lists unless include_archived=true.
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000000001",
      "object": "customer",
      "created_at": "2026-11-03T14:20:00.000Z",
      "updated_at": "2026-11-03T14:20:00.000Z",
      "name": "Jordan Example",
      "company_name": null,
      "type": "residential",
      "status": "prospect",
      "contact_name": "Jordan Example",
      "email": "jordan@example.com",
      "phone": "2175550100",
      "source": "Example",
      "archived_at": null
    }
  ],
  "has_more": false
}

Find by email or phone

Exact matches only, on any of the customer's contacts. Archived customers are left out; at most 10 come back, newest first.

ParameterValueWhat it does
emailemailAn exact email, any letter case.
phonephoneAn exact phone, any formatting. Send email, phone or both.

Add a customer

Creating a customer never merges with an existing one, so find first. Needs a full access key. Send an Idempotency-Key header so a retried call does not add the customer twice.

FieldRequiredWhat it is
nameYesThe customer's name as it shows in ServiceStead.
typeNoresidential (default) or commercial.
company_nameFor commercialThe company.
contact_nameNoThe primary contact. Defaults to name.
emailEmail or phoneThe contact's email.
phoneEmail or phoneA 10-digit US or Canadian number, any format.
addressNoAn object: line_1, city, state and postal_code required; line_2 and country (US or CA) optional. Adds the customer's first property.
{
  "name": "Jordan Example",
  "email": "jordan@example.com",
  "phone": "217-555-0100",
  "address": {
    "line_1": "12 Example Street",
    "city": "Springfield",
    "state": "IL",
    "postal_code": "62701"
  }
}

Properties

A property is a place you work at. It belongs to one customer.

List parameters for properties

ParameterValueWhat it does
limit1 to 100How many properties to return. Default 100.
starting_afteridThe id of the last record you received; the next page starts after it.
updated_sinceISO 8601 timeOnly records changed at or after this time.
created_sinceISO 8601 timeOnly records created at or after this time.
statusactive, inactive, archivedOnly records with this status.
include_archivedtrue or falseInclude archived records. Default false.
customer_ididOnly records for this customer.

The property object

FieldTypeWhat it is
idid (UUID)The property's id.
objectstringAlways "property".
created_attime (ISO 8601, UTC)When it was created.
updated_attime (ISO 8601, UTC)When it last changed. Use with updated_since to fetch changes.
customer_idid (UUID)The customer it belongs to.
namestring, or nullA name for the property, such as Cottage.
address_line_1string, or nullThe property's street address.
address_line_2string, or nullUnit, suite or second line.
citystring, or nullCity or town.
statestring, or nullState or province.
postal_codestring, or nullZIP or postal code.
countrystring, or nullUS or CA.
statusstring (one of the values below), or nullWhether the property is in use. One of: active, inactive, archived.
archived_attime (ISO 8601, UTC), or nullWhen it was archived.
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000000001",
      "object": "property",
      "created_at": "2026-11-03T14:20:00.000Z",
      "updated_at": "2026-11-03T14:20:00.000Z",
      "customer_id": "00000000-0000-4000-8000-000000000002",
      "name": "Jordan Example",
      "address_line_1": "12 Example Street",
      "address_line_2": null,
      "city": "Springfield",
      "state": "IL",
      "postal_code": "62701",
      "country": "US",
      "status": "active",
      "archived_at": null
    }
  ],
  "has_more": false
}