Skip to main content
GET
/
accounts
/
session-tokens
Get session tokens
curl --request GET \
  --url https://api.quiva.ai/accounts/session-tokens \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "auth": [
      {
        "account_id": "<string>",
        "user_id": "<string>",
        "account": "<string>",
        "role": "<string>",
        "expiry": 123,
        "ip": "<string>",
        "agent": "<string>",
        "platform": "<string>",
        "token": "<string>",
        "refresh_token": "<string>",
        "is_suspended": true,
        "location": "<string>",
        "email": "<string>"
      }
    ],
    "refresh": [
      {
        "account_id": "<string>",
        "user_id": "<string>",
        "account": "<string>",
        "email": "[email protected]",
        "role": "<string>",
        "expiry": 123,
        "token": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Response

Session tokens retrieved successfully

data
object
required