import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
close: {
type: "app",
app: "close",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.close.com/api/v1/me/`,
auth: {
username: `${this.close.$auth.api_key}`,
password: ``,
},
})
},
})
Close uses API keys for authentication. When you connect your Close account, Pipedream securely stores the keys so you can easily authenticate to Close APIs in both code and no-code steps.
API keys are per-organization and can be generated and deleted in the Settings page.