cURL
curl --request GET \ --url https://nextvisit.app/api/v1/auth/tokens \ --header 'Authorization: Bearer <token>'
{ "tokens": [ { "id": 123, "name": "iPhone 14 Pro", "created_at": "2023-01-01T12:00:00.000000Z", "last_used_at": "2023-01-02T14:30:00.000000Z" }, { "id": 124, "name": "MacBook Pro", "created_at": "2023-01-10T09:15:00.000000Z", "last_used_at": "2023-01-10T15:22:00.000000Z" } ] }
Returns a list of the authenticated user’s access tokens
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
List of tokens
Show child attributes
Unique identifier for the token
123
Name of the device or application the token was created for
"iPhone 14 Pro"
When the token was created
"2023-01-01T12:00:00.000000Z"
When the token was last used
"2023-01-02T14:30:00.000000Z"
Was this page helpful?