POST
/
tokens
curl --request POST \
  --url https://auditr.io/api/tokens \
  --header 'Authorization: Bearer <token>'
{
  "token": "<string>",
  "expires": 123
}

Authorizations

Authorization
string
header
required

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

Response

200
application/json
Token and expiration
token
string
required

Token

expires
integer
required

The UNIX timestamp at which the token expires in seconds