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

# قوالب القنوات

> استرجع قائمة بكل قوالب تواصل القنوات في مساحة العمل.



## OpenAPI

````yaml ar-openapi POST /channels/templates
openapi: 3.0.0
info:
  description: >-
    تقدّم واجهة Pubrio API معلومات استخباراتية عن توسع السوق — إشارات في الوقت
    الفعلي تُعلِم عندما تدخل شركة سوقًا جديدة — إلى جانب بيانات الشركات والأشخاص
    التي تستند إليها. ابحث، وتحقق، وأثرِ الحسابات وجهات التواصل، واشترك في
    إشارات تحرك مصنَّفة ومؤرَّخة عبر أكثر من 200 سوق.
  version: 1.0.0
  title: Pubrio OpenAPI
  termsOfService: https://pubrio.com/ar/terms-of-service
  contact:
    email: king.lai@pubrio.com
    name: King Lai
    url: https://pubrio.com/ar/get-in-touch
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://api.pubrio.com
security:
  - pubrio_api_key: []
tags:
  - name: Profile
    description: معلومات ملف مساحة العمل وإحصاءات الاستخدام
  - name: Enrichment
    description: إثراء سجلات الأشخاص والشركات ببيانات B2B مفصّلة
  - name: Lookalike
    description: إيجاد شركات مشابهة لشركة معينة
  - name: Search
    description: البحث عن أشخاص وشركات ووظائف وأخبار وإعلانات بمرشحات
  - name: Lookup
    description: البحث عن معلومات مفصّلة لأشخاص وشركات ووظائف وأخبار وإعلانات وتقنيات محددة
  - name: LinkedIn
    description: البحث عن بيانات أشخاص وشركات عبر روابط ملفات LinkedIn
  - name: Redeem
    description: استبدال أرصدة لفتح بيانات تواصل الأشخاص (فردي ودفعي)
  - name: Channels
    description: إدارة قوالب قنوات التواصل (إنشاء، تحديث، حذف، سرد)
  - name: Monitor
    description: إنشاء وإدارة Monitors للبيانات بواجهات webhook، وإحصاءات، ومعالجة
  - name: Filters
    description: >-
      استرجاع قيم المرشحات المتاحة لمعاملات البحث (التقنيات، المواقع، القطاعات،
      إلخ)
  - name: API Keys
    description: سرد وفحص سجلات طلبات API وتحليلات الاستخدام لمفاتيح API
  - name: Insights
    description: رؤى إشارات مجمَّعة للشركات (الوظائف، الأخبار، الإعلانات).
  - name: Export
    description: تصدير بيانات دفعي (مقيَّد بالأرصدة).
  - name: Expansion
    description: >-
      معلومات استخباراتية عن توسع الشركات في السوق: الإشارات، المراحل، الأسواق،
      والتصدير.
externalDocs:
  description: >-
    The Pubrio API is used to search, preview and enrich Contacts and Accounts.
    Pubrio database provides extensive B2B contacts and sales intelligence data.
  url: https://docs.pubrio.com
paths:
  /channels/templates:
    post:
      tags:
        - Channels
      summary: سرد قوالب القنوات
      description: استرجع قائمة بكل قوالب تواصل القنوات في مساحة العمل.
      operationId: channels_list_templates
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                channel_template_name:
                  $ref: '#/components/schemas/channel_template_name'
                channel_nodes:
                  $ref: '#/components/schemas/channel_nodes'
                channel_types:
                  $ref: '#/components/schemas/channel_types'
                per_page:
                  $ref: '#/components/schemas/per_page'
                page:
                  $ref: '#/components/schemas/page'
      responses:
        '200':
          description: استجابة ناجحة تحتوي على قائمة تفاصيل قوالب القنوات.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    allOf:
                      - $ref: '#/components/schemas/data'
                    properties:
                      channel_templates:
                        type: array
                        description: >-
                          جسم القالب. **تعتمد مفاتيحه على نوع القناة**، لذا اقرأ
                          `channel_type_slug` قبل التحليل: `email` ← `subject`،
                          `content`، `attachments`؛ `linkedin` (رسالة محادثة) ←
                          `message`، `attachments`؛ `linkedin` (دعوة) ←
                          `message`؛ `twilio` ← `message`، `from`، `method`.
                        items:
                          type: object
              example:
                data:
                  pagination:
                    page: 1
                    per_page: 25
                    total_entries: 4
                    total_pages: 1
                    is_timeout: false
                  channel_templates:
                    - channel_template_id: 1
                      channel_template_identifier: 4f6f40cb-ed6d-4cca-99d8-616feef8de93
                      channel_node_id: 93873c33-2635-4537-928c-6a4f3564164c
                      channel_node_slug: send_email
                      channel_type_id: 1
                      channel_type_slug: email
                      owner_email: example@pubrio.com
                      owner_name: Owner
                      name: email
                      version_number: 1
                      version_name: version 1
                      is_default: true
                      is_personal: true
                      created_at: '2025-07-29T09:07:11.969Z'
                      last_modified: '2025-07-29T09:07:11.969Z'
                      channel_template_versions:
                        - channel_template_id: 1
                          channel_template_identifier: 4f6f40cb-ed6d-4cca-99d8-616feef8de93
                          channel_node_id: 93873c33-2635-4537-928c-6a4f3564164c
                          channel_node_slug: send_email
                          channel_type_id: 1
                          channel_type_slug: email
                          owner_email: example@pubrio.com
                          owner_name: Owner
                          name: email
                          parameters:
                            content: <div>hello world</div>
                            subject: Hello World
                            attachments: []
                          version_number: 1
                          version_name: version 1
                          default_values: null
                          is_default: true
                          is_personal: true
                          created_at: '2025-07-29T09:07:11.969581'
                          last_modified: '2025-07-29T09:07:11.969581'
                    - ...
        '400':
          $ref: '#/components/responses/general_error'
        '429':
          $ref: '#/components/responses/rate_limit_error'
        '500':
          $ref: '#/components/responses/server_error'
components:
  schemas:
    channel_template_name:
      type: string
      example: channel template
      description: صفِّ نتائج البحث لتشمل اسم قالب قناة محدد.
    channel_nodes:
      type: array
      items:
        type: string
        format: uuid
      description: قائمة من `channel_node_id` تُستخدَم للبحث عن عُقد قنوات محددة.
    channel_types:
      type: array
      items:
        type: integer
      example:
        - 1
        - 2
      description: قائمة من `channel_type_id` تُستخدَم للبحث عن أنواع قنوات محددة.
    per_page:
      type: integer
      example: 25
      default: 25
      maximum: 25
      description: >-
        السجلات لكل صفحة. القيمة الافتراضية 25، وهي أيضًا السقف في معظم الخطط —
        الحد هو `max_search_per_page` الخاص باشتراكك، الذي تُعيده
        [Profile](/ar/api-reference/endpoint/profile/profile). تجاوزه يُعيد
        **HTTP 416** برمز `41676` (أو `41613` في بحث الشركات والأشخاص)، لا
        مجموعة نتائج مقتطَعة.
    page:
      type: integer
      example: 1
      default: 1
      description: >-
        رقم الصفحة، بدءًا من 1. السقف هو `max_search_page` الخاص باشتراكك
        (`max_company_search_page` لبحث الشركات)، الذي تُعيده
        [Profile](/ar/api-reference/endpoint/profile/profile). تجاوزه يُعيد
        **HTTP 416**.
    data:
      type: object
      nullable: true
      description: تعتمد معلومات الاستجابة على النقطة الطرفية المحددة.
  responses:
    general_error:
      description: >-
        طلب غير صحيح. كان الطلب مُصاغًا بشكل خاطئ أو يحتوي معاملات غير صالحة.
        تحقق من رمز الخطأ والرسالة للتفاصيل.
      content:
        application/json:
          schema:
            required:
              - code
              - message
              - details
            type: object
            properties:
              code:
                example: 40001
                type: integer
              message:
                example: >-
                  Errors and codes will vary depending on the scenario, please
                  see the documentation for information.
                type: string
              details:
                type: object
    rate_limit_error:
      description: >-
        تم تجاوز حد المعدل. نُفِّذت طلبات كثيرة جدًا خلال فترة زمنية معينة. أعِد
        المحاولة بعد إعادة ضبط نافذة حد المعدل.
      content:
        application/json:
          schema:
            required:
              - error
            type: object
            properties:
              error:
                example: Request rate limit exceeded. Please wait and try again later.
                type: string
    server_error:
      description: >-
        خطأ خادم داخلي. حدث خطأ غير متوقع في الخادم. تواصل مع الدعم إن استمر
        الخطأ.
      content:
        application/json:
          schema:
            required:
              - error
            type: object
            properties:
              error:
                example: An unexpected error occurred on the server.
                type: string
  securitySchemes:
    pubrio_api_key:
      type: apiKey
      name: pubrio-api-key
      description: >-
        رمز API فريد يمثّل الإجراءات التي تنفّذها عبر الواجهة والصلاحيات
        والعمليات المقابلة. يمكنك إنشاءه عبر قسم
        [Settings](https://dashboard.pubrio.com/#/settings/).
      in: header

````