Returns the contacts and leads in Gong with a phone number, and the calls, email messages and calendar meetings that are linked to them. Use the response to answer a person's request to see their data, or to check what POST /v2/data-privacy/erase-data-for-phone-number deletes before you send it.
Gong finds the data in two steps. First, it finds the contacts and leads whose phone number or mobile phone number matches, and the calls made to or from the number. Then it adds the calls, email messages and calendar meetings of every email address on those contacts and leads. The response lists these email addresses in emailAddresses.
Gong matches the phone number in any format it's stored in. A number stored without a country code matches when it contains the last 9 digits of the number you send. Numbers of other people can match this way. The response lists every number that matched in matchingPhoneNumbers.
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'.
The phone number of the person whose data to list, in international format: a plus sign (+), the country code and the number. The number must have at least 9 digits after the plus sign. Gong ignores spaces, hyphens, parentheses and every other character that isn't a digit. In the query string, write + as %2B.
Successful request
The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.
The email messages in Gong that were sent to or from the email addresses in emailAddresses.
An email message in Gong.
The email address of the sender.
The Gong ID of the email message. 32 characters.
The date and time the email message was sent, in ISO-8601 format.
The email address of the mailbox that Gong imported the email message from.
A hash of the email message.
The calls in Gong that include the phone number or an email address in emailAddresses, such as calls made to or from the number, and calls linked to a contact or lead with the number.
A call in Gong that includes the email address or phone number.
The Gong ID of the call. Up to 20 digits.
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).
The Salesforce objects the call is linked to.
A CRM with the objects the call is linked to.
The CRM the objects belong to. The value is always Salesforce.
The objects in Salesforce that the call is linked to.
An object in Salesforce that the call is linked to.
The type of the Salesforce object. Possible values: Task (a task the call is logged as), Conversation (the call's own record in Salesforce).
The ID of the object in Salesforce.
The calendar meetings in Gong that an email address in emailAddresses was invited to.
A calendar meeting in Gong.
The Gong ID of the meeting.
The contacts and leads in Gong whose phone number or mobile phone number matches, grouped by CRM.
A CRM with the contacts and leads in Gong that match the request.
The CRM the contacts and leads come from. Possible values: Salesforce, HubSpot, MicrosoftDynamic (Microsoft Dynamics 365), Generic (a CRM connected through the CRM endpoints).
The contacts and leads from this CRM that match the request.
A contact or lead in Gong that matches the request.
The Gong ID of the lead or contact. Up to 20 digits.
The type of the CRM object. Possible values: Contact, Lead.
The CRM ID of the contact or lead.
The ID of the contact or lead in Gong's copy of your CRM data.
The fields of the contact or lead. The list holds one field, fullName, with the person's full name.
A field of an object in an external system, with its value.
The name of the field.
The value of the field.
The phone number sent in the request.
The phone numbers in Gong that match the number in the request, written as they're stored in Gong. A number stored without a country code matches when it contains the last 9 digits of the number in the request.
A phone number that matches the number in the request.
The email addresses of the contacts and leads with the phone number. The response also lists the calls, email messages and calendar meetings of these email addresses.
An email address of a contact or lead with the phone number.
- A required parameter is missing. The error message names the parameter.
- The phone number doesn't start with a plus sign (
+). In the query string, write+as%2B. - The phone number has fewer than 9 digits after the plus sign, or isn't a valid phone number.
The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.
Error messages.
- 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.
The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.
Error messages.
- The company sent more requests than its rate limit allows. Wait the number of seconds in
Retry-After, then send the request again.
The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.
Error messages.
- Gong couldn't complete the request because of an unexpected error. Try again. If the error continues, contact Gong Support and give them the
requestIdfrom the response.
The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.
Error messages.