Create a contact
Creates new contacts on Brevo. Contacts can be created by passing either - <br /><br /> 1. email address of the contact (email_id), <br /> 2. phone number of the contact (to be passed as “SMS” field in “attributes” along with proper country code), For example- {“SMS”:“+91xxxxxxxxxx”} or {“SMS”:“0091xxxxxxxxxx”} <br /> 3. ext_id <br />
Authentication
The API key should be passed in the request headers as api-key for authentication.
Request
Email address of the user. Mandatory if “ext_id” & “SMS” field is not passed.
Set this field to blacklist the contact for emails (emailBlacklisted = true)
Set this field to blacklist the contact for SMS (smsBlacklisted = true)
transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )
Facilitate to update the existing contact in the same request (updateEnabled = true)