naftiko: 1.0.0-alpha2 info: label: Gong CRM API — CRM Data description: 'Gong CRM API — CRM Data. 3 operations. Lead operation: Gong Upload CRM objects. Self-contained Naftiko capability covering one Gong business surface.' tags: - Gong - CRM Data created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GONG_API_KEY: GONG_API_KEY capability: consumes: - type: http namespace: crm-crm-data baseUri: https://api.gong.io/v2 description: Gong CRM API — CRM Data business capability. Self-contained, no shared references. resources: - name: crm-entities path: /crm/entities operations: - name: uploadcrmobjects method: POST description: Gong Upload CRM objects outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: integrationId in: query type: string description: The unique identifier of the CRM integration. required: true - name: objectType in: query type: string description: The type of CRM object being uploaded (e.g., Deal, Account, Contact, Lead). required: true - name: clientRequestId in: query type: string description: A client-generated request ID for tracking. - name: body in: body type: object description: Request body (JSON). required: true - name: crm-objects path: /crm/objects operations: - name: getcrmobjects method: GET description: Gong Get CRM objects outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: integrationId in: query type: string description: The unique identifier of the CRM integration. required: true - name: objectType in: query type: string description: The type of CRM object to retrieve. required: true - name: crm-upload-status path: /crm/upload-status operations: - name: getuploadstatus method: GET description: Gong Get upload request status outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: integrationId in: query type: string description: The unique identifier of the CRM integration. required: true - name: clientRequestId in: query type: string description: The client request ID from the original upload request. required: true authentication: type: bearer token: '{{env.GONG_API_KEY}}' exposes: - type: rest namespace: crm-crm-data-rest port: 8080 description: REST adapter for Gong CRM API — CRM Data. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/crm/entities name: crm-entities description: REST surface for crm-entities. operations: - method: POST name: uploadcrmobjects description: Gong Upload CRM objects call: crm-crm-data.uploadcrmobjects with: integrationId: rest.integrationId objectType: rest.objectType clientRequestId: rest.clientRequestId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/objects name: crm-objects description: REST surface for crm-objects. operations: - method: GET name: getcrmobjects description: Gong Get CRM objects call: crm-crm-data.getcrmobjects with: integrationId: rest.integrationId objectType: rest.objectType outputParameters: - type: object mapping: $. - path: /v1/crm/upload-status name: crm-upload-status description: REST surface for crm-upload-status. operations: - method: GET name: getuploadstatus description: Gong Get upload request status call: crm-crm-data.getuploadstatus with: integrationId: rest.integrationId clientRequestId: rest.clientRequestId outputParameters: - type: object mapping: $. - type: mcp namespace: crm-crm-data-mcp port: 9090 transport: http description: MCP adapter for Gong CRM API — CRM Data. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: gong-upload-crm-objects description: Gong Upload CRM objects hints: readOnly: false destructive: false idempotent: false call: crm-crm-data.uploadcrmobjects with: integrationId: tools.integrationId objectType: tools.objectType clientRequestId: tools.clientRequestId body: tools.body outputParameters: - type: object mapping: $. - name: gong-get-crm-objects description: Gong Get CRM objects hints: readOnly: true destructive: false idempotent: true call: crm-crm-data.getcrmobjects with: integrationId: tools.integrationId objectType: tools.objectType outputParameters: - type: object mapping: $. - name: gong-get-upload-request-status description: Gong Get upload request status hints: readOnly: true destructive: false idempotent: true call: crm-crm-data.getuploadstatus with: integrationId: tools.integrationId clientRequestId: tools.clientRequestId outputParameters: - type: object mapping: $.