with Papersign and DocuSeal?
Dispatches a document to a specified recipient. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
papersign: {
type: "app",
app: "papersign",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.paperform.co/v1/papersign/documents`,
headers: {
Authorization: `Bearer ${this.papersign.$auth.access_token}`,
"accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
docuseal: {
type: "app",
app: "docuseal",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.docuseal.$auth.url}/submissions`,
headers: {
"X-Auth-Token": `${this.docuseal.$auth.api_key}`,
},
})
},
})