with Docusign Developer and MyOTP.App?
Creates a signature request from a template See the documentation
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
The DocuSign Developer API enables automation around electronic agreements, signatures, and approval processes. It's a powerful tool for streamlining document workflows, allowing you to create, send, and manage documents programmatically. With Pipedream, you can harness this capability to integrate DocuSign seamlessly with other services, triggering actions based on document status, automating follow-ups, syncing data with CRM systems, and more.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
docusign_developer: {
type: "app",
app: "docusign_developer",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://account-d.docusign.com/oauth/userinfo`,
headers: {
Authorization: `Bearer ${this.docusign_developer.$auth.oauth_access_token}`,
},
})
},
})
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,
})
},
})