import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
docnify: {
type: "app",
app: "docnify",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.docnify.$auth.url}/api/v1/documents`,
headers: {
"Authorization": `${this.docnify.$auth.api_token}`,
},
params: {
page: `1`,
perPage: `1`,
},
})
},
})
Add a recipient to an existing Docnify document. [See the documentation](See the documentation)
Create a new document in Docnify from a pre-existing template. See the documentation
Docnify uses API keys for authentication. When you connect your Docnify account, Pipedream securely stores the keys so you can easily authenticate to Docnify APIs in both code and no-code steps.