List data for an email address

Prev Next
Get
/v2/data-privacy/data-for-email-address

Returns the calls, email messages, calendar meetings, contacts, leads and engagement events in Gong that include an email address. Use the response to answer a person's request to see their data, or to check what POST /v2/data-privacy/erase-data-for-email-address deletes before you send it.

The email address must belong to a person outside the company. A Gong user's email address returns 400.

To check whether a deletion is done, continue polling this endpoint after you request the deletion. Calls that Gong is still deleting are listed with the status PURGE_REQUESTED. Calls that Gong already deleted aren't listed.

Required authorization scope: 'api:data-privacy:read'.

Query parameters
emailAddress
stringRequired

The email address of the person whose data to list.

Responses
200

Successful request

Expand All
object
requestId
string

The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.

Example4al018gzaztcr8nbukw
emails
Array of object (EmailMessage)

The email messages in Gong that were sent to or from the email address.

object

An email message in Gong.

from
string

The email address of the sender.

Exampletest@test.com
id
string

The Gong ID of the email message. 32 characters.

Example223mjfaaqqjuegabiyrmpctvcwwl75oz
sentTime
string

The date and time the email message was sent, in ISO-8601 format.

Example2019-01-20T00:00:00-08:00
mailbox
string

The email address of the mailbox that Gong imported the email message from.

Exampletest@test.com
messageHash
string

A hash of the email message.

Examplel3z7w2s7oircdabnkwizmycm6g2uwznc
calls
Array of object (CallReference)

The calls in Gong that include the email address, such as calls the person was invited to or took part in, and calls linked to a contact or lead with the email address.

object

A call in Gong that includes the email address or phone number.

id
string

The Gong ID of the call. Up to 20 digits.

Example7782342274025937895
status
string

The status of the call in Gong. Possible values: SCHEDULED (the call hasn't taken place yet), INPROGRESS (the call is taking place), IMPORT_REQUESTED, PROCESSING_REQUESTED, COMPLETED (Gong finished processing the call), NOSHOW, CANCELLED, ABORTED, PURGE_REQUESTED (Gong will delete the call).

ExampleCOMPLETED
externalSystems
Array of object (ExternalSystem)

The Salesforce objects the call is linked to.

object

A CRM with the objects the call is linked to.

system
string

The CRM the objects belong to. The value is always Salesforce.

Valid values[ "Salesforce", "HubSpot", "MicrosoftDynamic", "Generic" ]
ExampleSalesforce
objects
Array of object (ExternalSystemObject)

The objects in Salesforce that the call is linked to.

object

An object in Salesforce that the call is linked to.

objectType
string

The type of the Salesforce object. Possible values: Task (a task the call is logged as), Conversation (the call's own record in Salesforce).

Valid values[ "Conversation", "Task" ]
ExampleTask
externalId
string

The ID of the object in Salesforce.

Example0013601230sV7grAAC
meetings
Array of object (Meeting)

The calendar meetings in Gong that the email address was invited to.

object

A calendar meeting in Gong.

id
string

The Gong ID of the meeting.

Example8059707022269524529.sb5gr1tgpt5dd799eh035rb3dk@google.com_2022-06-30T13:00:00Z
customerData
Array of object (CustomerData)

The contacts and leads in Gong with the email address, grouped by CRM.

object

A CRM with the contacts and leads in Gong that match the request.

system
string

The CRM the contacts and leads come from. Possible values: Salesforce, HubSpot, MicrosoftDynamic (Microsoft Dynamics 365), Generic (a CRM connected through the CRM endpoints).

Valid values[ "Salesforce", "HubSpot", "MicrosoftDynamic", "Generic" ]
ExampleSalesforce
objects
Array of object (CustomerDataObject)

The contacts and leads from this CRM that match the request.

object

A contact or lead in Gong that matches the request.

id
string

The Gong ID of the lead or contact. Up to 20 digits.

Example7782342274025937895
objectType
string

The type of the CRM object. Possible values: Contact, Lead.

Valid values[ "Lead", "Contact" ]
ExampleContact
externalId
string

The CRM ID of the contact or lead.

Example0013601230sV7grAAC
mirrorId
string

The ID of the contact or lead in Gong's copy of your CRM data.

Example"{\"integrationId\":\"262834820328732\",\"crmObjectType\":\"CONTACT\",\"crmId\":\"0031Q00002DFhi4QAD\"}"
fields
Array of object (ContextField)

The fields of the contact or lead. The list holds one field, fullName, with the person's full name.

object

A field of an object in an external system, with its value.

name
string

The name of the field.

Examplename
value
object

The value of the field.

ExampleGong Inc.
customerEngagement
Array of object (CustomerEngagement)

The engagement events of the person, such as views of calls shared outside the company, and events reported through the Engagement and Digital Interactions endpoints.

object

An engagement event of the person.

eventType
string

The type of the event. Possible values: contentViewed (the person viewed content, such as a call shared from Gong), contentShared (content was shared with the person), customEvent (an event reported through PUT /v2/customer-engagement/action), digitalInteraction (an event reported through POST /v2/digital-interaction).

Valid values[ "contentShared", "contentViewed", "customEvent", "digitalInteraction" ]
ExampleExternalCallViewing
timestamp
string (date-time)

The date and time the event happened, in ISO-8601 format.

Example2019-01-20T00:00:00-08:00
contentId
string

For a view of a shared call, the Gong ID of the call.

Example7782342274025937895
contentUrl
string

For a view of a shared call, the URL of the shared call.

Examplehttps://app.gong.io/e/c-share/tkn=5vjaxkqnzmp515b220vlzto2i
reportingSystem
string

The system that reported the event to Gong.

Examplehttps://app.gong.io/e/c-share/tkn=5vjaxkqnzmp515b220vlzto2i
eventName
string

The name of the event, as the reporting system sent it.

Examplehttps://app.gong.io/e/c-share/tkn=5vjaxkqnzmp515b220vlzto2i
sourceEventId
string

The ID of the event in the system that reported it.

Examplehttps://app.gong.io/e/c-share/tkn=5vjaxkqnzmp515b220vlzto2i
400
  • A required parameter is missing. The error message names the parameter.
  • The email address isn't valid.
  • The email address belongs to a Gong user. The endpoints are for people outside the company.
object
requestId
string

The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.

Example4al018gzaztcr8nbukw
errors
Array of string

Error messages.

Example[ "An error has occurred" ]
string
401
  • The API key or access token is missing or isn't valid.
  • The integration uses OAuth, and its token doesn't have the scope this endpoint requires. The error message names the scope.
object
requestId
string

The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.

Example4al018gzaztcr8nbukw
errors
Array of string

Error messages.

Example[ "An error has occurred" ]
string
429
  • The company sent more requests than its rate limit allows. Wait the number of seconds in Retry-After, then send the request again.
Headers
Retry-After
integer (int32)
The number of seconds to wait before you send the request again.
object
requestId
string

The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.

Example4al018gzaztcr8nbukw
errors
Array of string

Error messages.

Example[ "An error has occurred" ]
string
500
  • Gong couldn't complete the request because of an unexpected error. Try again. If the error continues, contact Gong Support and give them the requestId from the response.
object
requestId
string

The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.

Example4al018gzaztcr8nbukw
errors
Array of string

Error messages.

Example[ "An error has occurred" ]
string