List Customers (v3)

Requires the Access the contacts and companies directory permission, which Account Owners can turn off per role or per user.

Use this endpoint to traverse your whole list of customers, page by page, or to look up customers by name, by a single email address (the email parameter), or by when they were created or modified. For more complex needs, use Search Customers (v3): its query language combines conditions with AND and OR across fields, looks up many email addresses or phone numbers in one request, and searches fields this endpoint has no parameter for, such as phone numbers and background notes.

Request

GET /v3/customers HTTP/1.1
Authorization: Bearer oauth_token

Request parameters can be used to filter customers. All parameters are joined by the AND operator.


curl https://api.helpscout.net/v3/customers?firstName=Amanda

Customers are sorted by creation date (createdAt) from newest to oldest using the customer id as tiebreaker.

URL Parameters

Parameter Type Examples Description
firstName string firstName=vernon
Filters customers by first name
lastName string lastName=bear
Filters customers by last name
email string email=john@appleseed.com
Filters customers by email
createdSince date createdSince=2018-05-04T12:00:03Z
Returns only customers that were created after this date
modifiedSince date modifiedSince=2018-05-04T12:00:03Z
Returns only customers that were modified after this date
cursor string cursor=eyJpZCI6MTIzfQ==
Cursor for pagination

Response

HTTP/1.1 200 OK
Content-Type: application/hal+json

{
  "_embedded" : {
    "customers" : [ {
      "_links" : {
        "address" : {
          "href" : "..."
        },
        "chats" : {
          "href" : "..."
        },
        "emails" : {
          "href" : "..."
        },
        "phones" : {
          "href" : "..."
        },
        "social-profiles" : {
          "href" : "..."
        },
        "websites" : {
          "href" : "..."
        },
        "self" : {
          "href" : "..."
        }
      },
      "id" : 100,
      "firstName" : "Vernon",
      "lastName" : "Bear",
      "gender" : "Male",
      "jobTitle" : "CEO and Co-Founder",
      "location" : "Greater Dallas/FT Worth Area",
      "organization" : "Acme, Inc",
      "organizationId" : 35,
      "photoType" : "twitter",
      "photoUrl" : "http://twitter.com/img/some-avatar.jpg",
      "age" : "30-35",
      "conversationCount" : 10,
      "createdAt" : "2012-07-23T12:34:12Z",
      "updatedAt" : "2012-07-24T20:18:33Z",
      "background" : "I've worked with Vernon before and he's really great.",
      "draft" : false,
      "_embedded" : {
        "emails" : [ ],
        "phones" : [ ],
        "chats" : [ ],
        "social_profiles" : [ ],
        "websites" : [ ],
        "properties" : [ ]
      }
    }, {
      "_links" : {
        "address" : {
          "href" : "..."
        },
        "chats" : {
          "href" : "..."
        },
        "emails" : {
          "href" : "..."
        },
        "phones" : {
          "href" : "..."
        },
        "social-profiles" : {
          "href" : "..."
        },
        "websites" : {
          "href" : "..."
        },
        "self" : {
          "href" : "..."
        }
      },
      "id" : 101,
      "firstName" : "Vernon",
      "lastName" : "Bear",
      "gender" : "Male",
      "jobTitle" : "CEO and Co-Founder",
      "location" : "Greater Dallas/FT Worth Area",
      "organization" : "Acme, Inc",
      "organizationId" : 35,
      "photoType" : "twitter",
      "photoUrl" : "http://twitter.com/img/some-avatar.jpg",
      "age" : "30-35",
      "conversationCount" : 10,
      "createdAt" : "2012-07-23T12:34:12Z",
      "updatedAt" : "2012-07-24T20:18:33Z",
      "background" : "I've worked with Vernon before and he's really great.",
      "draft" : false,
      "_embedded" : {
        "emails" : [ ],
        "phones" : [ ],
        "chats" : [ ],
        "social_profiles" : [ ],
        "websites" : [ ],
        "properties" : [ ]
      }
    } ]
  },
  "_links" : {
    "next" : {
      "href" : "..."
    },
    "self" : {
      "href" : "..."
    },
    "first" : {
      "href" : "..."
    }
  }
}

Response fields

Path Type Description
_embedded.customers Array Array of Customer objects
_links.self Object Link to current page
_links.first Object Link to first page
_links.next Object Link to next page (only present when more data is available)