invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

ContactDetailOpenStatisticsByEmail: Brevo Contact Detail Open Statistics by Email

read only REST

  • Catalog: Brevo
  • Schema: Contacts
  • Label: Contact Detail Open Statistics by Email

Get a contact's details Follow this format when passing a "SMS" phone number as an attribute. Accepted Number Formats 91xxxxxxxxxx +91xxxxxxxxxx 0091xxxxxxxxxx There are 2 ways to get a contact Option 1- https://api.brevo.com/v3/contacts/{identifier} Option 2- https://api.brevo.com/v3/contacts/{identifier}?identifierType={} Option 1 only works if identifierType is email_id (for EMAIL), phone_id (for SMS) or contact_id (for ID of the contact),where you can directly pass the value of EMAIL, SMS and ID of the contact. Option 2 works for all identifierType, use email_id for EMAIL attribute, 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 Along with the contact details, this endpoint will show the statistics of contact for the recent 90 days by default. To fetch the earlier statistics, please use Get contact campaign stats https://developers.brevo.com/reference/contacts-7#getcontactstats endpoint with the appropriate date ranges.

Can only retrieve data.

Summary

Follow this format when passing a "SMS" phone number as an attribute. Accepted Number Formats 91xxxxxxxxxx +91xxxxxxxxxx 0091xxxxxxxxxx There are 2 ways to get a contact

Option 1- https://api.brevo.com/v3/contacts/{identifier}

Option 2- https://api.brevo.com/v3/contacts/{identifier}?identifierType={}

Option 1 only works if identifierType is email_id (for EMAIL), phone_id (for SMS) or contact_id (for ID of the contact),where you can directly pass the value of EMAIL, SMS and ID of the contact.

Option 2 works for all identifierType, use email_id for EMAIL attribute, 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

Along with the contact details, this endpoint will show the statistics of contact for the recent 90 days by default. To fetch the earlier statistics, please use Get contact campaign stats https://developers.brevo.com/reference/contacts-7#getcontactstats endpoint with the appropriate date ranges.

API Source

  • Endpoint: /contacts/{identifier}
  • Operation: get /contacts/{identifier}

Performance Characteristics

Characteristic Value
Average access latency (ms) 122
Full scan rows per minute 414,000
Point query rows per minute 476
Write rows per minute 496

The result can be cached on the client.

Parameters

Name Data Type Required Default Documentation
endDate `` 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.
identifier `` Email (urlencoded) OR ID of the contact OR its SMS attribute value OR EXT_ID attribute (urlencoded)
identifierType `` 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 (Values: email_id, phone_id, contact_id, ext_id, whatsapp_id, landline_number_id)
startDate `` 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.

Table Columns

The columns of the table ContactDetailOpenStatisticsByEmail are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
ABONNEMENTEN_ACTIEF varchar2 itgen_sib_abonnementen_actief filters on the platform, writable, ::ancestor.::ancestor.attributes.ABONNEMENTEN_ACTIEF
ABONNEMENTEN_ACTIEF_TOT varchar2 itgen_sib_abonnementen_actief_tot filters on the platform, writable, ::ancestor.::ancestor.attributes.ABONNEMENTEN_ACTIEF_TOT
BLACKLIST decimal Blacklist filters on the platform, writable, computed, ::ancestor.::ancestor.attributes.BLACKLIST
BUBS_GBR_ID decimal Estate Person ID filters on the platform, writable, ::ancestor.::ancestor.attributes.BUBS_GBR_ID
BUBS_GBR_ID_MASTER decimal itgen_sib_bubs_gbr_id_master filters on the platform, writable, ::ancestor.::ancestor.attributes.BUBS_GBR_ID_MASTER
CLICKERS decimal Clickers filters on the platform, writable, computed, ::ancestor.::ancestor.attributes.CLICKERS
COMPANY_NAME varchar2 Company Name filters on the platform, writable, ::ancestor.::ancestor.attributes.COMPANY_NAME
CONTACT_TIMEZONE varchar2 itgen_sib_contact_timezone filters on the platform, writable, ::ancestor.::ancestor.attributes.CONTACT_TIMEZONE
CONTRACT_CODE varchar2 Contract Code filters on the platform, writable, ::ancestor.::ancestor.attributes.CONTRACT_CODE
COUNTRY varchar2 Country filters on the platform, writable, ::ancestor.::ancestor.attributes.COUNTRY
D31APPLICATIONS varchar2 itgen_sib_d31applications filters on the platform, writable, ::ancestor.::ancestor.attributes.D31APPLICATIONS
D31BILLINGIDS varchar2 itgen_sib_d31billingids filters on the platform, writable, ::ancestor.::ancestor.attributes.D31BILLINGIDS
D31BUBSGBRIDS varchar2 itgen_sib_d31bubsgbrids filters on the platform, writable, ::ancestor.::ancestor.attributes.D31BUBSGBRIDS
D31DATACONTAINERCNT decimal itgen_sib_d31datacontainercnt filters on the platform, writable, ::ancestor.::ancestor.attributes.D31DATACONTAINERCNT
D31MBIO decimal itgen_sib_d31mbio filters on the platform, writable, ::ancestor.::ancestor.attributes.D31MBIO
D31PARTITIONCNT decimal itgen_sib_d31partitioncnt filters on the platform, writable, ::ancestor.::ancestor.attributes.D31PARTITIONCNT
D31PROVIDERCNT decimal itgen_sib_d31providercnt filters on the platform, writable, ::ancestor.::ancestor.attributes.D31PROVIDERCNT
D31ROWCNT decimal itgen_sib_d31rowcnt filters on the platform, writable, ::ancestor.::ancestor.attributes.D31ROWCNT
D31TABLECNT decimal itgen_sib_d31tablecnt filters on the platform, writable, ::ancestor.::ancestor.attributes.D31TABLECNT
DOUBLE_OPT-IN varchar2 filters on the platform, writable, ::ancestor.::ancestor.attributes.DOUBLE_OPT-IN
EXT_ID varchar2 itgen_sib_ext_id filters on the platform, writable, ::ancestor.::ancestor.attributes.EXT_ID
FIRSTNAME varchar2 First Name filters on the platform, writable, ::ancestor.::ancestor.attributes.FIRSTNAME
FORUMS_LOGIN varchar2 Forums Login filters on the platform, writable, ::ancestor.::ancestor.attributes.FORUMS_LOGIN
JOBTITLE varchar2 Job Title filters on the platform, writable, ::ancestor.::ancestor.attributes.JOBTITLE
JOB_TITLE varchar2 itgen_sib_job_title filters on the platform, writable, ::ancestor.::ancestor.attributes.JOB_TITLE
LANDLINE_NUMBER varchar2 itgen_sib_landline_number filters on the platform, writable, ::ancestor.::ancestor.attributes.LANDLINE_NUMBER
LANGUAGE_CODE varchar2 Language Code filters on the platform, writable, ::ancestor.::ancestor.attributes.LANGUAGE_CODE
LASTNAME varchar2 Last Name filters on the platform, writable, ::ancestor.::ancestor.attributes.LASTNAME
LINKEDIN varchar2 itgen_sib_linkedin filters on the platform, writable, ::ancestor.::ancestor.attributes.LINKEDIN
MOBILE_NUMBER varchar2 Mobile Number filters on the platform, writable, ::ancestor.::ancestor.attributes.MOBILE_NUMBER
OPT_IN char itgen_sib_opt_in filters on the platform, writable, ::ancestor.::ancestor.attributes.OPT_IN
PHONE_NUMBER varchar2 Phone Number filters on the platform, writable, ::ancestor.::ancestor.attributes.PHONE_NUMBER
PRIMARY_AUDIENCE varchar2 Primary Audience filters on the platform, writable, ::ancestor.::ancestor.attributes.PRIMARY_AUDIENCE
READERS decimal Readers filters on the platform, writable, computed, ::ancestor.::ancestor.attributes.READERS
SMS varchar2 SMS filters on the platform, writable, ::ancestor.::ancestor.attributes.SMS
WHATSAPP varchar2 WhatsApp filters on the platform, writable, ::ancestor.::ancestor.attributes.WHATSAPP
_COUNTRY varchar2 itgen_sib__country filters on the platform, writable, ::ancestor.::ancestor.attributes._COUNTRY
_DETECTED_CITY varchar2 itgen_sib__detected_city filters on the platform, writable, ::ancestor.::ancestor.attributes._DETECTED_CITY
_DETECTED_COUNTRY varchar2 itgen_sib__detected_country filters on the platform, writable, ::ancestor.::ancestor.attributes._DETECTED_COUNTRY
_DETECTED_LANGUAGE varchar2 itgen_sib__detected_language filters on the platform, writable, ::ancestor.::ancestor.attributes._DETECTED_LANGUAGE
_DETECTED_POSTALCODE varchar2 itgen_sib__detected_postalcode filters on the platform, writable, ::ancestor.::ancestor.attributes._DETECTED_POSTALCODE
_DETECTED_REGION varchar2 itgen_sib__detected_region filters on the platform, writable, ::ancestor.::ancestor.attributes._DETECTED_REGION
_DETECTED_TIMEZONE varchar2 itgen_sib__detected_timezone filters on the platform, writable, ::ancestor.::ancestor.attributes._DETECTED_TIMEZONE
_LAST_DETECTED_LOCATION_DATE datetime itgen_sib__last_detected_location_date filters on the platform, writable, ::ancestor.::ancestor.attributes._LAST_DETECTED_LOCATION_DATE
campaignId int64 Campaign ID writable, campaignId ID of the campaign which generated the event
count int64 Count writable, count Number of openings for the campaign
createdAt varchar2 Creation Date filters on the platform, writable, ::ancestor.::ancestor.createdAt Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ)
email varchar2 Email Address filters on the platform, writable, ::ancestor.::ancestor.email Email address of the contact for which you requested the details
emailBlacklisted char Email is Blacklisted filters on the platform, writable, ::ancestor.::ancestor.emailBlacklisted Blacklist status for email campaigns (true=blacklisted, false=not blacklisted)
eventTime varchar2 Event Time writable, eventTime UTC date-time of the event
id int64 ID filters on the platform, writable, ::ancestor.::ancestor.id ID of the contact for which you requested the details
ip varchar2 IP writable, ip IP from which the user has opened the email
listIds varchar2 List IDs writable, ::ancestor.::ancestor.listIds
listUnsubscribed varchar2 Unsubscribed List IDs writable, ::ancestor.::ancestor.listUnsubscribed
modifiedAt varchar2 Modified Date filters on the platform, writable, ::ancestor.::ancestor.modifiedAt Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ)
smsBlacklisted char SMS is Blacklisted filters on the platform, writable, ::ancestor.::ancestor.smsBlacklisted Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted)
whatsappBlacklisted char itgen_sib_whatsappblacklisted filters on the platform, writable, ::ancestor.::ancestor.whatsappBlacklisted Blacklist status for WhatsApp campaigns (true=blacklisted, false=not blacklisted)

Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

Changes of This Table, 26.0 to 27.0

  • - attributes
  • + ABONNEMENTEN_ACTIEF (varchar2)
  • + ABONNEMENTEN_ACTIEF_TOT (varchar2)
  • + BLACKLIST (decimal)
  • + BUBS_GBR_ID (decimal)
  • + BUBS_GBR_ID_MASTER (decimal)
  • + CLICKERS (decimal)
  • + COMPANY_NAME (varchar2)
  • + CONTACT_TIMEZONE (varchar2)
  • + CONTRACT_CODE (varchar2)
  • + COUNTRY (varchar2)
  • + D31APPLICATIONS (varchar2)
  • + D31BILLINGIDS (varchar2)
  • + D31BUBSGBRIDS (varchar2)
  • + D31DATACONTAINERCNT (decimal)

30 more changes

  • + D31MBIO (decimal)
  • + D31PARTITIONCNT (decimal)
  • + D31PROVIDERCNT (decimal)
  • + D31ROWCNT (decimal)
  • + D31TABLECNT (decimal)
  • + DOUBLE_OPT-IN (varchar2)
  • + EXT_ID (varchar2)
  • + FIRSTNAME (varchar2)
  • + FORUMS_LOGIN (varchar2)
  • + JOBTITLE (varchar2)
  • + JOB_TITLE (varchar2)
  • + LANDLINE_NUMBER (varchar2)
  • + LANGUAGE_CODE (varchar2)
  • + LASTNAME (varchar2)
  • + LINKEDIN (varchar2)
  • + MOBILE_NUMBER (varchar2)
  • + OPT_IN (char)
  • + PHONE_NUMBER (varchar2)
  • + PRIMARY_AUDIENCE (varchar2)
  • + READERS (decimal)
  • + SMS (varchar2)
  • + WHATSAPP (varchar2)
  • + _COUNTRY (varchar2)
  • + _DETECTED_CITY (varchar2)
  • + _DETECTED_COUNTRY (varchar2)
  • + _DETECTED_LANGUAGE (varchar2)
  • + _DETECTED_POSTALCODE (varchar2)
  • + _DETECTED_REGION (varchar2)
  • + _DETECTED_TIMEZONE (varchar2)
  • + _LAST_DETECTED_LOCATION_DATE (datetime)

All changes of the driver, 26.0 to 27.0