> ## Documentation Index
> Fetch the complete documentation index at: https://integrations.docs.commenda.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get



## OpenAPI

````yaml /openapi_v4_core.json get /v4/core/syncs/{syncId}
openapi: 3.0.0
info:
  title: Commenda Integrations V4 API
  description: Commenda Integrations — unified accounting, commerce, and CRM API.
  version: 4.0.0
  contact: {}
servers:
  - url: https://api.integrations.commenda.io
    description: Production
security:
  - api_key: []
tags: []
paths:
  /v4/core/syncs/{syncId}:
    get:
      tags:
        - SyncAction
      summary: Get
      operationId: SyncActionController_getSync
      parameters:
        - name: syncId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: The sync with a per-data-model summary of its jobs.
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/SerializedSyncDetail'
                  request_id:
                    type: string
                    format: uuid
                required:
                  - data
                  - request_id
        '400':
          description: The request is invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: The sync was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: An internal server error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    SerializedSyncDetail:
      type: object
      properties:
        id:
          type: string
        companyId:
          type: number
          nullable: true
        integrationType:
          type: string
          enum:
            - BUSY
            - CAMPFIRE
            - CLEARBOOKS
            - EPICOR_PROPHET_21
            - FREEAGENT
            - FRESHBOOKS
            - KASHFLOW
            - MEKARI_JURNAL
            - MS_DYNAMICS_365
            - MS_DYNAMICS_365_FO
            - MYOB_BUSINESS
            - NETSUITE
            - ODOO_ACCOUNTING
            - QOYOD
            - QUICKBOOKS
            - QUICKBOOKS_SANDBOX
            - ROOTFI_SANDBOX
            - SAGE_CLOUD_ACCOUNTING
            - SAGE_ZA_CLOUD_ACCOUNTING
            - SAGE_INTACCT
            - TALLY
            - WAFEQ
            - WAVE
            - XERO
            - ZOHO_BOOKS
            - PUZZLE_SANDBOX
            - PUZZLE
            - RILLET
            - RILLET_SANDBOX
            - AMAZON
            - BIG_COMMERCE
            - SHOPIFY
            - SQUARESPACE
            - WIX
            - WOO_COMMERCE
            - GOOGLE_PLAYSTORE
            - CHARGEBEE
            - MOLLIE
            - PAYPAL
            - PAYPAL_SANDBOX
            - RAZORPAY
            - SQUARE
            - SQUARE_SANDBOX
            - STRIPE
            - STRIPE_TEST
            - STRIPE_SANDBOX
            - ZOHO_INVOICE
            - PADDLE
            - PADDLE_SANDBOX
            - HUBSPOT
            - PIPEDRIVE
            - SALES_FORCE
            - ZOHO_CRM
            - GUSTO
        dataModels:
          type: array
          items:
            type: string
            enum:
              - ACCOUNT
              - BALANCE_SHEET
              - BANK_ACCOUNT
              - BANK_TRANSACTION
              - BILL
              - BILL_CREDIT_NOTE
              - BILL_PAYMENT
              - BUDGET
              - BUDGET_LINE
              - CASH_FLOW_STATEMENT
              - COMPANY_INFO
              - CONTACT
              - CURRENCY
              - DOCUMENT
              - EXPENSE
              - GOODS_RECEIPT_NOTE
              - INCOME_STATEMENT
              - INVOICE
              - INVOICE_CREDIT_NOTE
              - INVOICE_PAYMENT
              - ITEM
              - JOURNAL_ENTRY
              - JOURNAL_LINE
              - PROJECT
              - PURCHASE_ORDER
              - SALES_ORDER
              - ESTIMATE
              - TAX_RATE
              - TRACKING_CATEGORY
              - CASH_SALE
              - CASH_REFUND
              - BALANCE
              - DISPUTE
              - ORDER
              - PAYOUT
              - SUBSCRIPTION
              - TRANSACTION
              - EVENT
              - FULFILLMENT
              - INVENTORY
              - COMPANY
              - LEAD
              - OPPORTUNITY
              - PIPELINE
              - PIPELINE_STAGE
              - NOTE
              - TASK
              - OWNER
              - ENGAGEMENT
              - ADDRESS
              - EXTERNAL_LINK
              - LINE_ITEM
              - PHONE_NUMBER
              - VARIANT
        configMode:
          type: string
          enum:
            - CREATE
            - READ
            - UPDATE
            - DELETE
            - DOWNLOAD
            - CUSTOM
        fullSync:
          type: boolean
        syncType:
          type: string
          enum:
            - MANUAL
            - AUTO_SYNC
        status:
          type: string
          enum:
            - SUCCESS
            - RUNNING
            - FAILED
            - PARTIAL_SUCCESS
        jobCounts:
          $ref: '#/components/schemas/SyncJobCounts'
        dataModelCounts:
          $ref: '#/components/schemas/DataModelCounts'
        startTime:
          type: string
          format: date-time
          nullable: true
        endTime:
          type: string
          format: date-time
          nullable: true
        createdAt:
          type: string
          format: date-time
        dataModelSummaries:
          type: array
          items:
            $ref: '#/components/schemas/SyncDataModelSummary'
      required:
        - id
        - companyId
        - integrationType
        - dataModels
        - configMode
        - fullSync
        - syncType
        - status
        - jobCounts
        - dataModelCounts
        - startTime
        - endTime
        - createdAt
        - dataModelSummaries
    ErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ErrorResponsePayload'
      required:
        - error
    SyncJobCounts:
      type: object
      properties:
        total:
          type: number
        success:
          type: number
        failed:
          type: number
        running:
          type: number
        pending:
          type: number
      required:
        - total
        - success
        - failed
        - running
        - pending
    DataModelCounts:
      type: object
      properties:
        total:
          type: number
        success:
          type: number
        failed:
          type: number
        running:
          type: number
        pending:
          type: number
      required:
        - total
        - success
        - failed
        - running
        - pending
    SyncDataModelSummary:
      type: object
      properties:
        dataModel:
          type: string
          enum:
            - ACCOUNT
            - BALANCE_SHEET
            - BANK_ACCOUNT
            - BANK_TRANSACTION
            - BILL
            - BILL_CREDIT_NOTE
            - BILL_PAYMENT
            - BUDGET
            - BUDGET_LINE
            - CASH_FLOW_STATEMENT
            - COMPANY_INFO
            - CONTACT
            - CURRENCY
            - DOCUMENT
            - EXPENSE
            - GOODS_RECEIPT_NOTE
            - INCOME_STATEMENT
            - INVOICE
            - INVOICE_CREDIT_NOTE
            - INVOICE_PAYMENT
            - ITEM
            - JOURNAL_ENTRY
            - JOURNAL_LINE
            - PROJECT
            - PURCHASE_ORDER
            - SALES_ORDER
            - ESTIMATE
            - TAX_RATE
            - TRACKING_CATEGORY
            - CASH_SALE
            - CASH_REFUND
            - BALANCE
            - DISPUTE
            - ORDER
            - PAYOUT
            - SUBSCRIPTION
            - TRANSACTION
            - EVENT
            - FULFILLMENT
            - INVENTORY
            - COMPANY
            - LEAD
            - OPPORTUNITY
            - PIPELINE
            - PIPELINE_STAGE
            - NOTE
            - TASK
            - OWNER
            - ENGAGEMENT
            - ADDRESS
            - EXTERNAL_LINK
            - LINE_ITEM
            - PHONE_NUMBER
            - VARIANT
        status:
          type: string
          enum:
            - SUCCESS
            - RUNNING
            - FAILED
            - PARTIAL_SUCCESS
        rootJobsCount:
          type: number
        childJobsCount:
          type: number
        failedJobsCount:
          type: number
        errorCode:
          type: string
          nullable: true
        errorMessage:
          type: string
          nullable: true
        startTime:
          type: string
          format: date-time
          nullable: true
        endTime:
          type: string
          format: date-time
          nullable: true
      required:
        - dataModel
        - status
        - rootJobsCount
        - childJobsCount
        - failedJobsCount
        - errorCode
        - errorMessage
        - startTime
        - endTime
    ErrorResponsePayload:
      type: object
      properties:
        status_code:
          type: number
          example: 400
        message:
          type: string
          example: companyId must be a positive integer
        request_id:
          type: string
          format: uuid
        timestamp:
          type: string
          format: date-time
        error_code:
          type: string
          description: Machine-readable code for cases clients branch on.
        retry_after_seconds:
          type: number
          description: Seconds until the request can be retried.
          example: 60
          minimum: 0
        retry_at:
          type: string
          description: Earliest retry time.
          example: '2026-09-03T04:02:00.000Z'
          format: date-time
        field:
          type: string
          description: Request field associated with the error.
        platform_error:
          type: object
          additionalProperties: true
          description: Upstream/platform error detail, when available.
      required:
        - status_code
        - message
        - request_id
        - timestamp
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: api_key
      description: Your Commenda Integrations API key, sent in the `api_key` header.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.