Skip to content

Set a password on an account that doesn't have one yet (magic-link / OAuth signups).

POST
/account/security/password/set
curl --request POST \
--url https://api.siteqwality.com/account/security/password/set \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "password": "example" }'
Media type application/json
object
password
required
string
Example generated
{
"password": "example"
}

Password set

Media type application/json
object
ok
required
boolean
Example generated
{
"ok": true
}

Invalid password

Missing or invalid authentication

Endpoint requires a user session

Internal server error

Stytch API call failed