Skip to main content
GET
/
v1
/
accounts
cURL
curl --request GET \
  --url https://api.nxos.io/v1/accounts \
  --header 'Authorization: <authorization>'
{
  "object": "list",
  "data": [
    {
      "object": "account",
      "accountId": "acct_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
      "name": "Main",
      "description": null,
      "isPrimary": true,
      "status": "ACTIVE",
      "fundingMethods": [],
      "createdAt": "2025-01-15T10:30:00.000Z",
      "updatedAt": "2025-01-15T10:30:00.000Z"
    }
  ],
  "hasMore": true,
  "nextCursor": "<string>"
}

Headers

Authorization
string
required

Bearer token. Format: Bearer <api_key>

Query Parameters

limit
integer<int32>
default:25

Maximum number of items to return. Defaults to 25, max 100.

cursor
string

Cursor for the next page of results, returned in previous responses.

Response

The request has succeeded.

Paginated list envelope. All list endpoints return this shape.

object
enum<string>
required

Object type. Always list for paginated responses.

Available options:
list
data
object[]
required

Array of results.

hasMore
boolean
required

Whether more results are available beyond this page.

nextCursor
string | null
required

Cursor to pass as cursor query parameter for the next page. Null when there are no more results.