Increase your sales with marketing automation software that makes your digital strategy simple.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lahar: {
type: "app",
app: "lahar",
}
},
async run({steps, $}) {
const data = {
"token_api_lahar": `${this.lahar.$auth.api_token}`,
"email_contato": `{email_address}`,
"estagio_lead": `1`,
}
return await axios($, {
method: "put",
url: `https://app.lahar.com.br/api/leads`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
Lahar uses API keys for authentication. When you connect your Lahar account, Pipedream securely stores the keys so you can easily authenticate to Lahar APIs in both code and no-code steps.
To retrieve your Lahar API key and secret,
* Navigate to your Lahar account and sign in
* Go to Integracoes > DADOS DA API LAHAR