> ## 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 /send/schedules/{schedule_id}
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:
  /send/schedules/{schedule_id}:
    get:
      tags:
        - send
      summary: الحصول على إرسال مجدول
      operationId: getScheduledSend
      parameters:
        - $ref: '#/components/parameters/DeviceIdHeader'
        - $ref: '#/components/parameters/ScheduleIdPath'
      responses:
        '200':
          description: حسناً
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduleResponse'
        '404':
          description: لم يتم العثور على الجدول الزمني لهذا الجهاز
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorNotFound'
        '500':
          description: خطأ خادم داخلي
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorInternalServer'
components:
  parameters:
    DeviceIdHeader:
      name: X-Device-Id
      in: header
      required: false
      description: |
        معرف الجهاز لدعم الأجهزة المتعددة. مطلوب عند تسجيل أجهزة متعددة.
        إذا تم تسجيل جهاز واحد فقط، فسيتم استخدامه كجهاز افتراضي.
        يمكن أيضا توفيره كعامل استعلام `device_id`.
      schema:
        type: string
        example: my-device-id
    ScheduleIdPath:
      name: schedule_id
      in: path
      required: true
      schema:
        type: string
      description: جدولة معرف العودة كـ `schedule_id` من خلال إرسال مجدول
  schemas:
    ScheduleResponse:
      type: object
      properties:
        code:
          type: string
          example: SUCCESS
        message:
          type: string
          example: Schedule fetched
        results:
          $ref: '#/components/schemas/Schedule'
    ErrorNotFound:
      type: object
      properties:
        code:
          type: string
          example: 404
          description: رمز حالة HTTP
        message:
          type: string
          example: Chat not found
          description: تفاصيل رسالة الخطأ
        results:
          type: object
          example: null
          description: بيانات إضافية
    ErrorInternalServer:
      type: object
      properties:
        code:
          type: string
          example: INTERNAL_SERVER_ERROR
          description: SYSTEM_CODE_ERROR
        message:
          type: string
          example: you are not loggin
          description: تفاصيل رسالة الخطأ
        results:
          type: object
          example: null
          description: بيانات إضافية
    Schedule:
      type: object
      properties:
        id:
          type: string
          example: 0b5c3a8e-7f5d-4d6f-9d1e-2f8c1a7b9e10
        message_type:
          type: string
          enum:
            - text
            - image
            - file
            - video
            - audio
            - sticker
            - contact
            - link
            - location
            - poll
            - forward
          example: text
        phone:
          type: string
          example: 6289685028129@s.whatsapp.net
        summary:
          type: string
          example: selamat pagi
          description: معاينة قصيرة للرسالة
        status:
          type: string
          enum:
            - active
            - running
            - paused
            - completed
            - failed
            - cancelled
          example: active
          description: |
            - `active`: ينتظر التشغيل التالي
            - `running`: تولّى العامل معالجته ويجري الإرسال
            - `paused`: معلّق حتى استئنافه
            - `completed`: لا توجد عمليات تشغيل متبقية
            - `failed`: توقّف بعد استنفاد محاولات الإعادة أو حدوث خطأ في التحقق
            - `cancelled`: ألغاه المستخدم
        scheduled_at:
          type: string
          format: date-time
          example: '2026-10-01T02:00:00Z'
        next_run_at:
          type: string
          format: date-time
          example: '2026-10-01T02:00:00Z'
          description: غير متوفر عندما لا يبقى تشغيل
        timezone:
          type: string
          example: Asia/Jakarta
        recurrence:
          type: string
          enum:
            - once
            - daily
            - weekly
            - monthly
          example: once
        weekdays:
          type: array
          items:
            type: integer
          example:
            - 1
            - 3
            - 5
        day_of_month:
          type: integer
          example: 15
        end_at:
          type: string
          format: date-time
        occurrence_limit:
          type: integer
          example: 10
        occurrence_count:
          type: integer
          example: 0
          description: عدد الإرسالات الناجحة حتى الآن
        attempts:
          type: integer
          example: 0
          description: فشل المحاولات للتشغيل الحالي
        last_run_at:
          type: string
          format: date-time
        last_message_id:
          type: string
          example: 3EB0B430B6F8F1D0E053AC120E0A9E5C
        last_error:
          type: string
        created_at:
          type: string
          format: date-time
          example: '2026-09-25T08:00:00Z'
        updated_at:
          type: string
          format: date-time
          example: '2026-09-25T08:00:00Z'
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic

````

## Related topics

- [إرسال مجدول](https://gowa-docs.mintlify.site/ar/examples/scheduled-sends.md)
- [إيقاف إرسال مجدول](https://gowa-docs.mintlify.site/ar/api-reference/send/إيقاف-إرسال-مجدول.md)
- [إلغاء إرسال مجدول](https://gowa-docs.mintlify.site/ar/api-reference/send/إلغاء-إرسال-مجدول.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.