Send a sign-in code to an email address
Send a sign-in code to an email address
Every request sends Authorization: Bearer ...: the access token in local mode, an API key stk_... in cloud mode. Use Send to try it against your cloud instance with your API key.
POST
Mails a 6-digit code (valid 10 minutes, single use, 5 tries). The answer is the same whether or not
the address has an account. A new code replaces the previous one. Limits: one code per address every
30 seconds (429 code_cooldown, details.resend_in), 5 per address per hour, and a limit per client IP.
application/json- body
email*stringCode sent
application/json- response
resend_in*integerSeconds until another code may be asked for
expires_in*integerSeconds the code works
curl -X POST 'https://staqly.example.com/v1/auth/email/start' \ -H 'Content-Type: application/json' \ -d '{ "email": "string"}'{ "resend_in": 0, "expires_in": 0}