GET
/
customers
curl --request GET \
  --url https://eu.sequencehq.com/api/customers \
  --header 'Authorization: <authorization>'
{
  "items": [
    {
      "id": "e309e948-088e-4d77-b654-cd85498f1555",
      "createdAt": "2021-01-02T10:55:00Z",
      "organizations": [
        {
          "id": "c0dc4e79-ec52-4811-8cf5-addb2527915c",
          "owner": {
            "id": "50af5191-05a3-42a5-802a-6b59091157af",
            "name": "FinTech Solutions Inc."
          },
          "members": [
            {
              "id": "e309e948-088e-4d77-b654-cd85498f1555",
              "name": "Fintech Payment Processing"
            },
            {
              "id": "50af5191-05a3-42a5-802a-6b59091157af",
              "name": "Fintech Lending Services"
            }
          ]
        }
      ],
      "legalName": "Fintech Payment Processing",
      "address": {
        "line1": "7500 Bluewater Rd NW",
        "town": "Albuquerque",
        "state": "NY",
        "postcode": "87121",
        "country": "US"
      },
      "url": "https://example.com/",
      "domain": "example.com",
      "label": "Example customer",
      "integrationIds": [
        {
          "service": "Xero",
          "id": "2aaff66f-ef30-4599-b192-c168fd4cd226",
          "lastSynced": "2024-03-28T16:47:00Z",
          "isPending": false
        },
        {
          "service": "Stripe",
          "id": "cus_OCtCxqQDgu1uX9",
          "lastSynced": "2024-03-28T16:47:00Z",
          "isPending": false
        }
      ],
      "taxStatus": "TAXED"
    }
  ],
  "pagination": {
    "after": "MDE4NDUyNjYtNmQ2NC03N2M4LTlhZGYtNDQ4N2Q5NGQxNDU3",
    "before": "MDE4NDQyMWUtYTljYy03MTFiLWFmOTMtYmYwNTExZDRkODMz",
    "totalResultSize": 10
  }
}

Headers

Authorization
string
required

Your API credentials. Eg. Basic {credentials}.

Sequence-Version
enum<string>

Use this header to select an API version

Available options:
2024-07-30

Query Parameters

sortBy
string

Sort column. Default: creation time.

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. Must be between 1 and 100 (inclusive).

sortOrder
string

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

Response

200
application/json
OK
items
object[]
required

Customers

Example:
[
  {
    "id": "e309e948-088e-4d77-b654-cd85498f1555",
    "createdAt": "2021-01-02T10:55:00Z",
    "organizations": [
      {
        "id": "c0dc4e79-ec52-4811-8cf5-addb2527915c",
        "owner": {
          "id": "50af5191-05a3-42a5-802a-6b59091157af",
          "name": "FinTech Solutions Inc."
        },
        "members": [
          {
            "id": "e309e948-088e-4d77-b654-cd85498f1555",
            "name": "Fintech Payment Processing"
          },
          {
            "id": "50af5191-05a3-42a5-802a-6b59091157af",
            "name": "Fintech Lending Services"
          }
        ]
      }
    ],
    "legalName": "Fintech Payment Processing",
    "address": {
      "line1": "7500 Bluewater Rd NW",
      "town": "Albuquerque",
      "state": "NY",
      "postcode": "87121",
      "country": "US"
    },
    "url": "https://example.com/",
    "domain": "example.com",
    "label": "Example customer",
    "integrationIds": [
      {
        "service": "Xero",
        "id": "2aaff66f-ef30-4599-b192-c168fd4cd226",
        "lastSynced": "2024-03-28T16:47:00Z",
        "isPending": false
      },
      {
        "service": "Stripe",
        "id": "cus_OCtCxqQDgu1uX9",
        "lastSynced": "2024-03-28T16:47:00Z",
        "isPending": false
      }
    ],
    "taxStatus": "TAXED"
  }
]
pagination
object
required

Results pagination

Example:
{
  "after": "MDE4NDUyNjYtNmQ2NC03N2M4LTlhZGYtNDQ4N2Q5NGQxNDU3",
  "before": "MDE4NDQyMWUtYTljYy03MTFiLWFmOTMtYmYwNTExZDRkODMz",
  "totalResultSize": 10
}