import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
affinda: {
type: "app",
app: "affinda",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.affinda.$auth.api}.affinda.com/v3/organizations`,
headers: {
Authorization: `Bearer ${this.affinda.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
Emit new event when a document parsing is completed in Affinda See docs here
Emit new event when a document is validated in Affinda. See docs here
Affinda uses API keys for authentication. When you connect your Affinda account, Pipedream securely stores the keys so you can easily authenticate to Affinda APIs in both code and no-code steps.
Generate and copy your API key from Account Settings.