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

# احصل على تقدم مزامنة الدردشة

> يرجع تقدم المزامنة الحالية لجهاز



## OpenAPI

````yaml /ar/openapi.yml get /chatwoot/sync/status
openapi: 3.0.0
info:
  title: واتسآب API متعدد الأجهزة
  version: 9.7.0
  description: >
    يتم استخدام هذا API لإرسال أي تطبيق عبر API.


    لوحة المعلومات هي مشروع منفصل (gowa-ui)؛ يقوم الخادم بتنزيل أحدث أصول
    الإصدار

    ويخدمه في `/` (أو يرجع لافتة JSON عندما

    APP_UI_ENABLED=false).


    تحديد الجهاز:

    - إرسال `X-Device-Id` على جميع مكالمات REST على نطاق الجهاز.

    - WebSocket: الاتصال بـ `/w?جهاز_id=<id>`.

    - مصادقة WebSocket (عندما يتم تمكين المصادقة الأساسية): المتصفحات لا يمكن
    تعيين
      رأس التفويض على اتصالات WebSocket ، كذلك اجتاز
      `&authorization=<base64(user:pass)>` في سلسلة الاستفسار. استخدم TLS في إنتاج
      لأن بيانات الاعتماد مرئية في عنوان URL.
servers:
  - url: http://localhost:3000
security:
  - basicAuth: []
tags:
  - name: app
    description: الاتصال الأولي بخادم Whatsapp
  - name: device
    description: إدارة الجهاز لدعم الأجهزة المتعددة
  - name: user
    description: الحصول على المعلومات
  - name: send
    description: إرسال رسالة (نص/صورة/ملف/فيديو).
  - name: message
    description: التلاعب بالرسالة (إلغائ/react/update).
  - name: call
    description: إدارة المكالمات (رفض المكالمات الواردة)
  - name: chat
    description: محادثات الدردشة والرسائل
  - name: group
    description: إعداد المجموعة
  - name: newsletter
    description: إعداد النشرة الإخبارية
  - name: chatwoot
    description: تكامل Chatwoot لدعم العملاء
paths:
  /chatwoot/sync/status:
    get:
      tags:
        - chatwoot
      summary: احصل على تقدم مزامنة الدردشة
      description: يرجع تقدم المزامنة الحالية لجهاز
      operationId: chatwootSyncStatus
      parameters:
        - name: device_id
          in: query
          description: معرف الجهاز للتحقق من حالة المزامنة لـ
          schema:
            type: string
      responses:
        '200':
          description: حالة المزامنة المسترجعة
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatwootSyncStatusResponse'
        '400':
          description: طلب خاطئ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBadRequest'
components:
  schemas:
    ChatwootSyncStatusResponse:
      type: object
      properties:
        status:
          type: integer
          example: 200
        code:
          type: string
          example: SUCCESS
        message:
          type: string
          example: Sync status retrieved
        results:
          type: object
          properties:
            device_id:
              type: string
              example: my-device-id
            status:
              type: string
              enum:
                - idle
                - running
                - completed
                - failed
              example: running
            total_chats:
              type: integer
              example: 10
            synced_chats:
              type: integer
              example: 5
            total_messages:
              type: integer
              example: 100
            synced_messages:
              type: integer
              example: 50
            failed_messages:
              type: integer
              example: 2
            current_chat:
              type: string
              example: 628123456789@s.whatsapp.net
            started_at:
              type: string
              format: date-time
            completed_at:
              type: string
              format: date-time
            error:
              type: string
    ErrorBadRequest:
      type: object
      properties:
        code:
          type: string
          example: 400
          description: رمز حالة HTTP
        message:
          type: string
          example: field cannot be blank
          description: تفاصيل رسالة الخطأ
        results:
          type: object
          example: null
          description: بيانات إضافية
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic

````

## Related topics

- [احصل على تكوين دردشة الجهاز](https://gowa-docs.mintlify.site/ar/api-reference/chatwoot/احصل-على-تكوين-دردشة-الجهاز.md)
- [احصل على قائمة المحادثات](https://gowa-docs.mintlify.site/ar/api-reference/chat/احصل-على-قائمة-المحادثات.md)
- [طلب سجل محادثة أقدم من الهاتف](https://gowa-docs.mintlify.site/ar/api-reference/chat/طلب-سجل-محادثة-أقدم-من-الهاتف.md)
- [احصل على قياسات صحة الخادم](https://gowa-docs.mintlify.site/ar/api-reference/app/احصل-على-قياسات-صحة-الخادم.md)
- [احصل على قائمة المشاركين في مجموعة](https://gowa-docs.mintlify.site/ar/api-reference/group/احصل-على-قائمة-المشاركين-في-مجموعة.md)


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