Skip to main content
GET
/
v1
/
accounts
Get Accounts
curl --request GET \
  --url https://sandbox-api.borderless.xyz/v1/accounts \
  --header 'Authorization: Bearer <token>'
{
  "hasMore": true,
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "addresses": [
        {
          "id": "<string>",
          "asset": "POL",
          "address": "<string>"
        }
      ],
      "identityId": "<string>",
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

namePrefix
string

A prefix to filter accounts by name.

Example:

"Main"

identityId
string

The id of the identity to filter accounts.

Example:

"cm9db4g2s2r7ro224ra6u1qvh"

startingAfter
string

Id used to retrieve results that come after the specified item.

limit
number

Response page limit. Min 1, Max 100, Default value is 10.

Response

200 - application/json

List of Accounts and hasMore flag.

hasMore
boolean
required
data
object[]
required