import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
favro: {
type: "app",
app: "favro",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://favro.com/api/v1/organizations`,
auth: {
username: `${this.favro.$auth.username}`,
password: `${this.favro.$auth.api_token}`,
},
})
},
})
Favro uses API keys for authentication. When you connect your Favro account, Pipedream securely stores the keys so you can easily authenticate to Favro APIs in both code and no-code steps.
Set your email address used to log into Favro as Username.
You can get your API Token under My Profile > API Tokens.