/brevo-contacts | Type: Application | PCID required: Yes
Tools
brevo_contacts_add_contact_to_list
Add existing contacts to a list Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
listId | integer | Yes | — | Id of the list |
body | object | Yes | — | Emails addresses OR IDs OR EXT_ID attributes of the contacts |
brevo_contacts_batch_delete_object_records
Delete multiple object records (up to 1000) asynchronously Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
object_type | string | Yes | — | Object type for the records to delete |
identifiers | object | Yes | — | Either ids or ext_ids must be provided, but not both in the same request. |
brevo_contacts_create_attribute
Create contact attribute Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
attributeCategory | string | Yes | — | Category of the attribute |
attributeName | string | Yes | — | Name of the attribute |
enumeration | object[] | No | — | List of values and labels that the attribute can take. Use only if the attribute’s category is “category”. None of the category options can exceed max 200 characters. For example: [{“value”:1, “label”:“male”}, {“value”:2, “label”:“female”}] |
isRecurring | boolean | No | — | Type of the attribute. Use only if the attribute’s category is ‘calculated’ or ‘global’ |
multiCategoryOptions | string[] | No | — | List of options you want to add for multiple-choice attribute. Use only if the attribute’s category is “normal” and attribute’s type is “multiple-choice”. None of the multicategory options can exceed max 200 characters. For example: [“USA”,“INDIA”] |
type | string | No | — | Type of the attribute. Use only if the attribute’s category is ‘normal’, ‘category’ or ‘transactional’ Type user and multiple-choice is only available if the category is normal attribute Type id is only available if the category is transactional attribute Type category is only available if the category is category attribute |
value | string | No | — | Value of the attribute. Use only if the attribute’s category is ‘calculated’ or ‘global’ |
brevo_contacts_create_batch_events
Create events in batch Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
events | object[] | Yes | — | The events value |
brevo_contacts_create_contact
Create a contact Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
attributes | object | No | — | Pass the set of attributes and their values. The attribute’s parameter should be passed in capital letter while creating a contact. Values that don’t match the attribute type (e.g. text or string in a date attribute) will be ignored. These attributes must be present in your Brevo account. For eg: {“FNAME”:“Elly”, “LNAME”:“Roger”, “COUNTRIES”: [“India”,“China”]} |
email | string | No | — | Email address of the user. Mandatory if “ext_id” & “SMS” field is not passed. |
emailBlacklisted | boolean | No | — | Set this field to blacklist the contact for emails (emailBlacklisted = true) |
ext_id | string | No | — | Pass your own Id to create a contact. |
forceMerge | boolean | No | — | When true, if the contact being created shares an identifier (email, SMS, ext_id, whatsapp, landline) with an existing contact, the two contacts are force-merged. The contact with the most recent last_modified timestamp is retained; the other is deleted. When false (default), a 4xx error is returned on identifier conflict. |
getId | boolean | No | — | When true, the response returns the id of the surviving contact after merge. |
listIds | integer[] | No | — | Ids of the lists to add the contact to |
smsBlacklisted | boolean | No | — | Set this field to blacklist the contact for SMS (smsBlacklisted = true) |
smtpBlacklistSender | string[] | No | — | transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true ) |
updateEnabled | boolean | No | — | Facilitate to update the existing contact in the same request (updateEnabled = true) |
brevo_contacts_create_doi_contact
Create Contact via DOI (Double-Opt-In) Flow Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
attributes | object | No | — | Pass the set of attributes and their values. These attributes must be present in your Brevo account. For eg. {‘FNAME’:‘Elly’, ‘LNAME’:‘Roger’, ‘COUNTRIES’: [‘India’,‘China’]} |
email | string | Yes | — | Email address where the confirmation email will be sent. This email address will be the identifier for all other contact attributes. |
excludeListIds | integer[] | No | — | Lists under user account where contact should not be added |
includeListIds | integer[] | Yes | — | Lists under user account where contact should be added |
redirectionUrl | string | Yes | — | URL of the web page that user will be redirected to after clicking on the double opt in URL. When editing your DOI template you can reference this URL by using the tag {{ params.DOIurl }}. |
templateId | integer | Yes | — | Id of the Double opt-in (DOI) template |
brevo_contacts_create_event
Create an event Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
contact_properties | object | No | — | Properties defining the state of the contact associated to this event. Useful to update contact attributes defined in your contacts database while passing the event. For example: “FIRSTNAME”: “Jane” , “AGE”: 37 |
event_date | string | No | — | ISO 8601 timestamp of when the event occurred (e.g. “2024-01-24T17:39:57+01:00”). If no value is passed, the timestamp of the event creation is used. |
event_name | string | Yes | — | The name of the event that occurred. This is how you will find your event in Brevo. Limited to 255 characters; only alphanumeric characters, hyphens (-), and underscores (_) are allowed. |
event_properties | object | No | — | Properties of the event. Top level properties and nested properties can be used to better segment contacts and personalise workflow conditions. The following field types are supported: string, number, boolean (true/false), date (Timestamp e.g. “2024-01-24T17:39:57+01:00”). Keys are limited to 255 characters, alphanumerical characters and - _ only. Size is limited to 50KB. |
identifiers | object | Yes | — | Identifies the contact associated with the event. At least one identifier is required. |
object | object | No | — | Identifiers of the object record associated with this event. Ignored if the object type or identifier for this record does not exist on the account. |
brevo_contacts_create_folder
Create a folder Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | Yes | — | Name of the folder |
brevo_contacts_create_list
Create a list Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
folderId | integer | Yes | — | Id of the parent folder in which this list is to be created |
name | string | Yes | — | Name of the list |
brevo_contacts_delete_attribute
Delete an attribute Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
attributeCategory | string | Yes | — | Category of the attribute |
attributeName | string | Yes | — | Name of the existing attribute |
brevo_contacts_delete_contact
Delete a contact Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
identifier | object | Yes | — | Email (urlencoded) OR ID of the contact OR EXT_ID attribute (urlencoded) |
identifierType | string | No | — | email_id for Email, contact_id for ID of the contact, ext_id for EXT_ID attribute, phone_id for SMS attribute, whatsapp_id for WHATSAPP attribute, landline_number_id for LANDLINE_NUMBER attribute |
brevo_contacts_delete_folder
Delete a folder (and all its lists) Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
folderId | integer | Yes | — | Id of the folder |
brevo_contacts_delete_list
Delete a list Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
listId | integer | Yes | — | Id of the list |
brevo_contacts_delete_multi_attribute_options
Delete a multiple-choice attribute option Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
attributeType | string | Yes | — | Type of the attribute |
multipleChoiceAttribute | string | Yes | — | Name of the existing multiple-choice attribute |
multipleChoiceAttributeOption | string | Yes | — | Name of the existing multiple-choice attribute option that you want to delete |
brevo_contacts_get_attributes
List all attributesbrevo_contacts_get_contact_info
Get a contact’s details Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
identifier | object | Yes | — | Email (urlencoded) OR ID of the contact OR its SMS attribute value OR EXT_ID attribute (urlencoded) |
identifierType | string | No | — | email_id for Email, phone_id for SMS attribute, contact_id for ID of the contact, ext_id for EXT_ID attribute, whatsapp_id for WHATSAPP attribute, landline_number_id for LANDLINE_NUMBER attribute |
startDate | string | No | — | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate. Must not be greater than the current date. |
endDate | string | No | — | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate. Must not be greater than the current date. |
brevo_contacts_get_contact_stats
Get email campaigns’ statistics for a contact Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
identifier | object | Yes | — | Email (urlencoded) OR ID of the contact |
startDate | string | No | — | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate. Must not be greater than the current date. |
endDate | string | No | — | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate. Must not be greater than the current date. Maximum difference between startDate and endDate should not be greater than 90 days. |
brevo_contacts_get_contacts
Get all the contacts Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
limit | integer | No | — | Number of documents per page |
offset | integer | No | — | Index of the first document of the page |
modifiedSince | string | No | — | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. |
createdSince | string | No | — | Filter (urlencoded) the contacts created after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. |
sort | string | No | — | Sort the results in the ascending/descending order of record creation. Default order is descending if sort is not passed |
ids | integer[] | No | — | Filter by a list of contact IDs. You can pass a maximum of 20 IDs. All elements must be integers. |
segmentId | integer | No | — | Id of the segment. Either listIds or segmentId can be passed. Must be a positive integer (minimum value of 1). |
listIds | integer[] | No | — | Ids of the list. Either listIds or segmentId can be passed. |
filter | string | No | — | Filter the contacts on the basis of attributes. Allowed operator: equals. For multiple-choice options, the filter will apply an AND condition between the options. For category attributes, the filter will work with both id and value. (e.g. filter=equals(FIRSTNAME,“Antoine”), filter=equals(B1, true), filter=equals(DOB, “1989-11-23”), filter=equals(GENDER, “1”), filter=equals(GENDER, “MALE”), filter=equals(COUNTRY,“USA, INDIA”) |
brevo_contacts_get_events
Get events Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
contact_id | integer[] | No | — | Filter by contact ID (repeatable) |
event_name | string[] | No | — | Filter by event name (repeatable) |
object_type | string[] | No | — | Filter by object type (repeatable) |
startDate | string | No | — | Mandatory if endDate is used. Start of date range (YYYY-MM-DD or RFC3339). Defaults to 6 months ago when omitted alongside endDate. Must be ≤ endDate. |
endDate | string | No | — | Mandatory if startDate is used. End of date range (YYYY-MM-DD or RFC3339). Must be ≥ startDate. |
limit | integer | No | — | Max events to return. Default 100, min 1, max 10000. |
offset | integer | No | — | Events to skip for pagination. Default 0, min 0. |
brevo_contacts_get_folder
Returns a folder’s details Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
folderId | integer | Yes | — | id of the folder |
brevo_contacts_get_folder_lists
Get lists in a folder Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
folderId | integer | Yes | — | Id of the folder |
limit | integer | No | — | Number of documents per page |
offset | integer | No | — | Index of the first document of the page |
sort | string | No | — | Sort the results in the ascending/descending order of record creation. Default order is descending if sort is not passed |
brevo_contacts_get_folders
Get all folders Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
limit | integer | No | — | Number of documents per page |
offset | integer | No | — | Index of the first document of the page |
sort | string | No | — | Sort the results in the ascending/descending order of record creation. Default order is descending if sort is not passed |
brevo_contacts_get_from_list
Get contacts in a list Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
listId | integer | Yes | — | Id of the list |
modifiedSince | string | No | — | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. |
limit | integer | No | — | Number of documents per page |
offset | integer | No | — | Index of the first document of the page |
sort | string | No | — | Sort the results in the ascending/descending order of record creation. Default order is descending if sort is not passed |
brevo_contacts_get_list
Get a list’s details Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
listId | integer | Yes | — | Id of the list |
startDate | string | No | — | Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to aggregate the sent email campaigns for a specific list id. Prefer to pass your timezone in date-time format for accurate result |
endDate | string | No | — | Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to aggregate the sent email campaigns for a specific list id. Prefer to pass your timezone in date-time format for accurate result |
brevo_contacts_get_lists
Get all the lists Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
limit | integer | No | — | Number of documents per page |
offset | integer | No | — | Index of the first document of the page |
sort | string | No | — | Sort the results in the ascending/descending order of record creation. Default order is descending if sort is not passed |
brevo_contacts_get_segments
Get all the segments Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
limit | integer | No | — | Number of documents per page |
offset | integer | No | — | Index of the first document of the page |
sort | string | No | — | Sort the results in the ascending/descending order of record creation. Default order is descending if sort is not passed |
brevo_contacts_getrecords
Get the list of object records and total records count for an object. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
object_type | string | Yes | — | Object type for the records to retrieve. Must be a previously created custom object type. Contact as object type is not supported in this endpoint. |
limit | integer | Yes | — | Number of records returned per page |
page_num | integer | Yes | — | Page number for pagination. It’s used to fetch the object records on a provided page number. Must be a valid positive integer. |
sort | string | No | — | Sort order, must be ‘asc’ or ‘desc’. Default to ‘desc’ if not provided. |
association | string | No | — | Whether to include associations, must be ‘true’ or ‘false’. Default to ‘false’ if not provided. |
brevo_contacts_import_contacts
Import contacts Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
disableNotification | boolean | No | — | To disable email notification |
emailBlacklist | boolean | No | — | To blacklist all the contacts for email |
emptyContactsAttributes | boolean | No | — | To facilitate the choice to erase any attribute of the existing contacts with empty value. emptyContactsAttributes = true means the empty fields in your import will erase any attribute that currently contain data in Brevo, & emptyContactsAttributes = false means the empty fields will not affect your existing data ( **only available if updateExistingContacts set to true **) |
fileBody | string | No | — | Mandatory if fileUrl and jsonBody is not defined. CSV content to be imported. Use semicolon to separate multiple attributes. Maximum allowed file body size is 10MB . However we recommend a safe limit of around 8 MB to avoid the issues caused due to increase of file body size while parsing. Please use fileUrl instead to import bigger files. |
fileUrl | string | No | — | Mandatory if fileBody and jsonBody is not defined. URL of the file to be imported (no local file). Possible file formats: #### .txt, .csv, .json |
jsonBody | object[] | No | — | Mandatory if fileUrl and fileBody is not defined. JSON content to be imported. Maximum allowed json body size is 10MB . However we recommend a safe limit of around 8 MB to avoid the issues caused due to increase of json body size while parsing. Please use fileUrl instead to import bigger files. |
listIds | integer[] | No | — | Mandatory if newList is not defined. Ids of the lists in which the contacts shall be imported. For example, [2, 4, 7]. |
newList | object | No | — | To create a new list and import the contacts into it, pass the listName and an optional folderId. |
notifyUrl | string | No | — | URL that will be called once the import process is finished. For reference, https://help.brevo.com/hc/en-us/articles/360007666479 |
smsBlacklist | boolean | No | — | To blacklist all the contacts for sms |
updateExistingContacts | boolean | No | — | To facilitate the choice to update the existing contacts |
brevo_contacts_remove_contact_from_list
Delete a contact from a list Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
listId | integer | Yes | — | Id of the list |
body | object | Yes | — | Emails adresses OR IDs OR EXT_ID attributes of the contacts OR ‘all’ true |
brevo_contacts_request_contact_export
Export contacts Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
customContactFilter | object | Yes | — | Set the filter for the contacts to be exported. |
disableNotification | boolean | No | — | To avoid generating the email notification upon contact export, pass true |
exportAttributes | string[] | No | — | List of all the attributes that you want to export. **These attributes must be present in your contact database. It is required if exportMandatoryAttributes is set false. ** For example: [‘fname’, ‘lname’, ‘email’] |
exportDateInUTC | boolean | No | — | Specifies whether the date fields createdAt, modifiedAt in the exported data should be returned in UTC format. |
exportMandatoryAttributes | boolean | No | — | To export mandatory attributes like EMAIL, ADDED_TIME, MODIFIED_TIME |
exportMetadata | string[] | No | — | Export metadata of contacts such as _listIds, ADDED_TIME, MODIFIED_TIME. |
exportSubscriptionStatus | string[] | No | — | Export subscription status of contacts for email & sms marketting. Pass email_marketing to obtain the marketing email subscription status & sms_marketing to retrieve the marketing SMS status of the contact. |
notifyUrl | string | No | — | Webhook that will be called once the export process is finished. For reference, https://help.brevo.com/hc/en-us/articles/360007666479 |
brevo_contacts_update_attribute
Update contact attribute Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
attributeCategory | string | Yes | — | Category of the attribute |
attributeName | string | Yes | — | Name of the existing attribute |
enumeration | object[] | No | — | List of the values and labels that the attribute can take. Use only if the attribute’s category is “category” None of the category options can exceed max 200 characters. For example, [{“value”:1, “label”:“male”}, {“value”:2, “label”:“female”}] |
multiCategoryOptions | string[] | No | — | Use this option to add multiple-choice attributes options only if the attribute’s category is “normal”. This option is specifically designed for updating multiple-choice attributes. None of the multicategory options can exceed max 200 characters.. For example: [“USA”,“INDIA”] |
value | string | No | — | Value of the attribute to update. Use only if the attribute’s category is ‘calculated’ or ‘global’ |
brevo_contacts_update_batch_contacts
Update multiple contacts Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
contacts | object[] | No | — | List of contacts to be updated |
brevo_contacts_update_contact
Update a contact Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
identifier | object | Yes | — | Email (urlencoded) OR ID of the contact OR EXT_ID attribute (urlencoded) OR its SMS attribute value OR its WHATSAPP attribute value OR its LANDLINE_NUMBER attribute value |
identifierType | string | No | — | email_id for Email, contact_id for ID of the contact, ext_id for EXT_ID attribute, phone_id for SMS attribute, whatsapp_id for WHATSAPP attribute, landline_number_id for LANDLINE_NUMBER attribute |
attributes | object | No | — | Pass the set of attributes to be updated. These attributes must be present in your account. To update existing email address of a contact with the new one please pass EMAIL in attributes. For example, { “EMAIL”:“newemail@domain.com”, “FNAME”:“Ellie”, “LNAME”:“Roger”, “COUNTRIES”:[“India”,“China”]}. The attribute’s parameter should be passed in capital letter while updating a contact. Values that don’t match the attribute type (e.g. text or string in a date attribute) will be ignored .Keep in mind transactional attributes can be updated the same way as normal attributes. Mobile Number in SMS field should be passed with proper country code. For example: {“SMS”:“+91xxxxxxxxxx”} or {“SMS”:“0091xxxxxxxxxx”} |
emailBlacklisted | boolean | No | — | Set/unset this field to blacklist/allow the contact for emails (emailBlacklisted = true) |
ext_id | string | No | — | Pass your own Id to update ext_id of a contact. |
forceMerge | boolean | No | — | When true, if the contact being updated shares an identifier (email, SMS, ext_id, whatsapp, landline) with an existing contact, the two contacts are force-merged. The contact with the most recent last_modified timestamp is retained; the other is deleted. When false (default), a 4xx error is returned on identifier conflict. |
listIds | integer[] | No | — | Ids of the lists to add the contact to |
smsBlacklisted | boolean | No | — | Set/unset this field to blacklist/allow the contact for SMS (smsBlacklisted = true) |
smtpBlacklistSender | string[] | No | — | transactional email forbidden sender for contact. Use only for email Contact |
unlinkListIds | integer[] | No | — | Ids of the lists to remove the contact from |
brevo_contacts_update_folder
Update a folder Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
folderId | integer | Yes | — | Id of the folder |
name | string | Yes | — | Name of the folder |
brevo_contacts_update_list
Update a list Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
listId | integer | Yes | — | Id of the list |
folderId | integer | No | — | Id of the folder in which the list is to be moved. Either of the two parameters (name, folderId) can be updated at a time. |
name | string | No | — | Name of the list. Either of the two parameters (name, folderId) can be updated at a time. |
brevo_contacts_upsertrecords
Create/Update object records in bulk Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
object_type | string | Yes | — | Object type for the records to upsert. Must be a previously created custom object type. Only lowercase alphanumeric characters and underscores are allowed (max 32 characters). |
records | object[] | Yes | — | List of object records to be upsert. Each record can have attributes, identifiers, and associations. |

