Customer collection
Get all customers, limited by parameters. The result will
match all parameters with AND.
Search is done by prefix match, and + in phone_number/email
must be URL encoded, (+4799999999 => %2B4799999999)
Users with type contact are by default excluded from the result,
use type=contact or type=any to include contact users
The response from a request that match contact users will include the users that are linked from the contact
scopes:
- admin:customers
- read:customers
Authorizations
Bearer authentication (token authentication) should be used for accessing the API.
Use Get Token to get an access token for client credentials. Pass the token in the request header:
where the access_token is JSON Web Tokens (JWT).
Path Parameters
Query Parameters
cursor for use in pagination. starting_after is an object ID
that defines your place in the list. For instance, if you make
a list request and receive 100 objects, end the result contains
paging_token=pt1, your subsequent call can include
starting_after=pt1 in order to fetch the next page of the list.
Response
Customer collection
Describe type of a user.
companyproperty is required when using the typecompanycompanyproperty is only supported for users with typeotherorcompany- Creating or updating user with type
employeeorotherrequiresadmin:customersorwrite:customersscope. - User login is only available for users with type
customerorcompany
customer, company, contact, employee, other A set of key/value pairs that you can attach to a customer object. It can be useful for storing additional information about the customer in a structured format. You can unset an individual key by setting its value to null and then saving. To clear all keys, set metadata to null
customer email,
case insensitive duplication control prevents
multiple user with same type to have equal email
customer@example.com is equal to CUStOMer@EXAMPLE.com
"customer@example.com"