Fast, Reliable, and Customizable SMS OTP for Web and Mobile Applications.
Generate a One Time Password (OTP) and send it to the specified phone number. See the documentation
Validate the OTP for successful verification. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
myotp_app: {
type: "app",
app: "myotp_app",
}
},
async run({steps, $}) {
const data = {
"phone_number": this.myotp_app.$auth.phone_number,
}
return await axios($, {
method: "post",
url: `https://api.myotp.app/generate_otp`,
headers: {
"X-API-Key": `${this.myotp_app.$auth.api_key}`,
},
data,
})
},
})
The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.