Skip to main content
GET
/
api
/
tokens
curl --request GET \
  --url https://app.qwoty.io/api/tokens
{
  "success": true,
  "data": [
    {
      "id": "tok_123abc",
      "name": "Production API Token",
      "expires_at": "2025-12-31T23:59:59Z",
      "created_at": "2024-01-15T10:30:00Z",
      "last_used_at": "2024-01-20T14:22:00Z"
    },
    {
      "id": "tok_456def",
      "name": "Development Token",
      "expires_at": null,
      "created_at": "2024-01-10T08:15:00Z",
      "last_used_at": "2024-01-19T16:45:00Z"
    }
  ]
}

Query Parameters

This endpoint does not require any parameters.

Response

success
boolean
Indicates if the operation was successful
data
array
Array of API token objects
curl --request GET \
  --url https://app.qwoty.io/api/tokens
{
  "success": true,
  "data": [
    {
      "id": "tok_123abc",
      "name": "Production API Token",
      "expires_at": "2025-12-31T23:59:59Z",
      "created_at": "2024-01-15T10:30:00Z",
      "last_used_at": "2024-01-20T14:22:00Z"
    },
    {
      "id": "tok_456def",
      "name": "Development Token",
      "expires_at": null,
      "created_at": "2024-01-10T08:15:00Z",
      "last_used_at": "2024-01-19T16:45:00Z"
    }
  ]
}