import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
appointo: {
type: "app",
app: "appointo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.appointo.me/api/products`,
headers: {
"APPOINTO-TOKEN": `${this.appointo.$auth.api_key}`,
},
})
},
})
Emit new event when a booking is created in Appointo. See the documentation
Appointo uses API keys for authentication. When you connect your Appointo account, Pipedream securely stores the keys so you can easily authenticate to Appointo APIs in both code and no-code steps.