import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
outseta_: {
type: "app",
app: "outseta",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.outseta.$auth.domain}.outseta.com/api/v1/crm/people`,
headers: {
"Authorization": `Outseta ${this.outseta.$auth.api_key}:${this.outseta.$auth.api_secret}`,
"Content-Type": `application/json`,
},
})
},
})
Emit new event when an account is added. See the documentation
Outseta uses API keys for authentication. When you connect your Outseta account, Pipedream securely stores the keys so you can easily authenticate to Outseta APIs in both code and no-code steps.
To retrieve your API Keys,
Your domain is 1234
if your Outseta dashboard URL is https://1234.outseta.com/#/app/dashboard