Skip to main content
Server path: /brevo-contacts | Type: Application | PCID required: Yes

Tools

ToolDescription
brevo_contacts_add_contact_to_listAdd existing contacts to a list
brevo_contacts_batch_delete_object_recordsDelete multiple object records (up to 1000) asynchronously
brevo_contacts_create_attributeCreate contact attribute
brevo_contacts_create_batch_eventsCreate events in batch
brevo_contacts_create_contactCreate a contact
brevo_contacts_create_doi_contactCreate Contact via DOI (Double-Opt-In) Flow
brevo_contacts_create_eventCreate an event
brevo_contacts_create_folderCreate a folder
brevo_contacts_create_listCreate a list
brevo_contacts_delete_attributeDelete an attribute
brevo_contacts_delete_contactDelete a contact
brevo_contacts_delete_folderDelete a folder (and all its lists)
brevo_contacts_delete_listDelete a list
brevo_contacts_delete_multi_attribute_optionsDelete a multiple-choice attribute option
brevo_contacts_get_attributesList all attributes
brevo_contacts_get_contact_infoGet a contact’s details
brevo_contacts_get_contact_statsGet email campaigns’ statistics for a contact
brevo_contacts_get_contactsGet all the contacts
brevo_contacts_get_eventsGet events
brevo_contacts_get_folderReturns a folder’s details
brevo_contacts_get_folder_listsGet lists in a folder
brevo_contacts_get_foldersGet all folders
brevo_contacts_get_from_listGet contacts in a list
brevo_contacts_get_listGet a list’s details
brevo_contacts_get_listsGet all the lists
brevo_contacts_get_segmentsGet all the segments
brevo_contacts_getrecordsGet the list of object records and total records count for an object.
brevo_contacts_import_contactsImport contacts
brevo_contacts_remove_contact_from_listDelete a contact from a list
brevo_contacts_request_contact_exportExport contacts
brevo_contacts_update_attributeUpdate contact attribute
brevo_contacts_update_batch_contactsUpdate multiple contacts
brevo_contacts_update_contactUpdate a contact
brevo_contacts_update_folderUpdate a folder
brevo_contacts_update_listUpdate a list
brevo_contacts_upsertrecordsCreate/Update object records in bulk

brevo_contacts_add_contact_to_list

Add existing contacts to a list Parameters:
ParameterTypeRequiredDefaultDescription
listIdintegerYesId of the list
bodyobjectYesEmails 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:
ParameterTypeRequiredDefaultDescription
object_typestringYesObject type for the records to delete
identifiersobjectYesEither ids or ext_ids must be provided, but not both in the same request.

brevo_contacts_create_attribute

Create contact attribute Parameters:
ParameterTypeRequiredDefaultDescription
attributeCategorystringYesCategory of the attribute
attributeNamestringYesName of the attribute
enumerationobject[]NoList 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”}]
isRecurringbooleanNoType of the attribute. Use only if the attribute’s category is ‘calculated’ or ‘global’
multiCategoryOptionsstring[]NoList 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”]
typestringNoType 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
valuestringNoValue of the attribute. Use only if the attribute’s category is ‘calculated’ or ‘global’

brevo_contacts_create_batch_events

Create events in batch Parameters:
ParameterTypeRequiredDefaultDescription
eventsobject[]YesThe events value

brevo_contacts_create_contact

Create a contact Parameters:
ParameterTypeRequiredDefaultDescription
attributesobjectNoPass 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”]}
emailstringNoEmail address of the user. Mandatory if “ext_id” & “SMS” field is not passed.
emailBlacklistedbooleanNoSet this field to blacklist the contact for emails (emailBlacklisted = true)
ext_idstringNoPass your own Id to create a contact.
forceMergebooleanNoWhen 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.
getIdbooleanNoWhen true, the response returns the id of the surviving contact after merge.
listIdsinteger[]NoIds of the lists to add the contact to
smsBlacklistedbooleanNoSet this field to blacklist the contact for SMS (smsBlacklisted = true)
smtpBlacklistSenderstring[]Notransactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )
updateEnabledbooleanNoFacilitate 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:
ParameterTypeRequiredDefaultDescription
attributesobjectNoPass 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’]}
emailstringYesEmail address where the confirmation email will be sent. This email address will be the identifier for all other contact attributes.
excludeListIdsinteger[]NoLists under user account where contact should not be added
includeListIdsinteger[]YesLists under user account where contact should be added
redirectionUrlstringYesURL 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 }}.
templateIdintegerYesId of the Double opt-in (DOI) template

brevo_contacts_create_event

Create an event Parameters:
ParameterTypeRequiredDefaultDescription
contact_propertiesobjectNoProperties 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_datestringNoISO 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_namestringYesThe 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_propertiesobjectNoProperties 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.
identifiersobjectYesIdentifies the contact associated with the event. At least one identifier is required.
objectobjectNoIdentifiers 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:
ParameterTypeRequiredDefaultDescription
namestringYesName of the folder

brevo_contacts_create_list

Create a list Parameters:
ParameterTypeRequiredDefaultDescription
folderIdintegerYesId of the parent folder in which this list is to be created
namestringYesName of the list

brevo_contacts_delete_attribute

Delete an attribute Parameters:
ParameterTypeRequiredDefaultDescription
attributeCategorystringYesCategory of the attribute
attributeNamestringYesName of the existing attribute

brevo_contacts_delete_contact

Delete a contact Parameters:
ParameterTypeRequiredDefaultDescription
identifierobjectYesEmail (urlencoded) OR ID of the contact OR EXT_ID attribute (urlencoded)
identifierTypestringNoemail_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:
ParameterTypeRequiredDefaultDescription
folderIdintegerYesId of the folder

brevo_contacts_delete_list

Delete a list Parameters:
ParameterTypeRequiredDefaultDescription
listIdintegerYesId of the list

brevo_contacts_delete_multi_attribute_options

Delete a multiple-choice attribute option Parameters:
ParameterTypeRequiredDefaultDescription
attributeTypestringYesType of the attribute
multipleChoiceAttributestringYesName of the existing multiple-choice attribute
multipleChoiceAttributeOptionstringYesName of the existing multiple-choice attribute option that you want to delete

brevo_contacts_get_attributes

List all attributes

brevo_contacts_get_contact_info

Get a contact’s details Parameters:
ParameterTypeRequiredDefaultDescription
identifierobjectYesEmail (urlencoded) OR ID of the contact OR its SMS attribute value OR EXT_ID attribute (urlencoded)
identifierTypestringNoemail_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
startDatestringNoMandatory 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.
endDatestringNoMandatory 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:
ParameterTypeRequiredDefaultDescription
identifierobjectYesEmail (urlencoded) OR ID of the contact
startDatestringNoMandatory 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.
endDatestringNoMandatory 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:
ParameterTypeRequiredDefaultDescription
limitintegerNoNumber of documents per page
offsetintegerNoIndex of the first document of the page
modifiedSincestringNoFilter (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.
createdSincestringNoFilter (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.
sortstringNoSort the results in the ascending/descending order of record creation. Default order is descending if sort is not passed
idsinteger[]NoFilter by a list of contact IDs. You can pass a maximum of 20 IDs. All elements must be integers.
segmentIdintegerNoId of the segment. Either listIds or segmentId can be passed. Must be a positive integer (minimum value of 1).
listIdsinteger[]NoIds of the list. Either listIds or segmentId can be passed.
filterstringNoFilter 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:
ParameterTypeRequiredDefaultDescription
contact_idinteger[]NoFilter by contact ID (repeatable)
event_namestring[]NoFilter by event name (repeatable)
object_typestring[]NoFilter by object type (repeatable)
startDatestringNoMandatory 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.
endDatestringNoMandatory if startDate is used. End of date range (YYYY-MM-DD or RFC3339). Must be ≥ startDate.
limitintegerNoMax events to return. Default 100, min 1, max 10000.
offsetintegerNoEvents to skip for pagination. Default 0, min 0.

brevo_contacts_get_folder

Returns a folder’s details Parameters:
ParameterTypeRequiredDefaultDescription
folderIdintegerYesid of the folder

brevo_contacts_get_folder_lists

Get lists in a folder Parameters:
ParameterTypeRequiredDefaultDescription
folderIdintegerYesId of the folder
limitintegerNoNumber of documents per page
offsetintegerNoIndex of the first document of the page
sortstringNoSort 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:
ParameterTypeRequiredDefaultDescription
limitintegerNoNumber of documents per page
offsetintegerNoIndex of the first document of the page
sortstringNoSort 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:
ParameterTypeRequiredDefaultDescription
listIdintegerYesId of the list
modifiedSincestringNoFilter (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.
limitintegerNoNumber of documents per page
offsetintegerNoIndex of the first document of the page
sortstringNoSort 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:
ParameterTypeRequiredDefaultDescription
listIdintegerYesId of the list
startDatestringNoMandatory 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
endDatestringNoMandatory 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:
ParameterTypeRequiredDefaultDescription
limitintegerNoNumber of documents per page
offsetintegerNoIndex of the first document of the page
sortstringNoSort 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:
ParameterTypeRequiredDefaultDescription
limitintegerNoNumber of documents per page
offsetintegerNoIndex of the first document of the page
sortstringNoSort 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:
ParameterTypeRequiredDefaultDescription
object_typestringYesObject type for the records to retrieve. Must be a previously created custom object type. Contact as object type is not supported in this endpoint.
limitintegerYesNumber of records returned per page
page_numintegerYesPage number for pagination. It’s used to fetch the object records on a provided page number. Must be a valid positive integer.
sortstringNoSort order, must be ‘asc’ or ‘desc’. Default to ‘desc’ if not provided.
associationstringNoWhether to include associations, must be ‘true’ or ‘false’. Default to ‘false’ if not provided.

brevo_contacts_import_contacts

Import contacts Parameters:
ParameterTypeRequiredDefaultDescription
disableNotificationbooleanNoTo disable email notification
emailBlacklistbooleanNoTo blacklist all the contacts for email
emptyContactsAttributesbooleanNoTo 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 **)
fileBodystringNoMandatory 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.
fileUrlstringNoMandatory if fileBody and jsonBody is not defined. URL of the file to be imported (no local file). Possible file formats: #### .txt, .csv, .json
jsonBodyobject[]NoMandatory 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.
listIdsinteger[]NoMandatory if newList is not defined. Ids of the lists in which the contacts shall be imported. For example, [2, 4, 7].
newListobjectNoTo create a new list and import the contacts into it, pass the listName and an optional folderId.
notifyUrlstringNoURL that will be called once the import process is finished. For reference, https://help.brevo.com/hc/en-us/articles/360007666479
smsBlacklistbooleanNoTo blacklist all the contacts for sms
updateExistingContactsbooleanNoTo facilitate the choice to update the existing contacts

brevo_contacts_remove_contact_from_list

Delete a contact from a list Parameters:
ParameterTypeRequiredDefaultDescription
listIdintegerYesId of the list
bodyobjectYesEmails adresses OR IDs OR EXT_ID attributes of the contacts OR ‘all’ true

brevo_contacts_request_contact_export

Export contacts Parameters:
ParameterTypeRequiredDefaultDescription
customContactFilterobjectYesSet the filter for the contacts to be exported.
disableNotificationbooleanNoTo avoid generating the email notification upon contact export, pass true
exportAttributesstring[]NoList 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’]
exportDateInUTCbooleanNoSpecifies whether the date fields createdAt, modifiedAt in the exported data should be returned in UTC format.
exportMandatoryAttributesbooleanNoTo export mandatory attributes like EMAIL, ADDED_TIME, MODIFIED_TIME
exportMetadatastring[]NoExport metadata of contacts such as _listIds, ADDED_TIME, MODIFIED_TIME.
exportSubscriptionStatusstring[]NoExport 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.
notifyUrlstringNoWebhook 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:
ParameterTypeRequiredDefaultDescription
attributeCategorystringYesCategory of the attribute
attributeNamestringYesName of the existing attribute
enumerationobject[]NoList 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”}]
multiCategoryOptionsstring[]NoUse 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”]
valuestringNoValue 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:
ParameterTypeRequiredDefaultDescription
contactsobject[]NoList of contacts to be updated

brevo_contacts_update_contact

Update a contact Parameters:
ParameterTypeRequiredDefaultDescription
identifierobjectYesEmail (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
identifierTypestringNoemail_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
attributesobjectNoPass 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”}
emailBlacklistedbooleanNoSet/unset this field to blacklist/allow the contact for emails (emailBlacklisted = true)
ext_idstringNoPass your own Id to update ext_id of a contact.
forceMergebooleanNoWhen 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.
listIdsinteger[]NoIds of the lists to add the contact to
smsBlacklistedbooleanNoSet/unset this field to blacklist/allow the contact for SMS (smsBlacklisted = true)
smtpBlacklistSenderstring[]Notransactional email forbidden sender for contact. Use only for email Contact
unlinkListIdsinteger[]NoIds of the lists to remove the contact from

brevo_contacts_update_folder

Update a folder Parameters:
ParameterTypeRequiredDefaultDescription
folderIdintegerYesId of the folder
namestringYesName of the folder

brevo_contacts_update_list

Update a list Parameters:
ParameterTypeRequiredDefaultDescription
listIdintegerYesId of the list
folderIdintegerNoId of the folder in which the list is to be moved. Either of the two parameters (name, folderId) can be updated at a time.
namestringNoName 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:
ParameterTypeRequiredDefaultDescription
object_typestringYesObject 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).
recordsobject[]YesList of object records to be upsert. Each record can have attributes, identifiers, and associations.