BulkGate icon

BulkGate

Interact with the BulkGate API

One Time Password → Verify

AI-generated

Summary

Verify a previously sent one-time password using its unique ID and the code provided by the user.

Inputs

  • ID (required) — The unique identifier received when the one-time password was originally sent.
  • Code (required) — The one-time password code that needs to be verified.

Output shape

a single JSON object containing the verification result from the BulkGate API

The output includes the API response indicating success or failure of the verification attempt. Handle errors or unsuccessful verifications according to the API's response structure.

Examples

Example 1: A workflow sends an OTP via SMS or Viber then uses this operation to verify the user-submitted code by specifying the original OTP ID and the entered code.

Set resource to 'One Time Password', operation to 'Verify', then provide the OTP 'ID' received upon sending and the 'Code' entered by the user to check its validity.

Links

Discussion