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
Was this page helpful?