X-Sender-Tenant + X-API-Key headers.
Send a code
Body
Recipient phone number (max 32). Israeli-local or E.164 is normalised to
+972….sms or voice. Voice speaks the code digit by digit.Custom message template (max 320). Use
{{code}} where the code should
appear.SMS sender ID / caller ID (max 11). Must be an approved sender ID; defaults
to the platform pool.
Response
Pass this back to
/otp/verify.The channel used (
sms or voice).Code lifetime —
300 (5 minutes).SMS segment count for the message (wallet debit unit).
Verify a code
Body
The ID returned by
/otp/send (max 64).The code the user entered (max 12).
Response
true if the code matched and was within the window.Present when
verified is false: expired_or_unknown, code_mismatch, or
too_many_attempts.The code is stored only as a hash with a 5-minute TTL and a maximum of 5
verify attempts — it’s never returned or logged.

