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