Skip to main content
POST
/
auth
/
password-set
Request password set
curl --request POST \
  --url https://api.sprucecollective.co.uk/auth/password-set \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "force": true,
  "site_id": "<string>",
  "skip_email": true
}
'
{
  "activation_link": "<string>",
  "email": "<string>",
  "message": "<string>"
}

Body

application/json

Password set request

email
string
required
force
boolean

If true, allow password set even if user already has a password

site_id
string
skip_email
boolean

If true, don't send email and return activation link

Response

OK

Include link when skip_email is true

email
string

Include email for auto-login

message
string