Create a CRM integration

Prev Next
Put
/v2/crm/integrations

Registers a CRM integration and returns its integrationId. Send it with your requests to the other CRM endpoints, except GET /v2/crm/integrations. Read it as a 64-bit integer (long or BigInt) or as a string. Tools that read it as a regular number, such as JavaScript, round it, and requests with the rounded ID fail.

Gong also creates the standard fields of each object type, so you can upload objects right away. To add fields of your own, use POST /v2/crm/entity-schema.

A company can have one CRM integration at a time. If it's connected to any CRM, including a native integration such as Salesforce or HubSpot, disconnect it first: a native integration in Gong, an API integration with DELETE /v2/crm/integrations.

Required authorization scope: 'api:crm:integration:register'.

Body parameters
object
ownerEmail
string Required

The email address of the person responsible for the integration.

Examplejoe.doe@acme.com
name
string Required

The name of the integration.

ExampleACME Sandbox
Responses
200

Successful response

object
requestId
string

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

Example4al018gzaztcr8nbukw
integrationId
integer (int64)

The Gong ID of the integration. Read it as a 64-bit integer (long or BigInt) or as a string. Tools that read it as a regular number, such as JavaScript, round it, and requests with the rounded ID fail.

Example5517027188234205706
400
  • The request body isn't valid JSON.
  • A required field is missing, or a value has the wrong type or format. The error message names the field.
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
409
  • The company already has a CRM integration, registered through the API or a native integration such as Salesforce. Disconnect it first.
  • The company has more than one CRM integration. Contact Gong Support to disconnect them.
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.
  • Gong couldn't create the integration's standard fields. Wait a few minutes, then try 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