Skip to main content

Endpoint

  • Method: GET
  • URL: {{ACCOUNT_URL}}/v1/ext/account/users
  • Auth: Bearer {{accessToken}}
  • Query Params:
    • limit — max items (default 10, max 10)
    • page — page number (default 1)

Request

curl -X GET "{{ACCOUNT_URL}}/v1/ext/account/users?limit=10&page=1" \
  -H "Authorization: Bearer {{accessToken}}"

Response (200)

{
  "accounts": [
    {
      "id": "dXNlci0xNTU1",
      "email": "jontim@gmail.com",
      "firstName": "Jon Tim",
      "lastName": "Tim",
      "businessName": null,
      "type": "USER"
    },
    {
      "id": "OTA4NzA4NWUtZGMzMC00YzE3LTllMmEtZDgwNTg5MWQzMjU3",
      "email": "Tiana.Langworth49@example.org",
      "firstName": null,
      "lastName": null,
      "businessName": null,
      "type": "BUSINESS"
    }
  ],
  "meta": {
    "page": 1,
    "pageSize": 10,
    "pageCount": 1,
    "total": 5
  }
}

Notes

  • Returns both USER and BUSINESS accounts.
  • Use meta to paginate through large datasets.