GET
/
customers
curl --request GET \
  --url https://eu.sequencehq.com/api/customers \
  --header 'Authorization: <authorization>'
{
  "items": [
    {
      "id": "e309e948-088e-4d77-b654-cd85498f1555",
      "createdAt": "2022-06-28T16:47:00Z",
      "legalName": "John Doe",
      "contactName": "John Doe",
      "address": {
        "line1": "Flat 1",
        "line2": "123 Fake Street",
        "town": "New York",
        "state": "NY",
        "postcode": "AB1 2EF",
        "country": "US"
      },
      "email": "john@example.com",
      "telephone": "02010001000",
      "url": "https://example.com/",
      "label": "Example customer",
      "integrationIds": [
        {
          "service": "Xero",
          "id": "ID",
          "lastSynced": "2022-06-28T16:47:00Z"
        },
        {
          "service": "Stripe",
          "id": "cus_OCtCxqQDgu1uX9",
          "lastSynced": "2022-06-28T16:47:00Z"
        }
      ],
      "archivedAt": "2022-06-28T16:47:00Z",
      "billingEmails": [
        "exampleCorpInvoices@example.com"
      ],
      "taxStatus": "TAXED"
    }
  ],
  "pagination": {
    "after": "MDE4NDUyNjYtNmQ2NC03N2M4LTlhZGYtNDQ4N2Q5NGQxNDU3",
    "before": "MDE4NDQyMWUtYTljYy03MTFiLWFmOTMtYmYwNTExZDRkODMz",
    "totalResultSize": 10
  }
}

Headers

Authorization
string
required

Your API credentials. Eg. Basic {credentials}.

Query Parameters

sortBy
string

Sort column. Default: creation time.

legalName
string

Filter by legal name

email
string

Filter by email

alias
string

Filter by alias

includeArchived
boolean

Include archived customers

before
string

Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from pagination.after or pagination.before to retrieve each page.

after
string

Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from pagination.after or pagination.before to retrieve each page.

limit
integer

Maximum number of objects to return per-page.

sortOrder
string

Sort order. Default: DESC (descending, most often used for reverse chronological sorting).

Response

200 - application/json
items
object[]
required

Customers

pagination
object
required

Results pagination