Contacts
Page number to fetch, 1-indexed. Defaults to 1.
Number of results per page (1-100). Defaults to the API's standard page size if omitted.
Lucene-style filter query (e.g. status:active AND createdAt:[2024-01-01 TO *]). Field names match the Contact object's own fields. This syntax is part of an in-flight migration (see docs/design/lucene-migration-json-filter-spec.md) and may change.
Field name to sort by. One of id, firstName, lastName, secondaryFirstName, secondaryLastName, company, email, alternateEmail, phoneNumber, phoneNumberExt, alternatePhoneNumber, alternatePhoneNumberExt, preferredContactMethod, address, city, state, zip, leadSource, source.provider, source.id, timestamp.created, timestamp.updated. createdAt and updatedAt are accepted for timestamp.created and timestamp.updated. A :asc or :desc suffix (e.g. timestamp.updated:desc) sets the direction, and a leading - (e.g. -timestamp.updated) means descending. Either one overrides sortDir, and the suffix wins over the prefix. Any other field returns a 400. Defaults to timestamp.updated.
Sort direction: asc or desc. Only takes effect when sort is set.
List of contacts
Bad Request
Not Authorized
Not found
Unexpected error
GET /v2/contacts HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"totalRows": 1,
"page": 1,
"perPage": 1,
"rows": [
{
"id": "abcd1234-abcd-1234-abcd-abcd1234abcd",
"firstName": "Bob",
"lastName": "Johnson",
"company": "Johnson Construction",
"email": "bob@johnsonconstruction.com",
"phoneNumber": "5551234567"
}
]
}The unique ID of the Contact. Ignored when creating & updating contacts
The First Name of the Contact.
The Last Name of the Contact
The secondary First Name of the Contact
The secondary Last Name of the Contact
The name of the Company this Contact is associated with
The email address of this Contact
The alternate email address of this Contact
The phone number of this Contact
The phone number extension of this Contact
The alternate phone number of this Contact
The alternate phone number extension of this Contact
The preferred contact method for this Contact
The address of this Contact
The city of this Contact
The state of this Contact
The zip or postal code of this Contact
The lead source of this Contact
A note about this Contact
Tags associated with this Contact
Details about the new Contact
The unique ID of the Contact. Ignored when creating & updating contacts
The First Name of the Contact.
The Last Name of the Contact
The secondary First Name of the Contact
The secondary Last Name of the Contact
The name of the Company this Contact is associated with
The email address of this Contact
The alternate email address of this Contact
The phone number of this Contact
The phone number extension of this Contact
The alternate phone number of this Contact
The alternate phone number extension of this Contact
The preferred contact method for this Contact
The address of this Contact
The city of this Contact
The state of this Contact
The zip or postal code of this Contact
The lead source of this Contact
A note about this Contact
Tags associated with this Contact
Bad Request
Not Authorized
Not found
Unexpected error
POST /v2/contacts HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 182
{
"id": "abcd1234-abcd-1234-abcd-abcd1234abcd",
"firstName": "Bob",
"lastName": "Johnson",
"company": "Johnson Construction",
"email": "bob@johnsonconstruction.com",
"phoneNumber": "5551234567"
}{
"id": "abcd1234-abcd-1234-abcd-abcd1234abcd",
"firstName": "Bob",
"lastName": "Johnson",
"company": "Johnson Construction",
"email": "bob@johnsonconstruction.com",
"phoneNumber": "5551234567"
}ID of the Contact
Details about the contact
The unique ID of the Contact. Ignored when creating & updating contacts
The First Name of the Contact.
The Last Name of the Contact
The secondary First Name of the Contact
The secondary Last Name of the Contact
The name of the Company this Contact is associated with
The email address of this Contact
The alternate email address of this Contact
The phone number of this Contact
The phone number extension of this Contact
The alternate phone number of this Contact
The alternate phone number extension of this Contact
The preferred contact method for this Contact
The address of this Contact
The city of this Contact
The state of this Contact
The zip or postal code of this Contact
The lead source of this Contact
A note about this Contact
Tags associated with this Contact
Bad Request
Not Authorized
Not found
Unexpected error
GET /v2/contacts/{id} HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "abcd1234-abcd-1234-abcd-abcd1234abcd",
"firstName": "Bob",
"lastName": "Johnson",
"company": "Johnson Construction",
"email": "bob@johnsonconstruction.com",
"phoneNumber": "5551234567"
}ID of the Contact
The unique ID of the Contact. Ignored when creating & updating contacts
The First Name of the Contact.
The Last Name of the Contact
The secondary First Name of the Contact
The secondary Last Name of the Contact
The name of the Company this Contact is associated with
The email address of this Contact
The alternate email address of this Contact
The phone number of this Contact
The phone number extension of this Contact
The alternate phone number of this Contact
The alternate phone number extension of this Contact
The preferred contact method for this Contact
The address of this Contact
The city of this Contact
The state of this Contact
The zip or postal code of this Contact
The lead source of this Contact
A note about this Contact
Tags associated with this Contact
The updated contact
The unique ID of the Contact. Ignored when creating & updating contacts
The First Name of the Contact.
The Last Name of the Contact
The secondary First Name of the Contact
The secondary Last Name of the Contact
The name of the Company this Contact is associated with
The email address of this Contact
The alternate email address of this Contact
The phone number of this Contact
The phone number extension of this Contact
The alternate phone number of this Contact
The alternate phone number extension of this Contact
The preferred contact method for this Contact
The address of this Contact
The city of this Contact
The state of this Contact
The zip or postal code of this Contact
The lead source of this Contact
A note about this Contact
Tags associated with this Contact
Bad Request
Not Authorized
Not found
Unexpected error
PUT /v2/contacts/{id} HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 182
{
"id": "abcd1234-abcd-1234-abcd-abcd1234abcd",
"firstName": "Bob",
"lastName": "Johnson",
"company": "Johnson Construction",
"email": "bob@johnsonconstruction.com",
"phoneNumber": "5551234567"
}{
"id": "abcd1234-abcd-1234-abcd-abcd1234abcd",
"firstName": "Bob",
"lastName": "Johnson",
"company": "Johnson Construction",
"email": "bob@johnsonconstruction.com",
"phoneNumber": "5551234567"
}ID of the Contact
No Content
No content
Bad Request
Not Authorized
Not found
Unexpected error
DELETE /v2/contacts/{id} HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?

