auths
objectreturn
or this.key = 'value'
, pass input data to your code viaparams
, and maintain state across executions with$checkpoint.async
(event, steps, params, auths) => {
}
return await require("@pipedreamhq/platform").axios(this, {
url: `https://api.sendinblue.com/v3/contacts`,
method: 'post',
headers: {
"api-key": `${auths.sendinblue.api_key}`,
"content-type": `application/json`,
},
data: {
email: params.email,
attributes: {"FIRSTNAME": `${params.name}`},
listIds: params.listID
},
})