API docs / API reference / Portal logins

Email a password reset

POST /v1/portal/password-reset

For your portal’s “Forgot password”. Always answers the same, whether or not the address has a login. A one-hour link (7 days if no password was ever chosen), at most one every two minutes per login.

Body

email required
string
—
portal_url required
https url
—
product_name
string
—

Send an Idempotency-Key header to make a retry safe: the same key within 24 hours returns the first answer and is never charged twice.

Request

curl -X POST "https://amarkos.com/api/v1/portal/password-reset" \
  -H "Authorization: Bearer $AMARKOS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "dana@acme-tools.com",
    "portal_url": "https://seo.northpeak.io"
  }'

Response · 200

{
  "sent": true
}

← Change portal settings · Check a password link →