with Stormboard and MyOTP.App?
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
Stormboard is a digital workspace designed for interactive planning and collaboration. Leveraging its API on Pipedream, you can automate workflows to streamline idea management and decision-making processes. Create, update, and manage ideas captured in Stormboard in real-time, and sync them with other business tools for enhanced productivity.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
stormboard: {
type: "app",
app: "stormboard",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.stormboard.com/users/test`,
headers: {
"X-API-Key": `${this.stormboard.$auth.api_key}`,
},
})
},
})
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,
})
},
})