List card requests

Changed on

List card requests, newest first. Without card access, only your own.

get/v2/card-requests

Request

  • Base URL
    https://api.slash.com
  • URL
    https://api.slash.com/v2/card-requests
  • Auth
    API key in header X-API-Key

Query parameters

cursorstring

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.

limitinteger

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.

statusstring[]

Return requests in these statuses.

requesterUserIdstring

Return requests made by one user.

accountIdstring

Return requests on one account.

Response

A page of card requests.

Example response

{
  "items": [
    {
      "id": "card_request_2rj4l7hmrrrcv",
      "name": "Ads – Meta",
      "accountId": "sa_group_2rj4l7hmrrrcv",
      "virtualAccountId": "subaccount_2rj4l7hmrrrcv",
      "cardGroupId": "card_group_2rj4l7hmrrrcv",
      "requesterUserId": "u_2rj4l7hmrrrcv",
      "requestedLimit": {
        "amount": {
          "amount": 1250
        }
      },
      "cardId": "c_2rj4l7hmrrrcv"
    }
  ]
}

Changes