Retrieve user BCC address via API

Is it possible to retrieve the BCC address for email tracking via Hubspot API?

Hi @mmaddiona

Did you tried to search all sent email from to targeted sender?

curl https://api.hubapi.com/crm/v3/objects/emails/search \
 --request POST \
 --header "Content-Type: application/json" \
 --data '{
 "filterGroups":[
 {
 "filters":[
 {
 "propertyName": "hs_email_from_email",
 "operator": "EQ",
 "value": "user@domain.com"
 }
 ]
 }
 ]
 }'

Hi @SAMsan this could be a good tricky solution, but it could lead to errors (for example if email are logged from external, without the BCC address or using a different one). I was wondering if there is a specific API to retrieve this field

You can narrow down filters to suit your needs (direction, etc.) but it could indeed lead to errors…
I never saw such an endpoint. But you can add BCC log in your Hubspot account as mentionned on this post: Log email in your CRM with the BCC or forwarding address (hubspot.com)