Actions3
- SMS Actions
- OTP Actions
OTP → Request OTP
AI-generatedSummary
Send an OTP code to a specified phone number using the SMSKUB OTP service.
Inputs
- otpPhone (required) — The phone number to send the OTP code to (e.g. 0812345678).
- otpProject (required) — The OTP project ID from your SMSKUB console.
- otpMessage — Custom OTP message template. If left empty, the default message template is used.
Output shape
a JSON response from the SMSKUB API indicating the OTP request status
The operation sends a POST request with form-urlencoded body parameters to the /v2/otp/request endpoint. The exact structure of the response depends on the SMSKUB API and may contain success or error details. No pagination or multiple items expected.
Examples
Example 1: Requesting an OTP code to a user's phone
Provide the target phone number, project ID, and optionally a custom message. The node sends the OTP request and returns the API response.