Skip to main content
GET
List accounts

Authorizations

X-API-Key
string
header
required

User API key authentication. Create a key under Settings → API keys in the Slash dashboard (https://app.slash.com/global-settings/api-keys) and send the x-legal-entity header naming the legal entity to act on with every request. Keys scoped to a legal entity are rejected with 403 user_api_key_required.

Headers

The legal entity to act on. Required on every request; a user API key can act on any legal entity its user has access to.

Pattern: ^le_[a-zA-Z0-9]+$

Query Parameters

cursor
string

Pass the opaque value returned in metadata.nextCursor without changing the other query parameters.

includeClosed
boolean
default:false

Include closed Accounts. Defaults to false.

Response

A page of Accounts.

items
Account · object[]
required
metadata
PaginationMetadata · object
required