get__token

GET /token

List User Tokens

Get all refresh tokens for the authenticated user

TypeScript Client Library

  public getTokens = async (): Promise<{ success: boolean; tokens: any[] }> => {
    return this.makeRequest<{ success: boolean; tokens: any[] }>('token', 'GET', null);
  };

Code Samples

# You can also use wget
curl -X GET https://backend.flashback.tech/token \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Example responses

200 Response

{
  "success": true,
  "tokens": [
    {}
  ]
}

Responses

Status
Meaning
Description
Schema

200

List of tokens

Inline

Response Schema

Status Code 200

Name
Type
Required
Restrictions
Description

» success

boolean

false

none

none

» tokens

[object]

false

none

none

To perform this operation, you must be authenticated by means of one of the following methods: BearerAuth

Last updated

Was this helpful?