Enrich accounts

Prev Next
Post
/v2/accounts/enrich

Submits up to 10 accounts for asynchronous enrichment and returns a jobId to poll for results. Each account must include at least one identifier: name, domain, or LinkedIn URL. Accounts that cannot be matched are returned with a matched status of false.

Required authorization scope: 'api:accounts:enrich'.

Query parameters
dataCategories
array of stringRequired

The data categories to enrich the account with. Values are case-sensitive.

Unique itemstrue
Valid Item values[ "accountData" ]
Body parameters
Expand All
object
accounts
Array of object (AccountEnrichRequest) Required

A list of 1 to 10 accounts to enrich.

Min items1
Max items10
object

A single account to enrich. Provide a unique id and search criteria.

id
string Required

A unique identifier for the account request, returned in the response to identify this account.

Min length1
Exampleaccount-1
accountSearchCriteria
object (AccountSearchCriteria) Required

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 enrichment job. Pass it to the /v2/accounts/enrich//results endpoint to retrieve the enrichment 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

Account 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