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

# Estado de sincronización del usuario actual

> Retorna el estado de sincronización para inbox y sent del usuario autenticado



## OpenAPI

````yaml /generated/specs/communications.json get /api/v1/omnichannel/email/sync/state
openapi: 3.0.0
info:
  title: Raul API - Comunicaciones
  description: Inbox, omnichannel, bandejas compartidas, email sync, WhatsApp, spam y tags.
  version: 2.0.0
  contact: {}
servers:
  - url: https://api.raul.ugps.io
    description: Production
security: []
tags: []
paths:
  /api/v1/omnichannel/email/sync/state:
    get:
      tags:
        - Email Sync
      summary: Estado de sincronización del usuario actual
      description: >-
        Retorna el estado de sincronización para inbox y sent del usuario
        autenticado
      operationId: EmailSyncController_getSyncState
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SyncStateResponseDto'
      security:
        - bearerAuth: []
components:
  schemas:
    SyncStateResponseDto:
      type: object
      properties:
        inbox:
          $ref: '#/components/schemas/FolderSyncStateDto'
        sent:
          $ref: '#/components/schemas/FolderSyncStateDto'
      required:
        - inbox
        - sent
    FolderSyncStateDto:
      type: object
      properties:
        lastSyncAt:
          type: object
        status:
          type: string
          enum:
            - idle
            - running
            - completed
            - error
            - never
        progress:
          type: number
        totalEmails:
          type: number
        syncedEmails:
          type: number
      required:
        - lastSyncAt
        - status
        - progress
        - totalEmails
        - syncedEmails
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Bearer token authentication

````