cURL
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>" }
Creates a new token
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Token to create
The body is of type object.
object
plant response
The response is of type object.