Conga Document API

This class contains API endpoints for Document.

Operations 13

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/xauthor/v1/documents/content/convert/opcxml-to-html Convert OPC XML document content to HTML · Convert document content from OPC XML format to HTML #
Ask an LLM
“How do I turn Word OPC XML content into HTML with Conga X-Author?”
“Can I render flat OPC XML from a document as HTML?”
Tell an agent
Convert this OPC XML content {opcXMLContent} to HTML for org type {OrgType}.
Give me the HTML version of the OPC XML {opcXMLContent}.
POST /api/xauthor/v1/documents/content/no-datepicker Replace Word content controls with plain text · Convert SDT elements to text #
Ask an LLM
“Why do date pickers and drop-downs break in Word online, and can I flatten them?”
“Can I strip structured document tags from a checked-out document and keep their text?”
Tell an agent
Convert the date pickers and drop-down controls in the checked-out document to plain text for org type {OrgType}.
Remove SDT content controls from my document so it opens cleanly in Word online.
POST /api/xauthor/v1/documents/metadata Read agreement details from a document file · Get agreement details #
Ask an LLM
“Can I find out which agreement a Word file belongs to by uploading it?”
“What agreement details are embedded in a document file?”
Tell an agent
Read the agreement details embedded in document file {documentFile} for org type {OrgType}.
Identify the agreement behind the file {documentFile}.
POST /api/xauthor/v1/documents/suggested-filename Get a suggested file name for a document · Get the name of a document file #
Ask an LLM
“What file name should a generated agreement document get?”
“Can I get a version-aware file name suggestion for an agreement attachment?”
Tell an agent
Suggest a file name for attachment {attachmentId} on agreement {agreementId} ({OrgType} org).
Propose a {fileType} file name for agreement {agreementId} using template {templateId}.
GET /api/xauthor/v1/documents/{attachmentId} Get a document or attachment record · Get document or attachment by ID #
Ask an LLM
“How do I look up an attachment record by its ID in X-Author?”
“What information comes back for a document attachment?”
Tell an agent
Fetch the document attachment {attachmentId} for org type {OrgType}.
Show the attachment record {attachmentId}.
GET /api/xauthor/v1/documents/{attachmentId}/clauses List the clauses in a document · Get document Clauses by attachment ID #
Ask an LLM
“Which clauses appear inside an agreement document?”
“Can I extract the list of clauses from an attachment?”
Tell an agent
List the clauses found in attachment {attachmentId} for org type {OrgType}.
Show every clause inside document {attachmentId}.
GET /api/xauthor/v1/documents/{attachmentId}/content Download a document's content for Windows or Mac · Get document content by attachment #
Ask an LLM
“How do I download the file content of an attachment for the desktop add-in?”
“Can I get a document's content with its protection removed?”
Tell an agent
Download the content of attachment {attachmentId} for org type {OrgType}.
Get document {attachmentId} content with remove-protection set to {isRemoveProtection}.
GET /api/xauthor/v1/documents/{attachmentId}/content-body Get a document's content as a string and bytes · Get document content body #
Ask an LLM
“Can I get the body of a document both as text and as raw bytes?”
“Is there a way to update the document title while fetching its content body?”
Tell an agent
Fetch the content body of attachment {attachmentId} as string and bytes ({OrgType} org).
Get the content body of {attachmentId} with update-title set to {updateDocumentTitle}.
GET /api/xauthor/v1/documents/{attachmentId}/content-body-metadata-extracted Get a document's content body with metadata extracted · Get api xauthor documents by attachment id content body metadata extracted #
Ask an LLM
“Can I fetch a document body with its embedded metadata already pulled out?”
“Which call returns content body plus extracted metadata for an attachment?”
Tell an agent
Get the metadata-extracted content body of attachment {attachmentId} for org type {OrgType}.
Fetch {attachmentId} body with metadata separated out.
GET /api/xauthor/v1/documents/{attachmentId}/content-metadata Get a document's content metadata · Get content metadata #
Ask an LLM
“What content metadata is stored for an attachment?”
“Can I read only a document's content metadata without downloading the file?”
Tell an agent
Show the content metadata of attachment {attachmentId} for org type {OrgType}.
Get just the metadata for document {attachmentId}.
POST /api/xauthor/v1/documents/{attachmentId}/content/onedrive-stream Open a document in Word online via OneDrive · Get document in Word online #
Ask an LLM
“How do I open an agreement attachment in Word online?”
“Can I stream a document to OneDrive using my access token?”
Tell an agent
Open attachment {attachmentId} in Word online as {documentName} for org type {OrgType}.
Stream document {attachmentId} to OneDrive with access token {accessToken}.
GET /api/xauthor/v1/documents/{attachmentId}/content/stream Download a document as a DOCX stream · Get the docx octet stream #
Ask an LLM
“Can I download an attachment as a raw DOCX octet stream?”
“Which call returns the binary Word file for an attachment?”
Tell an agent
Stream attachment {attachmentId} as a DOCX file for org type {OrgType}.
Download the binary Word file for {attachmentId}.
GET /api/xauthor/v1/documents/{attachmentId}/size Get an attachment's file size · Get file size in MB of the attachment by ID #
Ask an LLM
“How large is an attachment file in megabytes?”
“Can I check a document's size before downloading it?”
Tell an agent
Get the file size in MB of attachment {attachmentId} for org type {OrgType}.
Tell me how big document {attachmentId} is.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/conga:conga-document-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

conga-document-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: X-Author Document API
  version: v1
  description: This class contains API endpoints for Document.
servers:
- url: https://xauthor-prod-rls10.congacloud.com
- url: https://xauthor-preview-rls09.congacloud.com
security:
- bearerAuth: []
tags:
- name: Document
  description: This class contains API endpoints for Document.
paths:
  /api/xauthor/v1/documents/content/convert/opcxml-to-html:
    post:
      tags:
      - Document
      summary: Convert document content from OPC XML format to HTML
      parameters:
      - name: OrgType
        in: header
        required: true
        schema:
          type: string
          default: RLP
      requestBody:
        description: The document conversion request containing OPC XML content
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/Conga.XAuthor.Core.Model.ContentConversionRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/Conga.XAuthor.Core.Model.ContentConversionRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/Conga.XAuthor.Core.Model.ContentConversionRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Conga.XAuthor.Core.Model.ContentConversionRequest'
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                type: string
            application/json:
              schema:
                type: string
            text/json:
              schema:
                type: string
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '500':
          description: Server Error
      operationId: postApiXauthorV1DocumentsContentConvertOpcxmlToHtml
      x-operation-id-source: derived
  /api/xauthor/v1/documents/content/no-datepicker:
    post:
      tags:
      - Document
      summary: Convert SDT elements to text
      description: 'This API checks the document for SDT (Structured Document Tag) elements like date pickers or drop-down lists from Microsoft Word''s Developer tab,

        removes such content controls, and converts them to plain text elements. The API then opens the converted checked-out document in a new Word instance.

        OfficeJS does not support SDT elements except rich text format (RTF) fields (https://docs.microsoft.com/en-us/javascript/api/word/word.contentcontrolcollection?view=word-js-preview)'
      parameters:
      - name: OrgType
        in: header
        required: true
        schema:
          type: string
          default: RLP
      requestBody:
        description: Content of the document
        content:
          application/json-patch+json:
            schema:
              type:
              - string
              - 'null'
              description: Content of the document
              format: byte
          application/json:
            schema:
              type:
              - string
              - 'null'
              description: Content of the document
              format: byte
          text/json:
            schema:
              type:
              - string
              - 'null'
              description: Content of the document
              format: byte
          application/*+json:
            schema:
              type:
              - string
              - 'null'
              description: Content of the document
              format: byte
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                type: string
            application/json:
              schema:
                type: string
            text/json:
              schema:
                type: string
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '500':
          description: Server Error
      operationId: postApiXauthorV1DocumentsContentNoDatepicker
      x-operation-id-source: derived
  /api/xauthor/v1/documents/metadata:
    post:
      tags:
      - Document
      summary: Get agreement details
      parameters:
      - name: OrgType
        in: header
        required: true
        schema:
          type: string
          default: RLP
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                documentFile:
                  type:
                  - string
                  - 'null'
                  description: The document to get the metadata details
                  format: binary
            encoding:
              documentFile:
                style: form
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Conga.XAuthor.Common.DTO.Contracts.DocumentDetailsResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/Conga.XAuthor.Common.DTO.Contracts.DocumentDetailsResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/Conga.XAuthor.Common.DTO.Contracts.DocumentDetailsResponse'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '500':
          description: Server Error
      operationId: postApiXauthorV1DocumentsMetadata
      x-operation-id-source: derived
  /api/xauthor/v1/documents/suggested-filename:
    post:
      tags:
      - Document
      summary: Get the name of a document file
      parameters:
      - name: OrgType
        in: header
        required: true
        schema:
          type: string
          default: RLP
      requestBody:
        description: The request
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.DocumentFileNameRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.DocumentFileNameRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.DocumentFileNameRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.DocumentFileNameRequest'
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Conga.XAuthor.Common.DTO.Contracts.DocumentFileNameResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/Conga.XAuthor.Common.DTO.Contracts.DocumentFileNameResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/Conga.XAuthor.Common.DTO.Contracts.DocumentFileNameResponse'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '500':
          description: Server Error
      operationId: postApiXauthorV1DocumentsSuggestedFilename
      x-operation-id-source: derived
  /api/xauthor/v1/documents/{attachmentId}:
    get:
      tags:
      - Document
      summary: Get document or attachment by ID
      description: Gets document/attachment for the given attachment ID.
      parameters:
      - name: attachmentId
        in: path
        description: The attachment identifier
        required: true
        schema:
          type:
          - string
          - 'null'
          description: The attachment identifier
      - name: OrgType
        in: header
        required: true
        schema:
          type: string
          default: RLP
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.Document'
            application/json:
              schema:
                $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.Document'
            text/json:
              schema:
                $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.Document'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '500':
          description: Server Error
      operationId: getApiXauthorV1DocumentsByAttachmentId
      x-operation-id-source: derived
  /api/xauthor/v1/documents/{attachmentId}/clauses:
    get:
      tags:
      - Document
      summary: Get document Clauses by attachment ID
      description: Gets Clauses in a document/attachment for the given attachment ID.
      parameters:
      - name: attachmentId
        in: path
        description: The attachment identifier
        required: true
        schema:
          type:
          - string
          - 'null'
          description: The attachment identifier
      - name: OrgType
        in: header
        required: true
        schema:
          type: string
          default: RLP
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Conga.XAuthor.Common.Model.DocumentClauseInfo'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Conga.XAuthor.Common.Model.DocumentClauseInfo'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Conga.XAuthor.Common.Model.DocumentClauseInfo'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '500':
          description: Server Error
      operationId: getApiXauthorV1DocumentsByAttachmentIdClauses
      x-operation-id-source: derived
  /api/xauthor/v1/documents/{attachmentId}/content:
    get:
      tags:
      - Document
      summary: Get document content by attachment
      description: Gets the document content by attachment ID. Responses are curated for Windows and Mac.
      parameters:
      - name: attachmentId
        in: path
        description: The attachment identifier
        required: true
        schema:
          type:
          - string
          - 'null'
          description: The attachment identifier
      - name: isRemoveProtection
        in: query
        description: if set to {true} [is remove protection]
        schema:
          type: boolean
          description: if set to {true} [is remove protection]
          default: false
      - name: OrgType
        in: header
        required: true
        schema:
          type: string
          default: RLP
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                type: string
                format: binary
            application/json:
              schema:
                type: string
                format: binary
            text/json:
              schema:
                type: string
                format: binary
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '500':
          description: Server Error
      operationId: getApiXauthorV1DocumentsByAttachmentIdContent
      x-operation-id-source: derived
  /api/xauthor/v1/documents/{attachmentId}/content-body:
    get:
      tags:
      - Document
      summary: Get document content body
      description: Gets the document content as string and as content bytes for the given attachment ID.
      parameters:
      - name: attachmentId
        in: path
        description: Attachment identifier
        required: true
        schema:
          type:
          - string
          - 'null'
          description: Attachment identifier
      - name: isRemoveProtection
        in: query
        description: remove protection or not
        schema:
          type: boolean
          description: remove protection or not
          default: false
      - name: xaAddinLoadType
        in: query
        description: XA addin deployment type
        schema:
          $ref: '#/components/schemas/Apttus.XAuthor.Common.Enum.XAAddInLoadType'
      - name: updateDocumentTitle
        in: query
        description: Update document title
        schema:
          type: boolean
          description: Update document title
          default: false
      - name: OrgType
        in: header
        required: true
        schema:
          type: string
          default: RLP
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.DocumentBodyModel'
            application/json:
              schema:
                $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.DocumentBodyModel'
            text/json:
              schema:
                $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.DocumentBodyModel'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '500':
          description: Server Error
      operationId: getApiXauthorV1DocumentsByAttachmentIdContentBody
      x-operation-id-source: derived
  /api/xauthor/v1/documents/{attachmentId}/content-body-metadata-extracted:
    get:
      tags:
      - Document
      parameters:
      - name: attachmentId
        in: path
        required: true
        schema:
          type:
          - string
          - 'null'
      - name: isRemoveProtection
        in: query
        schema:
          type: boolean
          default: false
      - name: OrgType
        in: header
        required: true
        schema:
          type: string
          default: RLP
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.DocumentBodyModel'
            application/json:
              schema:
                $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.DocumentBodyModel'
            text/json:
              schema:
                $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.DocumentBodyModel'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '500':
          description: Server Error
      summary: Get api xauthor documents by attachment id content body metadata extracted
      x-summary-source: derived
      operationId: getApiXauthorV1DocumentsByAttachmentIdContentBodyMetadataExtracted
      x-operation-id-source: derived
  /api/xauthor/v1/documents/{attachmentId}/content-metadata:
    get:
      tags:
      - Document
      summary: Get content metadata
      parameters:
      - name: attachmentId
        in: path
        description: ''
        required: true
        schema:
          type:
          - string
          - 'null'
          description: ''
      - name: OrgType
        in: header
        required: true
        schema:
          type: string
          default: RLP
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.DocumentMetadata'
            application/json:
              schema:
                $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.DocumentMetadata'
            text/json:
              schema:
                $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.DocumentMetadata'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '500':
          description: Server Error
      operationId: getApiXauthorV1DocumentsByAttachmentIdContentMetadata
      x-operation-id-source: derived
  /api/xauthor/v1/documents/{attachmentId}/content/onedrive-stream:
    post:
      tags:
      - Document
      summary: Get document in Word online
      parameters:
      - name: attachmentId
        in: path
        required: true
        schema:
          type:
          - string
          - 'null'
      - name: OrgType
        in: header
        required: true
        schema:
          type: string
          default: RLP
      requestBody:
        description: WordOnlineDocumentRequest Object
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.WordOnlineDocumentRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.WordOnlineDocumentRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.WordOnlineDocumentRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.WordOnlineDocumentRequest'
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.OneDriveResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.OneDriveResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/Apttus.XAuthor.Core.Model.OneDriveResponse'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '500':
          description: Server Error
      operationId: postApiXauthorV1DocumentsByAttachmentIdContentOnedriveStream
      x-operation-id-source: derived
  /api/xauthor/v1/documents/{attachmentId}/content/stream:
    get:
      tags:
      - Document
      summary: Get the docx octet stream
      parameters:
      - name: attachmentId
        in: path
        description: attachment Id
        required: true
        schema:
          type:
          - string
          - 'null'
          description: attachment Id
      - name: OrgType
        in: header
        required: true
        schema:
          type: string
          default: RLP
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                type: string
                format: binary
            application/json:
              schema:
                type: string
                format: binary
            text/json:
              schema:
                type: string
                format: binary
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '500':
          description: Server Error
      operationId: getApiXauthorV1DocumentsByAttachmentIdContentStream
      x-operation-id-source: derived
  /api/xauthor/v1/documents/{attachmentId}/size:
    get:
      tags:
      - Document
      summary: Get file size in MB of the attachment by ID
      parameters:
      - name: attachmentId
        in: path
        description: The attachment identifier
        required: true
        schema:
          type:
          - string
          - 'null'
          description: The attachment identifier
      - name: OrgType
        in: header
        required: true
        schema:
          type: string
          default: RLP
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                type: integer
                format: int64
            application/json:
              schema:
                type: integer
                format: int64
            text/json:
              schema:
                type: integer
                format: int64
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '500':
          description: Server Error
      operationId: getApiXauthorV1DocumentsByAttachmentIdSize
      x-operation-id-source: derived
components:
  schemas:
    Conga.XAuthor.Common.Enum.VersionTypeEnum:
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      - 5
      - 6
      - 7
      - 8
      - 9
      - 10
      type: integer
      format: int32
    Apttus.XAuthor.Core.Model.OneDriveResponse:
      type: object
      properties:
        webUrl:
          type:
          - string
          - 'null'
        errorMessage:
          type:
          - string
          - 'null'
        errorCode:
          type:
          - string
          - 'null'
        document_Name:
          type:
          - string
          - 'null'
        base64:
          type:
          - string
          - 'null'
      additionalProperties: false
    Conga.XAuthor.Common.DTO.Contracts.DocumentFileNameResponse:
      type: object
      properties:
        fileName:
          type:
          - string
          - 'null'
        retainDocumentNameForAllSaveOptions:
          type:
          - object
          - 'null'
          additionalProperties:
            type: string
      additionalProperties: false
    Apttus.XAuthor.Core.Model.DocumentBodyModel:
      type: object
      properties:
        body:
          type:
          - string
          - 'null'
        name:
          type:
          - string
          - 'null'
        protectionMode:
          type:
          - string
          - 'null'
        contentBytes:
          type:
          - string
          - 'null'
          format: byte
      additionalProperties: false
    Apttus.XAuthor.Core.Model.DocumentFileNameRequest:
      type: object
      properties:
        attachmentId:
          type:
          - string
          - 'null'
        agreementId:
          type:
          - string
          - 'null'
        templateId:
          type:
          - string
          - 'null'
        objectVersion:
          type:
          - string
          - 'null'
        versionType:
          $ref: '#/components/schemas/Conga.XAuthor.Common.Enum.VersionTypeEnum'
        replaceActionElement:
          type: boolean
        fileType:
          $ref: '#/components/schemas/Apttus.XAuthor.Common.Enum.DocumentFormat'
        isVersionAware:
          type: boolean
      additionalProperties: false
    Apttus.XAuthor.Core.Model.DocumentMetadata:
      type: object
      properties:
        metadata:
          type:
          - object
          - 'null'
          additionalProperties:
            type: string
      additionalProperties: false
    Apttus.XAuthor.Common.Enum.XAAddInLoadType:
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      - 5
      type: integer
      format: int32
    Conga.XAuthor.Common.DTO.Contracts.DocumentDetailsResponse:
      type: object
      properties:
        agreementId:
          type:
          - string
          - 'null'
        documentId:
          type:
          - string
          - 'null'
        documentVersionId:
          type:
          - string
          - 'null'
      additionalProperties: false
    Apttus.XAuthor.Core.Model.WordOnlineDocumentRequest:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
        accessToken:
          type:
          - string
          - 'null'
        isRemoveProtection:
          type: boolean
        base64:
          type:
          - string
          - 'null'
        documentName:
          type:
          - string
          - 'null'
      additionalProperties: false
    Apttus.XAuthor.Common.Enum.DocumentFormat:
      enum:
      - 0
      - 1
      type: integer
      format: int32
    Conga.XAuthor.Core.Model.ContentConversionRequest:
      type: object
      properties:
        opcXMLContent:
          type:
          - string
          - 'null'
      additionalProperties: false
    Conga.XAuthor.Common.Model.DocumentClauseInfo:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
        name:
          type:
          - string
          - 'null'
        currentText:
          type:
          - string
          - 'null'
        libraryText:
          type:
          - string
          - 'null'
        clauseId:
          type:
          - string
          - 'null'
        clauseReferenceId:
          type:
          - string
          - 'null'
      additionalProperties: false
    Apttus.XAuthor.Core.Model.Document:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
        name:
          type:
          - string
          - 'null'
        contentType:
          type:
          - string
          - 'null'
        body:
          type:
          - string
          - 'null'
        owner:
          type:
          - string
          - 'null'
        parentId:
          type:
          - string
          - 'null'
        lastModifiedBy:
          type:
          - string
          - 'null'
        lastModified:
          type:
          - string
          - 'null'
        createdByDate:
          type:
          - string
          - 'null'
        createdBy:
          type:
          - string
          - 'null'
        documentVersionId:
          type:
          - string
          - 'null'
        contentBytes:
          type:
          - string
          - 'null'
          format: byte
        version:
          type:
          - string
          - 'null'
        size:
          type:
          - string
          - 'null'
        contextObjectId:
          type:
          - string
          - 'null'
        fileExtension:
          type:
          - string
          - 'null'
        fileType:
          type:
          - string
          - 'null'
        fileSize:
          type: integer
          format: int64
        clauseFormat:
          $ref: '#/components/schemas/Apttus.XAuthor.Common.Enum.DocumentExtension'
        htmlContent:
          type:
          - string
          - 'null'
        referenceId:
          type:
          - string
          - 'null'
        clauseConfigName:
          type:
          - string
          - 'null'
        configReferenceId:
          type:
          - string
          - 'null'
        isMasterClause:
          type: boolean
        gDocUrl:
          type:
          - string
          - 'null'
        action:
          type:
          - string
          - 'null'
        documentInfo:
          type:
          - string
          - 'null'
        metadataFileId:
          type:
          - string
          - 'null'
      additionalProperties: false
    Apttus.XAuthor.Common.Enum.DocumentExtension:
      enum:
      - 0
      - 1
      - 2
      - 3
      type: integer
      format: int32
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT