import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
revamp_crm: {
type: "app",
app: "revamp_crm",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.revampcrm.com/api/1.0/User/WhoAmI`,
auth: {
username: `${this.revamp_crm.$auth.email}`,
password: `${this.revamp_crm.$auth.api_key}`,
},
})
},
})
Revamp CRM uses API keys for authentication. When you connect your Revamp CRM account, Pipedream securely stores the keys so you can easily authenticate to Revamp CRM APIs in both code and no-code steps.
To retrieve your API Key,
Revamp CRM requires their users enter their Revamp CRM email in order to connect to their API. For more info, refer to Revamp CRM’s documentation.