Skip to main content
POST
/
api
/
auth
/
set-password
Set password for a new user via activation token
curl --request POST \
  --url https://tandem.hlofiys.xyz/api/auth/set-password \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "<string>",
  "new_password": "<string>"
}
'
{
  "token": "<string>",
  "refresh_token": "<string>"
}

Body

application/json
token
string
required

The one-time activation token from the email link.

new_password
string
required

The user's chosen new password.

Response

Password set successfully. User is now logged in.

token
string
required

JWT token

refresh_token
string
required

Refresh token