Delete data for an email address

Prev Next
Post
/v2/data-privacy/erase-data-for-email-address

Permanently deletes from Gong the data about a person outside the company, found by their email address, so that you can complete the person's request to erase their data. Gong deletes:

  • The calls, email messages and calendar meetings that include the email address.
  • The contacts and leads with the email address.
  • The person's engagement events.

Gong deletes each call for everyone who took part in it.

Gong doesn't delete the data in your CRM or email system, and imports it again from them. Delete the data in those systems first.

Gong deletes the data asynchronously. The response returns when Gong accepts the request, and the deletion can take several hours. To check that the deletion is done, send the same email address to GET /v2/data-privacy/data-for-email-address. Continue polling until the response no longer lists the calls, email messages and calendar meetings.

To prevent large deletions by mistake, Gong counts the matching data before it deletes anything. If the email address matches more than 1,500 email messages, 600 calls, 150 completed calls, 25 contacts, 50 leads or 3,500 calendar meetings, Gong deletes nothing and returns 400. Sending the same request again returns the same error. To delete the data, contact Gong Support. To check the numbers before you delete, list the data with GET /v2/data-privacy/data-for-email-address.

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

Query parameters
emailAddress
stringRequired

The email address of the person whose data to delete.

Responses
200

Success

object
requestId
string

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

Example4al018gzaztcr8nbukw
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.
  • The email address is in one of the company's email domains.
  • The request matches more data than the deletion limits allow, and Gong deleted nothing. To delete the data, contact Gong Support.
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