Enrich contacts

Prev Next
Post
/v2/contacts/enrich

Submits 1-10 contacts for async enrichment against Gong's data. Returns a jobId to poll for results. When accessed through a Bearer token authorization method, use the 'api:contacts:enrich' scope.

Query parameters
dataCategories
array of stringRequired

The data categories to include in the enrichment response. Values are case sensitive.

Unique itemstrue
Valid Item values[ "contactData", "enrichEmails", "enrichPhones" ]
Body parameters
Expand All
object
contacts
Array of object (ContactEnrichRequest) Required

Between 1 and 10 contacts to enrich. Each contact must have an id that is unique within the request.

Min items1
Max items10
object

A single contact to enrich. Provide a unique id plus one of the following search criteria combinations: (1) linkedinUrl on its own; (2) firstName, lastName and email; (3) firstName, lastName and accountSearchCriteria. A contact matching none of these combinations is rejected with a 400.

id
string Required

A unique identifier for the contact request, used to correlate results in the response

Min length1
Examplecontact-1
firstName
string

The contact's first name. Required unless linkedinUrl is provided.

Min length0
Max length255
ExampleJane
lastName
string

The contact's last name. Required unless linkedinUrl is provided.

Min length0
Max length255
ExampleDoe
linkedinUrl
string

The contact's LinkedIn profile URL. When provided, it is sufficient on its own.

Min length0
Max length500
Examplehttps://www.linkedin.com/in/jane-doe-example
email
string

The contact's email address. Used together with firstName and lastName.

Min length0
Max length255
Examplejane.doe@example.com
accountSearchCriteria
object (AccountSearchCriteria)

Account details used to identify the account. At least one parameter must be provided.

name
string

The account's name.

Min length0
Max length255
ExampleGong
domain
string

The account's domain, for example 'gong.io'.

Min length0
Max length255
Examplegong.io
linkedinUrl
string

A link to the account's LinkedIn company page.

Min length0
Max length500
Examplehttps://www.linkedin.com/company/gong-io
Responses
200

Enrich job accepted

object
requestId
string

A Gong request reference Id, generated for this request. Can be used for troubleshooting purposes.

Example4al018gzaztcr8nbukw
jobId
string

The identifier of the accepted enrich job. Pass it to get result path to retrieve the results.

Example3f9c2a7e-8b1d-4c6a-9e2f-5d7b1a0c4e88
400

Malformed request

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

Access denied

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

Failed to complete the operation due to an unexpected error

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
503

Contact enrichment is not enabled for your company, or the enrich service is unavailable

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