with DocuSeal and HelpDocs?
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}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
helpdocs: {
type: "app",
app: "helpdocs",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.helpdocs.io/v1/category`,
headers: {
Authorization: `Bearer ${this.helpdocs.$auth.api_key}`,
},
})
},
})