import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
chargekeep: {
type: "app",
app: "chargekeep",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://crm.chargekeep.com/api/services/Platform/User/GetUsers`,
headers: {
"accept": `application/json`,
"api-key": `${this.chargekeep.$auth.api_key}`,
},
})
},
})
ChargeKeep uses API keys for authentication. When you connect your ChargeKeep account, Pipedream securely stores the keys so you can easily authenticate to ChargeKeep APIs in both code and no-code steps.