SmakeSmake API Docs
EndpointsCustomers

List Customers

GET
/customers

Returns the customers who have placed orders in this app.

List

Returns a collection of customers.

Filtering

List of customers for specific email(s)
List of customers for specific external identifier(s)
  • /customers?filter[external_identifier]=12345
  • /customers?filter[external_identifier]=12345,67890

See: Pagination, Filtering

This collection is cursor paginated: links.first/links.last are null, links.next/links.prev carry the cursor URLs and meta contains next_cursor/prev_cursor instead of current_page.

AuthorizationBearer
AuthorizationBearer <token>

In: header

Query Parameters

filter[email]?string

List of customers for specific email(s) (exact match). Several values are separated by comma, e.g. filter[email][email protected],[email protected].

filter[external_identifier]?string

List of customers for specific external identifier(s) (exact match). Several values are separated by comma, e.g. filter[external_identifier]=12345,67890.

cursor?string

Cursor of the page to return — take it from meta.next_cursor / meta.prev_cursor or follow links.next / links.prev of the previous response.

per_page?integer

Number of objects per page (default 15, maximum 100) — see Basic Usage → Pagination.

Header Parameters

X-Api-Version?string

Response Body

application/json

application/json

Request example
curl -X GET "https://example.com/customers?filter%5Bemail%5D=system%40example.com&filter%5Bexternal_identifier%5D=cust-41&cursor=eyJjdXN0b21lcnMuaWQiOjE0LCJfcG9pbnRzVG9OZXh0SXRlbXMiOnRydWV9&per_page=3" \  -H "X-Api-Version: 2022-02-01"
{  "data": [    {      "id": 44,      "first_name": null,      "last_name": null,      "is_test": 0,      "email": "[email protected]",      "external_identifier": null,      "created_at": "2026-04-09T13:58:27+00:00",      "updated_at": "2026-04-09T13:58:27+00:00"    },    {      "id": 43,      "first_name": "Jane",      "last_name": "Doe",      "is_test": 0,      "email": "[email protected]",      "external_identifier": null,      "created_at": "2026-04-08T06:00:34+00:00",      "updated_at": "2026-04-08T06:00:34+00:00"    },    {      "id": 14,      "first_name": "John",      "last_name": "Doe",      "is_test": 0,      "email": "[email protected]",      "external_identifier": null,      "created_at": "2026-04-08T06:00:00+00:00",      "updated_at": "2026-04-08T06:00:00+00:00"    }  ],  "links": {    "first": null,    "last": null,    "prev": null,    "next": "https://api.smake.io/v2/apps/1/customers?per_page=3&cursor=eyJjdXN0b21lcnMuaWQiOjE0LCJfcG9pbnRzVG9OZXh0SXRlbXMiOnRydWV9"  },  "meta": {    "path": "https://api.smake.io/v2/apps/1/customers",    "per_page": 3,    "next_cursor": "eyJjdXN0b21lcnMuaWQiOjE0LCJfcG9pbnRzVG9OZXh0SXRlbXMiOnRydWV9",    "prev_cursor": null  }}