POST
/
api
/
tokens
curl --request POST \
  --url https://app.saasfy.dev/api/tokens \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>"
}'
{
  "created_at": "<string>",
  "expires": "<string>",
  "hashed": "<string>",
  "id": "<string>",
  "masked": "<string>",
  "name": "<string>",
  "user": "<string>",
  "token": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
Token to create
name
string

Response

200
application/json
plant response
created_at
string
expires
string
hashed
string
id
string
masked
string
name
string
user
string
token
string