Skip to main content
GET
/
api
/
v1
/
accounts
List accounts
curl --request GET \
  --url https://app.sure.am/api/v1/accounts \
  --header 'X-Api-Key: <api-key>'
{
  "accounts": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "balance": "<string>",
      "currency": "<string>",
      "classification": "<string>",
      "account_type": "<string>"
    }
  ],
  "pagination": {
    "page": 2,
    "per_page": 2,
    "total_count": 1,
    "total_pages": 1
  }
}

Authorizations

X-Api-Key
string
header
required

API key for authentication. Generate one from your account settings.

Query Parameters

page
integer

Page number (default: 1)

per_page
integer

Items per page (default: 25, max: 100)

Response

200 - application/json

accounts paginated

accounts
object[]
required
pagination
object
required