API Tokens

Retrieve a list of API tokens with optional filtering parameters. Returns all tokens that match the specified filters. If no filters are provided, returns all tokens (paginated).

get/tokens

Request

  • Base URL
    https://api.uma.money/umaaas/2025-05-15
  • URL
    https://api.uma.money/umaaas/2025-05-15/tokens
  • Auth
    HTTP basic

Query parameters

namestring

Filter by name of the token

createdAfterstring date-time

Filter users created after this timestamp (inclusive)

createdBeforestring date-time

Filter users created before this timestamp (inclusive)

updatedAfterstring date-time

Filter users updated after this timestamp (inclusive)

updatedBeforestring date-time

Filter users updated before this timestamp (inclusive)

limitinteger

Maximum number of results to return (default 20, max 100)

cursorstring

Cursor for pagination (returned from previous request)

Response

Successful operation

hasMoreboolean required

Indicates if more results are available beyond this page

nextCursorstring

Cursor to retrieve the next page of results (only present if hasMore is true)

totalCountinteger

Total number of tokens matching the criteria (excluding pagination)

Example response

{
  "data": [
    {
      "id": "Token:019542f5-b3e7-1d02-0000-000000000001",
      "name": "Sandbox read-only token",
      "clientId": "01947d2284054f890000e63bca4810df",
      "clientSecret": "ed0ad25881e234cc28fb2dec0a4fe64e4172",
      "createdAt": "2023-07-21T17:32:28Z",
      "updatedAt": "2023-07-21T17:32:28Z"
    }
  ]
}

Changes

    • info

      removed the INVALID_PAYREQ_RESPONSE enum value from the response property for the response status

    • info

      removed the LOOKUP_REQUEST_FAILED enum value from the response property for the response status

    • info

      removed the QUOTE_REQUEST_FAILED enum value from the response property for the response status