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

# Get attribute sync history

> Returns a paginated list of integration sync runs for the organization, including rule evaluations, applied field mappings, and team membership changes per run. Supports cursor-based pagination.



## OpenAPI

````yaml /api-reference/v2/openapi.json get /v2/organizations/{orgId}/attributes/sync-history
openapi: 3.0.0
info:
  title: Cal.com API v2
  description: ''
  version: 1.0.0
  contact: {}
servers: []
security: []
tags: []
paths:
  /v2/organizations/{orgId}/attributes/sync-history:
    get:
      tags:
        - Orgs / Attributes / Sync History
      summary: Get attribute sync history
      description: >-
        Returns a paginated list of integration sync runs for the organization,
        including rule evaluations, applied field mappings, and team membership
        changes per run. Supports cursor-based pagination.
      operationId: OrganizationAttributeSyncHistoryController_getAttributeSyncHistory
      parameters:
        - name: Authorization
          in: header
          description: >-
            value must be `Bearer <token>` where `<token>` is api key prefixed
            with cal_
          required: true
          schema:
            type: string
        - name: orgId
          required: true
          in: path
          schema:
            type: number
        - name: limit
          required: false
          in: query
          description: Maximum number of items to return (1–100)
          schema:
            minimum: 1
            maximum: 100
            default: 25
            example: 25
            type: number
        - name: cursor
          required: false
          in: query
          description: >-
            Cursor for keyset pagination (UUID of the last item from previous
            page)
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAttributeSyncHistoryOutput'
components:
  schemas:
    GetAttributeSyncHistoryOutput:
      type: object
      properties:
        status:
          type: string
          example: success
          enum:
            - success
            - error
        data:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationSyncRunWithChildrenOutput'
        meta:
          $ref: '#/components/schemas/PaginationMeta'
      required:
        - status
        - data
        - meta
    IntegrationSyncRunWithChildrenOutput:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the sync run
        provider:
          type: string
          description: Integration provider (e.g. SALESFORCE)
        credentialId:
          type: number
          nullable: true
          description: Credential ID that triggered the sync
        organizationId:
          type: number
          nullable: true
          description: Organization ID
        userId:
          type: number
          nullable: true
          description: Cal.com user ID affected by this sync
        userName:
          type: string
          nullable: true
          description: Display name of the affected user
        externalUserId:
          type: string
          nullable: true
          description: External provider user identifier
        status:
          type: string
          description: Status of the sync run
          enum:
            - APPLIED
            - SKIPPED_BY_RULE
            - NO_RULES_MATCHED
            - FAILED
            - INVALID_SIGNATURE
            - RATE_LIMITED
        signatureVerified:
          type: boolean
          description: Whether the inbound webhook signature was verified
        errorMessage:
          type: string
          nullable: true
          description: Error message if the sync failed
        createdAt:
          type: string
          description: When this sync run was recorded
        ruleEvaluations:
          type: array
          items:
            $ref: '#/components/schemas/RuleEvaluationOutput'
        appliedFieldMappings:
          type: array
          items:
            $ref: '#/components/schemas/FieldMappingAppliedOutput'
        teamMembershipChanges:
          type: array
          items:
            $ref: '#/components/schemas/TeamMembershipChangeOutput'
      required:
        - id
        - provider
        - status
        - signatureVerified
        - createdAt
        - ruleEvaluations
        - appliedFieldMappings
        - teamMembershipChanges
    PaginationMeta:
      type: object
      properties:
        hasMore:
          type: boolean
          description: Whether more pages are available
        nextCursor:
          type: string
          description: Cursor for the next page, if available
      required:
        - hasMore
    RuleEvaluationOutput:
      type: object
      properties:
        id:
          type: string
        runId:
          type: string
        ruleId:
          type: string
          nullable: true
        evaluationOrder:
          type: number
        attributeKey:
          type: string
        operator:
          type: string
        expectedValue:
          type: string
          nullable: true
        expectedValueType:
          type: string
        actualValue:
          type: string
          nullable: true
        actualValueType:
          type: string
        passed:
          type: boolean
        createdAt:
          type: string
      required:
        - id
        - runId
        - evaluationOrder
        - attributeKey
        - operator
        - expectedValueType
        - actualValueType
        - passed
        - createdAt
    FieldMappingAppliedOutput:
      type: object
      properties:
        id:
          type: string
        runId:
          type: string
        fieldMappingId:
          type: string
          nullable: true
        attributeId:
          type: string
          nullable: true
        attributeSlug:
          type: string
        attributeName:
          type: string
        sourceField:
          type: string
        previousValue:
          type: string
          nullable: true
        newValue:
          type: string
          nullable: true
        outcome:
          type: string
        createdAt:
          type: string
      required:
        - id
        - runId
        - attributeSlug
        - attributeName
        - sourceField
        - outcome
        - createdAt
    TeamMembershipChangeOutput:
      type: object
      properties:
        id:
          type: string
        runId:
          type: string
        teamId:
          type: number
          nullable: true
        teamName:
          type: string
        teamSlug:
          type: string
          nullable: true
        outcome:
          type: string
        createdAt:
          type: string
      required:
        - id
        - runId
        - teamName
        - outcome
        - createdAt

````