> ## Documentation Index > Fetch the complete documentation index at: https://help.gong.io/llms.txt > Use this file to discover all available pages before exploring further. # List all company permission profiles for a given workspace (/v2/all-permission-profiles) > Returns a list of all permission profiles. The listing is in the alphabetical order of the profile names. ## OpenAPI ````json GET /v2/all-permission-profiles { "openapi": "3.0.1", "info": { "title": "Gong API", "version": "V2" }, "servers": [ { "url": "http://127.0.0.1:8090", "description": "Generated server url" } ], "tags": [ { "name": "Calls", "description": "

Gong’s “Calls” API endpoints allow you to:

\n\n

The requested calls may contain the following call details:

\n\n" }, { "name": "Users", "description": "

Gong’s “Users” API endpoints allow you to:

\n\n

The requested users may contain the following details:

\n\n" }, { "name": "Stats", "description": "

Gong’s “Stats” API endpoints allow you to:

\n\n

The requested user activity may contain the following details:

\n\n" }, { "name": "Settings", "description": "

Gong’s “Settings” API endpoints allow you to:

\n\n" }, { "name": "Data Privacy", "description": "

Gong’s “Data Privacy” API endpoints allow you to:

\n\n" }, { "name": "Library", "description": "

Gong’s “Library” API endpoints allow you to:

\n\n" }, { "name": "CRM", "description": "

If you are using the deprecated endpoints, download the PDF file.

What does the CRM API do?

This API enables integration with CRMs that are not natively integrated with Gong, so that Gong can provide you with its full capabilities based on your CRM data. This includes:

By uploading your CRM data to Gong, your Gong users will be able to see their CRM deals in the Gong Deals page, view deal boards to follow up on deal progress, get warnings for deals that are at risk, and see whether their team will reach its quota. The CRM data is also displayed in conversations and calls, so that your Gong users can see account and contact data such as the name and job title of the contact in the call. Account data is displayed in the Accounts page, together with the history of all communication and contact with the company.

Note: Gong provides native integrations with Salesforce, HubSpot and Microsoft Dynamics 365.

API Protocol

The API protocol is based on REST guidelines. Check here what's your base URL for all API calls.\n

The payload is either a JSON object or, for API calls that upload lists of objects, line delimited JSON (see: JSON streaming). JSON objects should be UTF-8 encoded.

Dates and timestamps in JSON objects should be in ISO-8601 format without milliseconds (e.g. '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC).

What data can I upload?

To see your CRM data in Gong, upload the following entities:

Uploading CRM data to Gong

This diagram shows how to set up your system in order to upload CRM data to Gong. This is relevant for each scenario of uploading data, initial, incremental and uploading historical data.

\"\"

Registering your Integration

Register your integration to get an integrationId used to identify your company's integration with Gong. This is a one time action that does not need to be repeated unless you delete your integration.

Use PUT v2/crm/integrations to register your integration. The integration Id is returned in the response. Include the integration Id each time you upload your CRM data.

Uploading additional data for CRM entities

Each CRM entity has a set of standard fields. In addition, you may want to upload additional fields.

Use the POST /v2/crm/entity-schema to adjust the schema according to your needs. Once you have uploaded your schema to Gong, you can upload your entities with the additional fields.

Uploading your CRM data to Gong

This section explains how you can use the CRM API to upload your data to Gong:

First-time upload

Create a database dump of the data you want to upload to Gong based on your CRM schema and data. When uploading your data for the first time you should include all of the CRM records that should appear in Gong.

Incremental upload

Send regular incremental data updates to Gong. You can update your data as often as you like, we recommend updating between every 1-5 minutes.
You should only send new records or records that have changed since the previous upload of data. New records are added to Gong and existing records are updated or deleted, whichever is relevant. Entities are identified by the objectId. Ensure that this ID remains the same each time it is updated.

When updating data, the modificationDate parameter is mandatory. This enables us to maintain accurate historical data. If your CRM does not store the modification date, send the date the API call is made.

Uploading data change history

Gong incorporates historical change data in different areas of Gong in order to provide a more accurate picture of the status of different entities at that time. For example, showing the correct stage of a deal at the time a call was made.

If your CRM stores record history, you are encouraged to load historical change data as part of the integration. You can do this at any time, but we recommend doing this after the initial upload as follows:

  1. Generate the JSON files with the relevant data. Ensure that the modifiedDate is set to the date the entity was updated.
  2. Upload the entities with their historical data using the POST /v2/crm/entities?objectType=ACCOUNT|CONTACT|DEAL|LEAD endpoint.

Gong Data Model

This diagram shows the connection between the different objects in the CRM API:

\"\"

The following relationship between entities must exist:

What if my CRM doesn't match the Gong data model?

It is possible that your CRM entity model won't match the Gong CRM entity model. Your CRM may store your data in different entities, or you may not have an entity that represents one of the Gong CRM entities.

In order to upload your CRM data and associate it with calls and conversations, you need to identify the objects in your CRM which match the Gong CRM entities.

The account is a mandatory entity which must be uploaded in order to integrate Gong with your CRM. To upload account data, identify your CRM entities that contain data about your customers or companies that you do business with. These customers are not actual people within the org, rather they represent the org itself.

To upload contact details, identify your CRM entities that hold data about employees in the company that your reps are in touch with. A contact represents a person where communication has advanced beyond the prospect stage. Your reps will have multiple conversations and interactions with the contact.

The deal represents the selling process to the customer (account).

The lead is a prospect or potential contact, who is not yet associated with an account. If your CRM has an entity which represents people who you contact in the very early stages, and who is later converted to another entity which represents the people you are doing business with (the contact), upload this data as a lead entity.

When will my CRM data be displayed in Gong?

In addition to the time it takes for data to upload to Gong, the data is first uploaded as raw data and is not automatically available in Gong.





" }, { "name": "Auditing", "description": "

Gong’s “Auditing” API endpoints allow you to request the following log types from Gong:

\n\n" }, { "name": "Meetings (in Beta Phase)", "description": "

Gong’s “Consent Meeting” API endpoints allow you to:

\n\n

The requested calls may contain the following meeting details:

\n\n" }, { "name": "Permissions", "description": "

Gong’s \"Permission\" API endpoints allow you to:

\n\n" }, { "name": "Engage Flows", "description": "

Gong’s “Flows” API endpoints allow you to:

\n\n" }, { "name": "Digital Interactions", "description": "

Digital interactions (DIs) are events people make when interacting with (mostly) digital content. It can be described as an action someone did on an object. Anything from viewing a document or a video, to registering/completing a course or someone visiting your website.

The below proposed Digital Interactions API allows mainly tech-partners (and also customers) to capture and track user interactions with various types of digital content. It provides a structured schema for recording a person’s identity, action, content details, and additional contextual information. The API enables seamless integration between tech-partner systems and the Gong platform, providing valuable insights into buyer-seller interactions that sometimes are hidden from a seller’s line-of-sight.

For simplicity & clarity, the API scheme is designed according to a real-world scenario, including the following terminology:For simplicity & clarity, the API scheme is designed according to a real-world scenario, including the following terminology:

" }, { "name": "Integration Settings", "description": "

Configure your integration settings for displaying your company data in iFrames. For example, use this API to configure dynamic links as the iFrame source. This endpoint includes validation mechanisms to ensure the integration is secure.

Mandatory fields are marked with a *.

" }, { "name": "Engagement (Legacy – See “Digital Interactions”)", "description": "

Limited release - contact integration.requests@gong.io for more information.\n

\n\n

Gong’s \"Engagement\" API endpoints allow you to push engagement events into Gong and display them as events in Gong’s activity timeline.

\n

There are currently 3 types of events:

\n\n" } ], "paths": { "/v2/all-permission-profiles": { "get": { "operationId": "listPermissionProfile", "summary": "List all company permission profiles for a given workspace (/v2/all-permission-profiles)", "description": "Returns a list of all permission profiles.\n\nThe listing is in the alphabetical order of the profile names.", "parameters": [ { "name": "workspaceId", "in": "query", "description": "Workspace identifier, the API will return only the profiles belonging to this workspace.\n\nYou can retrieve the workspace using the \"workspaces\" (under \"Settings\") API.", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Successful response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PermissionProfilesResponse" } } } }, "400": { "description": "Malformed request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Access denied", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "500": { "description": "Failed to complete the operation due to an unexpected error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } } }, "tags": [ "Permissions" ] } } }, "components": { "schemas": { "PermissionProfilesResponse": { "type": "object", "properties": { "requestId": { "description": "A Gong request reference Id, generated for this request. Can be used for troubleshooting purposes.", "type": "string", "example": "4al018gzaztcr8nbukw" }, "profiles": { "description": "A list, in which each item specifies a permission profile.", "type": "array", "items": { "$ref": "#/components/schemas/PermissionProfileDTO" } } } }, "ErrorResponse": { "type": "object", "properties": { "requestId": { "description": "A Gong request reference Id, generated for this request. Can be used for troubleshooting purposes.", "type": "string", "example": "4al018gzaztcr8nbukw" }, "errors": { "description": "Error messages.", "type": "array", "items": { "type": "string" }, "example": [ "An error has occurred" ] } } }, "PermissionProfileDTO": { "description": "Permission profile", "type": "object", "properties": { "id": { "description": "Unique numeric identifier of the permission profile (up to 20 digits).", "type": "string", "example": "3843152912968920037" }, "name": { "description": "Permission profile name.", "type": "string", "example": "Profile" }, "description": { "description": "Permission profile description.", "type": "string", "example": "Description" }, "callsAccess": { "$ref": "#/components/schemas/CallAccessWithPermissionLevel" }, "libraryFolderAccess": { "$ref": "#/components/schemas/LibraryFolderAccess" }, "dealsAccess": { "$ref": "#/components/schemas/DealsAccessWithPermissionLevel" }, "forecastPermissions": { "$ref": "#/components/schemas/ForecastPermissions" }, "coachingAccess": { "$ref": "#/components/schemas/CoachingAccessWithPermissionLevel" }, "insightsAccess": { "$ref": "#/components/schemas/InsightsAccessWithPermissionLevel" }, "usageAccess": { "$ref": "#/components/schemas/UsageAccessWithPermissionLevel" }, "emailsAccess": { "$ref": "#/components/schemas/EmailsAccessWithPermissionLevel" }, "scoreCalls": { "description": "User can score calls.", "type": "boolean", "example": true }, "overrideScore": { "description": "User can override someone else score. ", "type": "boolean", "example": true }, "downloadCallMedia": { "description": "User can download call media.", "type": "boolean", "example": true }, "shareCallsWithCustomers": { "description": "User can share calls with customers.", "type": "boolean", "example": true }, "manuallyScheduleAndUploadCalls": { "description": "User can manually schedule and upload calls.", "type": "boolean", "example": true }, "privateCalls": { "description": "User can set their own calls as private.", "type": "boolean", "example": true }, "deleteCalls": { "description": "User can delete calls.", "type": "boolean", "example": true }, "trimCalls": { "description": "User can trim calls.", "type": "boolean", "example": true }, "listenInCalls": { "description": "User can listen in calls.", "type": "boolean", "example": true }, "deleteEmails": { "description": "User can delete emails.", "type": "boolean", "example": true }, "callsAndSearch": { "description": "User can view and search calls.", "type": "boolean", "example": true }, "library": { "description": "User can view library pages.", "type": "boolean", "example": true }, "deals": { "description": "User can view deals pages.", "type": "boolean", "example": true }, "createEditAndDeleteDealsBoards": { "description": "User can create/edit/delete deals boards.", "type": "boolean", "example": true }, "dealsInlineEditing": { "description": "User can perform inline editing of deals.", "type": "boolean", "example": true }, "account": { "description": "User can view account pages.", "type": "boolean", "example": true }, "coaching": { "description": "User can view coaching pages.", "type": "boolean", "example": true }, "usage": { "description": "User can view usage pages.", "type": "boolean", "example": true }, "teamStats": { "description": "User can view team stats page.", "type": "boolean", "example": true }, "initiatives": { "description": "User can view initiatives page.", "type": "boolean", "example": true }, "market": { "description": "User can view market page.", "type": "boolean", "example": true }, "activity": { "description": "User can view activity pages.", "type": "boolean", "example": true }, "forecast": { "description": "User can view forecast pages.", "type": "boolean", "example": true }, "forecastManage": { "description": "User can manage forecast boards and upload targets.", "type": "boolean", "example": true }, "engageManageCompanyTemplates": { "description": "User can manage company email templates.", "type": "boolean", "example": true }, "engageManageCompanySequences": { "description": "User can manage company sequences.", "type": "boolean", "example": true }, "engageCreateAndManageRulesets": { "description": "User can create and manage rulesets.", "type": "boolean", "example": true }, "engageSnoozeFlowToDosForOthers": { "description": "User can snooze flow in to dos for others", "type": "boolean", "example": true }, "engageAllowCrmFieldsViewChange": { "description": "User can change crm fields view", "type": "boolean", "example": true }, "viewEngageAnalyticsActivity": { "description": "User can view engage analytics activity page.", "type": "boolean", "example": true }, "viewEngageAnalyticsPerformance": { "description": "User can view engage analytics performance page.", "type": "boolean", "example": true }, "viewEngageAnalyticsFlows": { "description": "User can view engage analytics flows page.", "type": "boolean", "example": true }, "manageGeneralBusinessSettings": { "description": "User can manage general business settings.", "type": "boolean", "example": true }, "manageScorecards": { "description": "User can manage scorecards.", "type": "boolean", "example": true }, "exportCallsAndCoachingDataToCSV": { "description": "User can export calls and coaching metrics data to CSV.", "type": "boolean", "example": true }, "crmDataInlineEditing": { "description": "User can perform inline editing of crm data.", "type": "boolean", "example": true }, "crmDataImport": { "description": "User can perform import of crm data.", "type": "boolean", "example": true }, "viewRevenueAnalytics": { "description": "User can view dashboards page.", "type": "boolean", "example": true }, "manageRevenueAnalytics": { "description": "User can manage revenue analytics.", "type": "boolean", "example": true }, "engageReassignFlowToDosToOthers": { "description": "User can reassign flow to-dos to others", "type": "boolean", "example": true }, "engageAssignFlowToDosToOthers": { "description": "User can assign flow to-dos to others", "type": "boolean", "example": true }, "dealsDataExport": { "description": "User can export deals data", "type": "boolean", "example": true } } }, "CallAccessWithPermissionLevel": { "description": "Calls access permission.", "type": "object", "properties": { "permissionLevel": { "description": "Permission access scope.", "type": "string", "enum": [ "all", "managers-team", "report-to-them", "own", "none", "all / managers-team / report-to-them / own / none" ] }, "teamLeadIds": { "description": "List of user IDs to populate the managers-team permission level\n\nYou can retrieve the user ids by using the “Users” API.", "type": "array", "items": { "type": "string", "description": "List of user IDs to populate the managers-team permission level\n\nYou can retrieve the user ids by using the “Users” API.", "example": "[\"295738305212375930\"]" }, "example": [ "295738305212375930" ], "uniqueItems": true } } }, "LibraryFolderAccess": { "description": "Library folder access permission.", "type": "object", "properties": { "permissionLevel": { "description": "Library folder permission level - mandatory value.", "type": "string", "enum": [ "none", "all", "specific-folders", "none, all, specific-folders" ] }, "libraryFolderIds": { "description": "List of library folder Ids, if set, \"permissionLevel\" must not be \"none\".", "type": "array", "items": { "type": "string", "description": "List of library folder Ids, if set, \"permissionLevel\" must not be \"none\".", "example": "[\"3843152912968920037\"]" }, "example": [ "3843152912968920037" ], "uniqueItems": true }, "managePublicFolder": { "description": "A user with this profile can manage public folder, if set, \"permissionLevel\" must not be \"none\".", "type": "boolean", "example": true }, "manageStreams": { "description": "A user with this profile can manage streams, if set, \"permissionLevel\" must not be \"none\".", "type": "boolean", "example": true }, "manageFolderCalls": { "description": "A user with this profile can add calls to folders, archive calls, if set, \"permissionLevel\" must not be \"none\".", "type": "boolean", "example": true }, "shareFoldersAndStreams": { "description": "A user with this profile can share folders and streams from Your Library with other team members, if set, \"permissionLevel\" must not be \"none\".", "type": "boolean", "example": true } } }, "DealsAccessWithPermissionLevel": { "description": "Deals access permission.", "type": "object", "properties": { "permissionLevel": { "description": "Permission access scope.", "type": "string", "enum": [ "all", "managers-team", "report-to-them", "own", "none", "all / managers-team / report-to-them / own / none" ] }, "teamLeadIds": { "description": "List of user IDs to populate the managers-team permission level\n\nYou can retrieve the user ids by using the “Users” API.", "type": "array", "items": { "type": "string", "description": "List of user IDs to populate the managers-team permission level\n\nYou can retrieve the user ids by using the “Users” API.", "example": "[\"295738305212375930\"]" }, "example": [ "295738305212375930" ], "uniqueItems": true } } }, "ForecastPermissions": { "description": "All forecast permissions.", "type": "object", "properties": { "forecastAccess": { "$ref": "#/components/schemas/ForecastAccess" }, "forecastEditSubmissions": { "$ref": "#/components/schemas/ForecastEditSubmissions" }, "forecastEditTargets": { "$ref": "#/components/schemas/ForecastEditTargets" } } }, "CoachingAccessWithPermissionLevel": { "description": "Coaching access permission.", "type": "object", "properties": { "permissionLevel": { "description": "Permission access scope.", "type": "string", "enum": [ "all", "managers-team", "report-to-them", "own", "none", "all / managers-team / report-to-them / own / none" ] }, "teamLeadIds": { "description": "List of user IDs to populate the managers-team permission level\n\nYou can retrieve the user ids by using the “Users” API.", "type": "array", "items": { "type": "string", "description": "List of user IDs to populate the managers-team permission level\n\nYou can retrieve the user ids by using the “Users” API.", "example": "[\"295738305212375930\"]" }, "example": [ "295738305212375930" ], "uniqueItems": true } } }, "InsightsAccessWithPermissionLevel": { "description": "Insights access permission.", "type": "object", "properties": { "permissionLevel": { "description": "Permission access scope.", "type": "string", "enum": [ "all", "managers-team", "report-to-them", "own", "none", "all / managers-team / report-to-them / own / none" ] }, "teamLeadIds": { "description": "List of user IDs to populate the managers-team permission level\n\nYou can retrieve the user ids by using the “Users” API.", "type": "array", "items": { "type": "string", "description": "List of user IDs to populate the managers-team permission level\n\nYou can retrieve the user ids by using the “Users” API.", "example": "[\"295738305212375930\"]" }, "example": [ "295738305212375930" ], "uniqueItems": true } } }, "UsageAccessWithPermissionLevel": { "description": "Usage access permission.", "type": "object", "properties": { "permissionLevel": { "description": "Permission access scope.", "type": "string", "enum": [ "all", "managers-team", "report-to-them", "own", "none", "all / managers-team / report-to-them / own / none" ] }, "teamLeadIds": { "description": "List of user IDs to populate the managers-team permission level\n\nYou can retrieve the user ids by using the “Users” API.", "type": "array", "items": { "type": "string", "description": "List of user IDs to populate the managers-team permission level\n\nYou can retrieve the user ids by using the “Users” API.", "example": "[\"295738305212375930\"]" }, "example": [ "295738305212375930" ], "uniqueItems": true } } }, "EmailsAccessWithPermissionLevel": { "description": "Emails access permission.", "type": "object", "properties": { "permissionLevel": { "description": "Permission access scope.", "type": "string", "enum": [ "all", "managers-team", "report-to-them", "own", "none", "all / managers-team / report-to-them / own / none" ] }, "teamLeadIds": { "description": "List of user IDs to populate the managers-team permission level\n\nYou can retrieve the user ids by using the “Users” API.", "type": "array", "items": { "type": "string", "description": "List of user IDs to populate the managers-team permission level\n\nYou can retrieve the user ids by using the “Users” API.", "example": "[\"295738305212375930\"]" }, "example": [ "295738305212375930" ], "uniqueItems": true } } }, "ForecastAccess": { "description": "User can view forecast submissions.", "type": "object", "properties": { "permissionLevel": { "description": "Permission access scope.", "type": "string", "enum": [ "all", "managers-team", "report-to-them", "own", "none", "all / managers-team / report-to-them / own / none" ] }, "teamLeadIds": { "description": "List of user IDs to populate the managers-team permission level\n\nYou can retrieve the user ids by using the “Users” API.", "type": "array", "items": { "type": "string", "description": "List of user IDs to populate the managers-team permission level\n\nYou can retrieve the user ids by using the “Users” API.", "example": "[\"295738305212375930\"]" }, "example": [ "295738305212375930" ], "uniqueItems": true } } }, "ForecastEditSubmissions": { "description": "User can edit forecasts submissions.", "type": "object", "properties": { "permissionLevel": { "description": "Permission access scope.", "type": "string", "enum": [ "all", "managers-team", "report-to-them", "own", "none", "all / managers-team / report-to-them / own / none" ] }, "teamLeadIds": { "description": "List of user IDs to populate the managers-team permission level\n\nYou can retrieve the user ids by using the “Users” API.", "type": "array", "items": { "type": "string", "description": "List of user IDs to populate the managers-team permission level\n\nYou can retrieve the user ids by using the “Users” API.", "example": "[\"295738305212375930\"]" }, "example": [ "295738305212375930" ], "uniqueItems": true } } }, "ForecastEditTargets": { "description": "User can edit forecast Targets.", "type": "object", "properties": { "permissionLevel": { "description": "Permission access scope.", "type": "string", "enum": [ "all", "managers-team", "report-to-them", "own", "none", "all / managers-team / report-to-them / own / none" ] }, "teamLeadIds": { "description": "List of user IDs to populate the managers-team permission level\n\nYou can retrieve the user ids by using the “Users” API.", "type": "array", "items": { "type": "string", "description": "List of user IDs to populate the managers-team permission level\n\nYou can retrieve the user ids by using the “Users” API.", "example": "[\"295738305212375930\"]" }, "example": [ "295738305212375930" ], "uniqueItems": true } } } } } } ````