import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
channable: {
type: "app",
app: "channable",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.channable.com/v2/companies/${this.channable.$auth.company_id}/projects/${this.channable.$auth.project_id}/orders`,
headers: {
Authorization: `Bearer ${this.channable.$auth.api_token}`,
},
})
},
})
Channable uses API keys for authentication. When you connect your Channable account, Pipedream securely stores the keys so you can easily authenticate to Channable APIs in both code and no-code steps.