> ## 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.

# الحصول على معلومات الملف الشخصي للأعمال التجارية

> استرداد معلومات الملف الشخصي التفصيلي للأعمال التجارية لحساب أعمال WhatsApp



## OpenAPI

````yaml /ar/openapi.yml get /user/business-profile
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:
  /user/business-profile:
    get:
      tags:
        - user
      summary: الحصول على معلومات الملف الشخصي للأعمال التجارية
      description: >-
        استرداد معلومات الملف الشخصي التفصيلي للأعمال التجارية لحساب أعمال
        WhatsApp
      operationId: userBusinessProfile
      parameters:
        - $ref: '#/components/parameters/DeviceIdHeader'
        - name: phone
          in: query
          required: true
          schema:
            type: string
          example: 6289685028129@s.whatsapp.net
          description: رقم الهاتف مع رمز البلد لحساب الأعمال التجارية
      responses:
        '200':
          description: حسناً
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BusinessProfileResponse'
        '400':
          description: طلب خاطئ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBadRequest'
        '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
  schemas:
    BusinessProfileResponse:
      type: object
      properties:
        code:
          type: string
          example: SUCCESS
        message:
          type: string
          example: Success get business profile
        results:
          type: object
          properties:
            jid:
              type: string
              example: 6289685028129@s.whatsapp.net
              description: حساب العمل
            email:
              type: string
              example: business@example.com
              description: عنوان البريد الإلكتروني للأعمال التجارية
            address:
              type: string
              example: 123 Business Street, City, Country
              description: عنوان العمل المادي
            categories:
              type: array
              description: فئات الأعمال
              items:
                type: object
                properties:
                  id:
                    type: string
                    example: retail
                  name:
                    type: string
                    example: Retail Store
            profile_options:
              type: object
              description: خيارات الملف الشخصي الإضافية
              example:
                website: https://example.com
                description: وصف الأعمال التجارية
            business_hours_timezone:
              type: string
              example: Asia/Jakarta
              description: المنطقة الزمنية لساعات العمل
            business_hours:
              type: array
              description: ساعات العمل
              items:
                type: object
                properties:
                  day_of_week:
                    type: string
                    example: monday
                  mode:
                    type: string
                    example: open
                  open_time:
                    type: string
                    example: '09:00'
                  close_time:
                    type: string
                    example: '18:00'
    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: بيانات إضافية
    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: بيانات إضافية
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic

````

## Related topics

- [الحصول على معلومات الجهاز](https://gowa-docs.mintlify.site/ar/api-reference/device/الحصول-على-معلومات-الجهاز.md)
- [الحصول على معلومات المجموعة من رابط الدعوة](https://gowa-docs.mintlify.site/ar/api-reference/group/الحصول-على-معلومات-المجموعة-من-رابط-الدعوة.md)
- [الحصول على رسائل من محادثة محددة](https://gowa-docs.mintlify.site/ar/api-reference/chat/الحصول-على-رسائل-من-محادثة-محددة.md)
- [الحصول على إرسال مجدول](https://gowa-docs.mintlify.site/ar/api-reference/send/الحصول-على-إرسال-مجدول.md)
- [الحصول على حالة الاتصال](https://gowa-docs.mintlify.site/ar/api-reference/app/الحصول-على-حالة-الاتصال.md)


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