Skip to main content
Use Gong through Corsair: one client, typed API calls. A Gong API key has two halves, an access key and an access key secret. A technical administrator creates them on Gong’s API page. The plugin needs both and sends them as HTTP Basic. Things to know before you call it:
  • Both halves of the key. The access key is the connection’s API key and the secret is its api_key_secret field. In code you can pass accessKey and accessKeySecret to gong() instead.
  • API host. Requests go to https://api.gong.io. If Gong shows your company its own base URL, such as https://us-12345.api.gong.io, pass it as baseUrl. The plugin accepts api.gong.io and <name>.api.gong.io and rejects any other host.
  • OAuth is a token you bring. authType: 'oauth_2' sends a bearer token as it is. The plugin does not run Gong’s OAuth flow and does not refresh the token, and a Gong token lasts one day. Pass the api_base_url_for_customer value from Gong’s token response as baseUrl.
  • IDs are digit strings. Gong IDs are 64-bit numbers, too large for a JavaScript number. Pass them as strings, the way workspaces.list returns them.
  • Paging. A list returns records.cursor while more pages exist. Send it back as cursor and keep every other input the same.
  • Rate limits. Gong allows 3 calls a second and 10,000 a day by default, and answers 429 with Retry-After. The plugin waits that long and retries up to three times.
  • Erasing data cannot be undone. dataPrivacy.purgeEmailAddress and dataPrivacy.purgePhoneNumber delete the emails, calls, leads and contacts tied to that address or number. Gong takes several hours to finish.
  • Credits. entities.ask and entities.generateBrief use Gong credits on every call.
  • Personal data stays out of the event log. Events record IDs, date ranges and list sizes. Names, email addresses, phone numbers, prospects, call parties and questions are not stored.
  • Webhooks. The plugin does not receive webhooks.
What you get:
  • 66 typed API operations

Setup

1

Install

2

Add the plugin

corsair.ts
With multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.
3

Choose authentication

4

Connect a tenant

Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.

Example API calls

List last week’s calls
Give a user access to a call
See the full list on the API page.

What’s next

API reference

Every gong.api.* operation with input and output types.

Connect / OAuth

createLink, Hub delivery, and tenant connect flows.

Use with agents

Expose this plugin’s operations as MCP tools.