import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
agentos: {
type: "app",
app: "agentos",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://live-api.letmc.com/v4/appointments/${this.agentos.$auth.short_name}/company/branches/0/1000`,
params: {
api_key: `${this.agentos.$auth.api_key}`,
},
})
},
})
agentOS uses API keys for authentication. When you connect your agentOS account, Pipedream securely stores the keys so you can easily authenticate to agentOS APIs in both code and no-code steps.
Your API Key is sent to your email when you sign up and request it via api@agentos.com
or by following instructions at agentOS API, "REQUEST AN API KEY" button. Your company Short Name will be sent by agentOS alongisde the API Key.