Kirimi icon

Kirimi

Interact with the Kirimi WhatsApp API (Unofficial, WABA, OTP, Devices, Deposits)

OTP → Create OTP Reverse

AI-generated

Summary

Create a reverse OTP request for a customer to send a code from a specified phone number to a WhatsApp device. Optionally set the app name, callback URL, message templates, and verification success or failure messages.

Inputs

  • Device ID (required) — WhatsApp device that will receive the incoming OTP message.
  • Phone Number (required) — Phone number the customer must send the OTP from.
  • App Name — Name shown in reverse OTP messages; defaults to Kirimi.id.
  • Callback URL — HTTP(S) URL for the otp-reverse.verified event (up to 500 characters).
  • Custom Message — Message template containing {{token}} and {{phone}}; the declared length is 20–500 characters.
  • Success Message — Message sent after successful verification.
  • Failure Message — Message sent when verification fails.

Output shape

A list of items, each containing the API response for a created reverse OTP request.

Sends a POST request to Kirimi’s /v2/otp-reverse/create endpoint using the configured Kirimi API credentials. Optional fields are included only when non-empty. With Continue On Fail enabled, an item may instead contain an error.

Links

Discussion