Skip to main content
GET
List cards

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

The opaque metadata.nextCursor value from the previous page. It carries that page's filters, page size and ordering, so pass it on its own; see Pagination.

limit
integer

Number of items per page, from 1 to 100. The page size is carried inside metadata.nextCursor, so later pages keep the same size unless limit is passed again to change it.

Required range: 1 <= x <= 100
status
enum<string>[]

Return cards in these statuses. Defaults to every status but closed.

Available options:
pending,
awaiting_activation,
active,
paused,
inactive,
closed
type
enum<string>

Return virtual or physical cards.

Available options:
virtual,
physical
accountId
string

Return cards issued on one account.

virtualAccountId
string

Return cards on one virtual account.

cardGroupId
string

Return cards in one card group.

cardholderUserId
string

Return cards held by one user.

Match on the card name, its last four digits or its id.

Required string length: 1 - 200

Response

A page of cards.

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