cURL
curl --request GET \ --url https://api.coinfer.ai/base/user/tokens \ --header 'Authorization: Bearer <token>'
{ "status": "<string>", "data": [ { "id": 123, "token": "<string>", "token_name": "<string>", "token_desc": "<string>", "token_expire": "2023-11-07T05:31:56Z" } ] }
Get the tokens created by the current user.
In our system, there are two kinds of tokens:
This API only returns the former. The latter should be seen as implementation detail and be invisible to the user.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
"ok"
Show child attributes