API docs / API reference / Portal logins

Check a password link

POST /v1/portal/token

Whom a link from an invitation or reset email is for, before they choose a password.

Body

token required
string
—

Errors

410 link_expiredExpired, used, or the login is switched off.

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/token" \
  -H "Authorization: Bearer $AMARKOS_KEY"

Response · 200

{
  "kind": "invite",
  "email": "dana@acme-tools.com",
  "name": "Dana Reed"
}

← Email a password reset · Choose a password from a link →