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}`,
},
})
},
})
DocuSeal uses API keys for authentication. When you connect your DocuSeal account, Pipedream securely stores the keys so you can easily authenticate to DocuSeal APIs in both code and no-code steps.