Skip to main content
GET
List swaps

Authorizations

Authorization
string
header
required

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

Query Parameters

limit
integer

default to 10, maximum to 100

Required range: 1 <= x <= 100
startingAfter
string

Return records after this cursor.

endingBefore
string

Return records before this cursor.

status
enum<string>

Filter swaps by status.

Available options:
DRAFT,
CREATED,
PENDING,
OPEN_QUOTE,
QUOTE_FAILED,
COMPLETED,
FAILED
sourceUserId
string

Filter swaps by source user public ID (prefixed with usr_).

destinationUserId
string

Filter swaps by destination user public ID (prefixed with usr_).

Response

A cursor-paginated list of swaps.

Cursor-paginated list of swaps.

data
object[]
pagination
object