GET
/
accounts
List Accounts
curl --request GET \
  --url https://api.useswift.dev/accounts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "created_at": "2024-01-31T23:59:59Z",
      "id": "account_vjb43lkAdf934jb13Df93",
      "name": "Acme, Inc.",
      "status": "active"
    }
  ],
  "next_cursor": "Y3Vyc29y"
}

Authorizations

Authorization
string
header
required

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

Response

Accounts

A list of Account objects.

data
Account · object[]
required

The contents of the list.

next_cursor
string | null
required

A pointer to a place in the list.