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