POST
/
v1
/
profile
/
{id}
/
authenticate
curl --request POST \
  --url https://vault-api.stardust.gg/v1/profile/{id}/authenticate \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "duration": 123
}'
{
  "jwt": "<string>"
}

Authorizations

x-api-key
string
headerrequired

Path Parameters

id
string
required

Body

application/json
duration
number | null

Response

200 - application/json
jwt
string
required

A JWT Access Token