import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lumin_pdf: {
type: "app",
app: "lumin_pdf",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.luminpdf.com/v1/user/info`,
headers: {
"x-api-key": `${this.lumin_pdf.$auth.api_key}`,
},
})
},
})
Lumin PDF uses API keys for authentication. When you connect your Lumin PDF account, Pipedream securely stores the keys so you can easily authenticate to Lumin PDF APIs in both code and no-code steps.