Send a code
Sends a one-time code to the user by email or phone. Provide exactly one of email or phone. Codes are valid for 10 minutes.
If you’ve designed a connect email in your dashboard, we send that branded email; otherwise we send a default one.
Authorizations
A platform access token. Get one on the Create an access token endpoint by exchanging your client_id + client_secret, then send it as Authorization: Bearer <token>. Tokens live one hour.
Body
The user's email address. Provide this or phone, not both.
The user's phone number in E.164 format (e.g. +15551234567). Provide this or email, not both.
Optional. Your own identifier for the user, stored on the attempt for your reference.
255Response
The attempt. Pass its id back as connect_id when you verify.
connect_attempt The attempt id. Pass it back as connect_id when you verify.
The channel the code was sent on.
email, phone When the attempt expires (ISO 8601). Codes are valid for 10 minutes.