GET
/
v1
/
businesses
/
{business_id}
/
customers

The GET endpoint lists all created customers within Layer. Only active customers are returned by default, but archived customers can be included via the include_archived flag.

Path Parameters

business_id
string
required

ID of the Business the customer is associated with.

Query Parameters

include_archived
boolean

Include archived customers in the response. Defaults to false.

Response

Returns a list of Customer objects