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