POST
/
base
/
user
/
tokens
Create a new authorization token.
curl --request POST \
  --url https://api.coinfer.ai/base/user/tokens \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "",
  "desc": "",
  "expire": "2025-02-11T23:56:09.473Z"
}'
{
  "status": "<string>",
  "data": {
    "id": 123,
    "token": "<string>",
    "token_name": "<string>",
    "token_desc": "<string>",
    "token_expire": "2025-02-11T23:56:09.473Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
default:""
desc
string
default:""
expire
string<date-time>
Examples:

"2025-02-11T23:56:09.473Z"

Response

OK

status
string
required
Allowed value: "ok"
data
object
required