cURL
curl --request POST \ --url https://api.coinfer.ai/base/user/tokens \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "", "desc": "", "expire": "2023-11-07T05:31:56Z" } '
{ "status": "<string>", "data": { "id": 123, "token": "<string>", "token_name": "<string>", "token_desc": "<string>", "token_expire": "2023-11-07T05:31:56Z" } }
This is where the user explicitly creates a new token. The token can be used to call other APIs in the name of the user.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"2025-02-11T23:56:09.473Z"
OK
"ok"
Show child attributes