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