import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
botmaker: {
type: "app",
app: "botmaker",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.botmaker.com/v2.0/messages`,
headers: {
"access-token": `${this.botmaker.$auth.access_token}`,
},
})
},
})
Botmaker uses API keys for authentication. When you connect your Botmaker account, Pipedream securely stores the keys so you can easily authenticate to Botmaker APIs in both code and no-code steps.