v47

latestOpenAPI 3.0.3MIT Licenseraw.githubusercontent.com2026-08-015915132.9 KB
auth

Authenticate a user by sending them a One-Time Password over email or SMS.

post/otp

Request body

emailstring email
phonestring phone
channel'sms' | 'whatsapp'
create_userboolean
dataobject
code_challenge_method's256' | 'plain'
code_challengestring

Response

A One-Time Password was sent to the email or phone. To obfuscate whether such an address or number already exists in the system this response is sent in both cases.

message_idstring

Unique ID of the message as reported by the SMS sending provider. Useful for tracking deliverability problems.