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