Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.centryos.xyz/llms.txt

Use this file to discover all available pages before exploring further.

When to use

Use this to list all accounts you’ve created (users and businesses) for dashboards or reconciliation.

Endpoint

  • GET {{ACCOUNT_URL}}/v1/ext/account/users
  • Auth: Bearer {{accessToken}}
  • Query params: limit (max 10), page (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 page through results.