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