capabilities.work

Send and Verify OTP

A 2-step recipe with Amazon Pinpoint. We can help you get access.

Recipe · 2 steps

Send and Verify OTP

with Amazon Pinpoint · Digital Marketing Management

Send an OTP and verify the code the recipient enters.

  1. Generate and send a one-time passcode over SMS to the destination identity, tagged with the supplied reference id.
  2. Verify the code the recipient entered against the reference id used when the OTP was sent, branching on whether the code is valid.
What you'll need to have ready
  • applicationId: The application used to send and verify the OTP.
  • brandName: The brand name substituted into the OTP message body.
  • destinationIdentity: The phone number to send the OTP to, in E.164 format.
  • originationIdentity: The origination identity used to send the OTP from.
  • referenceId: The reference id that must match during verification.
  • otp: The code the recipient entered, to verify.
For your developer

Arazzo workflow amazon-pinpoint:send-and-verify-otp, 2 operations: SendOTPMessage → VerifyOTPMessage. Specs on APIs.io.