GET
/
auth
/
authtoken
Get new access token
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/auth/authtoken \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "message": "Access token generated for Royalty-demo",
  "data": {
    "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjRlNDI3MjllLWYxNGQtNDhlNy1iNGNiLWMxODliNmQxNThlNiIsIm5hbWUiOiJhZG1pbiB1c2VyIiwiYWN0aXZlV29ya3NwYWNlIjoiNzg2YWNkZjctZmEzZS00YWIyLTkxZDUtMTNmMGI2YThhZDk3IiwiaWF0IjoxNzA3MzAwODU1LCJleHAiOjE3MDczMjI0NTV9.GxYzQmRNHsZBEiEDYy4X6FYmjuBkKVZqnAse4CMdtkw"
  }
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Query Parameters

currentWorkspace
string

The identifier for the current workspace

Response

200
application/json

Success

The response is of type object.