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