تقوم GOWA بمصادقة مكالمات API مع مصادقة HTTP الأساسية فقط.
يدعم GOWA HTTP Basic Auth ولا شيء آخر: لا توجد مفاتيح API أو رموز لحاملها أو JWT ل REST API. (MCP يمكن أن تقبل إضافة إلى ذلك رمز OAuth tokens؛ انظر MCP server.)
تكوين
APP_BASIC_AUTH=admin:changeme,ops:another-password # or --basic-auth=admin:changeme
كل زوج user:pass في القائمة المفصولة بفواصل هو بيانات تسجيل دخول صالحة. يجب أن يحتوي كل إدخال على اسم مستخدم وكلمة مرور معًا. يرفض المستمع على عنوان غير عنوان الاسترجاع المحلي بدء التشغيل دون بيانات اعتماد كاملة. اضبط الربط على APP_HOST=127.0.0.1 للتطوير المحلي دون مصادقة. استخدم APP_ALLOW_UNAUTHENTICATED=true فقط عندما يتولى وكيل عكسي مصادقة المتصلين ويكون الوصول المباشر إلى GOWA مقيّدًا.
تؤدي بيانات الاعتماد غير الصحيحة أو المفقودة إلى إرجاع 401 Unauthorized.
المسارات العامة
الطريق
لماذا
/health
التحقق من مدى الحياة.
/statics/*
صور QR وملفات الوسائط. عناوين URL المعروفة لا تزال عامة. تحميل غير الصورة كمرفقات. حماية الوصول إلى الوكيل الخاص بك إذا لزم الأمر.
/chatwoot/webhook, /chatwoot/webhook/{device_id}
مسموحة بواسطة Chatwot؛ مؤمن بواسطة CHATWOOT_WEBHOOK_SECRET.
نقاط نهاية MCP OAuth والبيانات الوصفية في /.well-known/*
تدفق OAuth عند التمكين.
WebSocket
لا يمكن للمتصفحات تعيين رؤوس على اتصالات WebSocket، لذا /ws يقبل أيضًا /ws?device_id=my-device&authorization=<base64 user:pass>. استخدم wss:// و redact أوراق اعتماد من سجلات البروكسي.إن مسارات HTTP و WebSocket المتغيرة للحالة ترفض منشأ المتصفح غير الموثوق به. قم بتعيين أصل لوحة التحكم بالضبط في APP_TRUSTED_ORIGINS أو APP_CORS_ALLOWED_ORIGINS. مصدر البطاقة البرية CORS لا يمنح هذا الوصول، وأصولها null من صفحات file:// مرفوضة. طفرات HTTP من أصل غير موثوق به العائد 403 CROSS_SITE_REQUEST_BLOCKED. انظر تكوين الوصول إلى المتصفح.
رأس الجهاز
المصادقة الأساسية تحدد متصل API، وليس حساب WhatsApp. كل مكالمة على نطاق الجهاز تحتاج أيضًا إلى X-Device-Id عندما يكون هناك أكثر من جهاز واحد. انظر Multi-device.
ترسل المصادقة الأساسية بيانات الاعتماد على كل طلب. استخدم دائما HTTPS أمام GOWA خارج شبكة موثوق بها.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"WhatsApp API MultiDevice","description":"GOWA official documentation","colors":{"primary":"#277C99","light":"#6FAFC8","dark":"#277C99"},"logo":{"light":"https://mintcdn.com/gowa-docs/tsQezhQWWuaGa128/images/gowa-logo.webp?fit=max\u0026auto=format\u0026n=tsQezhQWWuaGa128\u0026q=85\u0026s=b3f74808868781b289bf1c2d21b7b2a1","dark":"https://mintcdn.com/gowa-docs/tsQezhQWWuaGa128/images/gowa-logo.webp?fit=max\u0026auto=format\u0026n=tsQezhQWWuaGa128\u0026q=85\u0026s=b3f74808868781b289bf1c2d21b7b2a1"},"favicon":"https://mintcdn.com/gowa-docs/tsQezhQWWuaGa128/images/gowa-logo.webp?fit=max\u0026auto=format\u0026n=tsQezhQWWuaGa128\u0026q=85\u0026s=b3f74808868781b289bf1c2d21b7b2a1","api":{},"background":{"color":{"light":"#EFF4F6","dark":"#0B1318"}},"navbar":{"links":[{"href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/issues","label":"Support"}],"primary":{"type":"button","label":"Try GOWA","href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/releases/latest"}},"footer":{"socials":{"github":"https://github.com/aldinokemal/go-whatsapp-web-multidevice"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice"}]},"languages":[{"language":"en","default":true,"href":""},{"language":"id","href":"id"},{"language":"cn","navbar":{"links":[{"href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/issues","label":"支持"}],"primary":{"type":"button","label":"试用 GOWA","href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/releases/latest"}},"href":"zh"},{"language":"tr","navbar":{"links":[{"href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/issues","label":"Destek"}],"primary":{"type":"button","label":"GOWA’yı deneyin","href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/releases/latest"}},"href":"tr"},{"language":"ru","navbar":{"links":[{"href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/issues","label":"Поддержка"}],"primary":{"type":"button","label":"Попробовать GOWA","href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/releases/latest"}},"href":"ru"},{"language":"ar","navbar":{"links":[{"href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/issues","label":"الدعم"}],"primary":{"type":"button","label":"جرّب GOWA","href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/releases/latest"}},"href":"ar"},{"language":"jp","navbar":{"links":[{"href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/issues","label":"サポート"}],"primary":{"type":"button","label":"GOWA を試す","href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/releases/latest"}},"href":"ja"},{"language":"es","navbar":{"links":[{"href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/issues","label":"Soporte"}],"primary":{"type":"button","label":"Probar GOWA","href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/releases/latest"}},"href":"es"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gowa-docs","hasAudioNarration":false,"actualSubdomain":"gowa-docs","customDomains":[],"gitSource":{"type":"github","owner":"aldinokemal","repo":"gowa-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6ae20edac192c2fa84eb7c2d"},"feedback":{"issues":false,"edits":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6afd70315e3b11ff7dbd9ee9","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"en","tag":"API Reference","count":118},{"language":"ar","tag":"مرجع API","count":118},{"language":"es","tag":"Referencia de la API","count":118},{"language":"id","tag":"Referensi API","count":118},{"language":"jp","tag":"API リファレンス","count":118},{"language":"ru","tag":"Справочник API","count":118},{"language":"tr","tag":"API Referansı","count":118},{"language":"cn","tag":"API 参考","count":118},{"language":"en","tag":"WhatsApp API","count":108},{"language":"ar","tag":"واجهة WhatsApp API","count":108},{"language":"es","tag":"API de WhatsApp","count":108},{"language":"id","tag":"API WhatsApp","count":108},{"language":"jp","tag":"WhatsApp API","count":108},{"language":"ru","tag":"API WhatsApp","count":108},{"language":"tr","tag":"WhatsApp API","count":108},{"language":"cn","tag":"WhatsApp API","count":108},{"language":"en","tag":"Guide","count":20},{"language":"en","tag":"group","count":20},{"language":"ar","tag":"الدليل","count":20},{"language":"ar","tag":"group","count":20},{"language":"es","tag":"Guía","count":20},{"language":"es","tag":"group","count":20},{"language":"id","tag":"Panduan","count":20},{"language":"id","tag":"group","count":20},{"language":"jp","tag":"ガイド","count":20},{"language":"jp","tag":"group","count":20},{"language":"ru","tag":"Руководство","count":20},{"language":"ru","tag":"group","count":20},{"language":"tr","tag":"Kılavuz","count":20},{"language":"tr","tag":"group","count":20},{"language":"cn","tag":"指南","count":20},{"language":"cn","tag":"group","count":20},{"language":"en","tag":"send","count":18},{"language":"ar","tag":"send","count":18},{"language":"es","tag":"send","count":18},{"language":"id","tag":"send","count":18},{"language":"jp","tag":"send","count":18},{"language":"ru","tag":"send","count":18},{"language":"tr","tag":"send","count":18},{"language":"cn","tag":"send","count":18},{"language":"en","tag":"app","count":12},{"language":"en","tag":"user","count":12},{"language":"ar","tag":"app","count":12},{"language":"ar","tag":"user","count":12},{"language":"es","tag":"app","count":12},{"language":"es","tag":"user","count":12},{"language":"id","tag":"app","count":12},{"language":"id","tag":"user","count":12},{"language":"jp","tag":"app","count":12},{"language":"jp","tag":"user","count":12},{"language":"ru","tag":"app","count":12},{"language":"ru","tag":"user","count":12},{"language":"tr","tag":"app","count":12},{"language":"tr","tag":"user","count":12},{"language":"cn","tag":"app","count":12},{"language":"cn","tag":"user","count":12},{"language":"en","tag":"device","count":11},{"language":"ar","tag":"device","count":11},{"language":"es","tag":"device","count":11},{"language":"id","tag":"device","count":11},{"language":"jp","tag":"device","count":11},{"language":"ru","tag":"device","count":11},{"language":"tr","tag":"device","count":11},{"language":"cn","tag":"device","count":11},{"language":"en","tag":"message","count":10},{"language":"en","tag":"newsletter","count":10},{"language":"ar","tag":"message","count":10},{"language":"ar","tag":"newsletter","count":10},{"language":"es","tag":"message","count":10},{"language":"es","tag":"newsletter","count":10},{"language":"id","tag":"message","count":10},{"language":"id","tag":"newsletter","count":10},{"language":"jp","tag":"message","count":10},{"language":"jp","tag":"newsletter","count":10},{"language":"ru","tag":"message","count":10},{"language":"ru","tag":"newsletter","count":10},{"language":"tr","tag":"message","count":10},{"language":"tr","tag":"newsletter","count":10},{"language":"cn","tag":"message","count":10},{"language":"cn","tag":"newsletter","count":10}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html[lang=\"ar\"] :is(#content-container,#sidebar){direction:rtl;text-align:start}html[lang=\"ar\"] #content-container :is(pre,code,kbd){direction:ltr;text-align:start;unicode-bidi:isolate}"}]}
{"page":{"pagePath":"ar/api-reference/authentication","slug":"/ar/api-reference/authentication","pageMetadata":{"title":"مصادقة API","keywords":["API authentication","Basic Auth","CORS"],"sidebarTitle":"المصادقة","description":"تقوم GOWA بمصادقة مكالمات API مع مصادقة HTTP الأساسية فقط.","href":"/ar/api-reference/authentication"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"تقوم GOWA بمصادقة مكالمات API مع مصادقة HTTP الأساسية فقط.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`يدعم GOWA `,_jsx(_components.strong,{children:`HTTP Basic Auth`}),` ولا شيء آخر: لا توجد مفاتيح API أو رموز لحاملها أو JWT ل REST API. (MCP يمكن أن تقبل إضافة إلى ذلك رمز OAuth tokens؛ انظر `,_jsx(_components.a,{href:`/ar/integrations/mcp#%D8%A7%D9%84%D8%B9%D9%85%D9%84%D8%A7%D8%A1-%D8%A7%D9%84%D8%A8%D8%B9%D9%8A%D8%AF%D9%8A%D9%86-%D9%85%D8%B9-oauth`,children:`MCP server`}),`.)`]}),`\n`,_jsx(Heading,{level:`2`,id:`تكوين`,children:`تكوين`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`APP_BASIC_AUTH`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`admin:changeme,ops:another-password`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # or --basic-auth=admin:changeme`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`كل زوج `,_jsx(_components.code,{children:`user:pass`}),` في القائمة المفصولة بفواصل هو بيانات تسجيل دخول صالحة. يجب أن يحتوي كل إدخال على اسم مستخدم وكلمة مرور معًا. يرفض المستمع على عنوان غير عنوان الاسترجاع المحلي بدء التشغيل دون بيانات اعتماد كاملة. اضبط الربط على `,_jsx(_components.code,{children:`APP_HOST=127.0.0.1`}),` للتطوير المحلي دون مصادقة. استخدم `,_jsx(_components.code,{children:`APP_ALLOW_UNAUTHENTICATED=true`}),` فقط عندما يتولى وكيل عكسي مصادقة المتصلين ويكون الوصول المباشر إلى GOWA مقيّدًا.`]}),`\n`,_jsx(Heading,{level:`2`,id:`إرسال-بيانات-الاعتماد`,children:`إرسال بيانات الاعتماد`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`curl`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -u`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` admin:changeme`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-Device-Id: my-device\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http://localhost:3000/app/devices`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Header`,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Basic $(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`echo`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'admin:changeme' `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`|`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` base64`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`)\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-Device-Id: my-device\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http://localhost:3000/app/devices`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`6`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` res`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http://localhost:3000/user/my/groups\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Basic \"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Buffer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"admin:changeme\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`toString`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"base64\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-Device-Id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"my-device\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`4`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`r `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http://localhost:3000/user/my/groups\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` auth`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"admin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"changeme\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X-Device-Id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"my-device\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})]}),`\n`]})})})]}),`\n`,_jsxs(_components.p,{children:[`تؤدي بيانات الاعتماد غير الصحيحة أو المفقودة إلى إرجاع `,_jsx(_components.code,{children:`401 Unauthorized`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`المسارات-العامة`,children:`المسارات العامة`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`الطريق`}),_jsx(_components.th,{children:`لماذا`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`/health`})}),_jsx(_components.td,{children:`التحقق من مدى الحياة.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`/statics/*`})}),_jsx(_components.td,{children:`صور QR وملفات الوسائط. عناوين URL المعروفة لا تزال عامة. تحميل غير الصورة كمرفقات. حماية الوصول إلى الوكيل الخاص بك إذا لزم الأمر.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`/chatwoot/webhook`}),`, `,_jsx(_components.code,{children:`/chatwoot/webhook/{device_id}`})]}),_jsxs(_components.td,{children:[`مسموحة بواسطة Chatwot؛ مؤمن بواسطة `,_jsx(_components.code,{children:`CHATWOOT_WEBHOOK_SECRET`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`نقاط نهاية MCP OAuth والبيانات الوصفية في `,_jsx(_components.code,{children:`/.well-known/*`})]}),_jsx(_components.td,{children:`تدفق OAuth عند التمكين.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`websocket`,children:`WebSocket`}),`\n`,_jsxs(_components.p,{children:[`لا يمكن للمتصفحات تعيين رؤوس على اتصالات WebSocket، لذا `,_jsx(_components.code,{children:`/ws`}),` يقبل أيضًا `,_jsx(_components.code,{children:`/ws?device_id=my-device\u0026authorization=\u003cbase64 user:pass>`}),`. استخدم `,_jsx(_components.code,{children:`wss://`}),` و redact أوراق اعتماد من سجلات البروكسي.`]}),`\n`,_jsxs(_components.p,{children:[`إن مسارات HTTP و WebSocket المتغيرة للحالة ترفض منشأ المتصفح غير الموثوق به. قم بتعيين أصل لوحة التحكم بالضبط في `,_jsx(_components.code,{children:`APP_TRUSTED_ORIGINS`}),` أو `,_jsx(_components.code,{children:`APP_CORS_ALLOWED_ORIGINS`}),`. مصدر البطاقة البرية CORS لا يمنح هذا الوصول، وأصولها `,_jsx(_components.code,{children:`null`}),` من صفحات `,_jsx(_components.code,{children:`file://`}),` مرفوضة. طفرات HTTP من أصل غير موثوق به العائد `,_jsx(_components.code,{children:`403 CROSS_SITE_REQUEST_BLOCKED`}),`. انظر `,_jsx(_components.a,{href:`/ar/authentication#cors`,children:`تكوين الوصول إلى المتصفح`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`رأس-الجهاز`,children:`رأس الجهاز`}),`\n`,_jsxs(_components.p,{children:[`المصادقة الأساسية تحدد متصل API، وليس حساب WhatsApp. كل مكالمة على نطاق الجهاز تحتاج أيضًا إلى `,_jsx(_components.code,{children:`X-Device-Id`}),` عندما يكون هناك أكثر من جهاز واحد. انظر `,_jsx(_components.a,{href:`/ar/concepts/multidevice`,children:`Multi-device`}),`.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`ترسل المصادقة الأساسية بيانات الاعتماد على كل طلب. استخدم دائما HTTPS أمام GOWA خارج شبكة موثوق بها.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"مصادقة API","keywords":["API authentication","Basic Auth","CORS"],"sidebarTitle":"المصادقة","description":"تقوم GOWA بمصادقة مكالمات API مع مصادقة HTTP الأساسية فقط.","href":"/ar/api-reference/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"تكوين","slug":"تكوين","depth":2,"children":[]},{"title":"إرسال بيانات الاعتماد","slug":"إرسال-بيانات-الاعتماد","depth":2,"children":[]},{"title":"المسارات العامة","slug":"المسارات-العامة","depth":2,"children":[]},{"title":"WebSocket","slug":"websocket","depth":2,"children":[]},{"title":"رأس الجهاز","slug":"رأس-الجهاز","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"gowa-docs","siteName":"WhatsApp API MultiDevice","title":"مصادقة API - WhatsApp API MultiDevice","relatedPagesConfig":{"enabled":true,"limit":5,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/authentication","matchLevel":1},"id":{"href":"/id/api-reference/authentication","matchLevel":1},"cn":{"href":"/zh/api-reference/authentication","matchLevel":1},"tr":{"href":"/tr/api-reference/authentication","matchLevel":1},"ru":{"href":"/ru/api-reference/authentication","matchLevel":1},"ar":{"href":"/ar/api-reference/authentication","matchLevel":0},"jp":{"href":"/ja/api-reference/authentication","matchLevel":1},"es":{"href":"/es/api-reference/authentication","matchLevel":1}}},"lastModified":"2026-11-18T02:05:23.764Z","originalFileLocation":"ar/api-reference/authentication.mdx","locale":"ar"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"تقوم GOWA بمصادقة مكالمات API مع مصادقة HTTP الأساسية فقط.\">\u003cmeta data-mint-head name=\"application-name\" content=\"WhatsApp API MultiDevice\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gowa-docs/4a7FEkATcm1vbjD2/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/gowa-docs/4a7FEkATcm1vbjD2/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gowa-docs/4a7FEkATcm1vbjD2/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gowa-docs/4a7FEkATcm1vbjD2/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gowa-docs/4a7FEkATcm1vbjD2/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gowa-docs/4a7FEkATcm1vbjD2/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gowa-docs/4a7FEkATcm1vbjD2/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gowa-docs/4a7FEkATcm1vbjD2/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gowa-docs/4a7FEkATcm1vbjD2/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"مصادقة API - WhatsApp API MultiDevice\">\u003cmeta data-mint-head property=\"og:description\" content=\"تقوم GOWA بمصادقة مكالمات API مع مصادقة HTTP الأساسية فقط.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"WhatsApp API MultiDevice\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://gowa-docs.mintlify.app/ar/api-reference/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gowa-docs.mintlify.site/_mintlify/api/og/v2?division=%D9%86%D8%B8%D8%B1%D8%A9+%D8%B9%D8%A7%D9%85%D8%A9\u0026amp;title=%D9%85%D8%B5%D8%A7%D8%AF%D9%82%D8%A9+API\u0026amp;description=%D8%AA%D9%82%D9%88%D9%85+GOWA+%D8%A8%D9%85%D8%B5%D8%A7%D8%AF%D9%82%D8%A9+%D9%85%D9%83%D8%A7%D9%84%D9%85%D8%A7%D8%AA+API+%D9%85%D8%B9+%D9%85%D8%B5%D8%A7%D8%AF%D9%82%D8%A9+HTTP+%D8%A7%D9%84%D8%A3%D8%B3%D8%A7%D8%B3%D9%8A%D8%A9+%D9%81%D9%82%D8%B7.\u0026amp;theme=f6c1b37b82c91dd56c3dd76c\u0026amp;signature=18157613da0b7593df3ff979cfbd223390403e793835312219ced8ba62bdd8f9\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"مصادقة API - WhatsApp API MultiDevice\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"تقوم GOWA بمصادقة مكالمات API مع مصادقة HTTP الأساسية فقط.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gowa-docs.mintlify.site/_mintlify/api/og/v2?division=%D9%86%D8%B8%D8%B1%D8%A9+%D8%B9%D8%A7%D9%85%D8%A9\u0026amp;title=%D9%85%D8%B5%D8%A7%D8%AF%D9%82%D8%A9+API\u0026amp;description=%D8%AA%D9%82%D9%88%D9%85+GOWA+%D8%A8%D9%85%D8%B5%D8%A7%D8%AF%D9%82%D8%A9+%D9%85%D9%83%D8%A7%D9%84%D9%85%D8%A7%D8%AA+API+%D9%85%D8%B9+%D9%85%D8%B5%D8%A7%D8%AF%D9%82%D8%A9+HTTP+%D8%A7%D9%84%D8%A3%D8%B3%D8%A7%D8%B3%D9%8A%D8%A9+%D9%81%D9%82%D8%B7.\u0026amp;theme=f6c1b37b82c91dd56c3dd76c\u0026amp;signature=18157613da0b7593df3ff979cfbd223390403e793835312219ced8ba62bdd8f9\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/gowa-docs/4a7FEkATcm1vbjD2/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"WhatsApp API MultiDevice\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#277C99\">\u003clink data-mint-head rel=\"canonical\" href=\"https://gowa-docs.mintlify.app/ar/api-reference/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ar/api-reference/authentication.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ar\" href=\"https://gowa-docs.mintlify.app/ar/api-reference/authentication\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://gowa-docs.mintlify.app/api-reference/authentication\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"id\" href=\"https://gowa-docs.mintlify.app/id/api-reference/authentication\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://gowa-docs.mintlify.app/zh/api-reference/authentication\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"tr\" href=\"https://gowa-docs.mintlify.app/tr/api-reference/authentication\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://gowa-docs.mintlify.app/ru/api-reference/authentication\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://gowa-docs.mintlify.app/ja/api-reference/authentication\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://gowa-docs.mintlify.app/es/api-reference/authentication\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://gowa-docs.mintlify.app/api-reference/authentication\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://gowa-docs.mintlify.app/#organization\",\"name\":\"WhatsApp API MultiDevice\",\"url\":\"https://gowa-docs.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gowa-docs/tsQezhQWWuaGa128/images/gowa-logo.webp?fit=max\u0026auto=format\u0026n=tsQezhQWWuaGa128\u0026q=85\u0026s=b3f74808868781b289bf1c2d21b7b2a1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://gowa-docs.mintlify.app#website\",\"name\":\"WhatsApp API MultiDevice\",\"url\":\"https://gowa-docs.mintlify.app\",\"publisher\":{\"@id\":\"https://gowa-docs.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://gowa-docs.mintlify.app/ar/api-reference/authentication#webpage\",\"url\":\"https://gowa-docs.mintlify.app/ar/api-reference/authentication\",\"name\":\"مصادقة API\",\"description\":\"تقوم GOWA بمصادقة مكالمات API مع مصادقة HTTP الأساسية فقط.\",\"dateModified\":\"2026-11-18T02:05:23.764Z\",\"isPartOf\":{\"@id\":\"https://gowa-docs.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://gowa-docs.mintlify.app/ar/api-reference/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://gowa-docs.mintlify.app/ar/api-reference/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"نظرة عامة\",\"item\":\"https://gowa-docs.mintlify.app/ar/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"مصادقة API\",\"item\":\"https://gowa-docs.mintlify.app/ar/api-reference/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://gowa-docs.mintlify.app/ar/api-reference/authentication#article\",\"headline\":\"مصادقة API\",\"name\":\"مصادقة API\",\"description\":\"تقوم GOWA بمصادقة مكالمات API مع مصادقة HTTP الأساسية فقط.\",\"url\":\"https://gowa-docs.mintlify.app/ar/api-reference/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://gowa-docs.mintlify.app/ar/api-reference/authentication#webpage\"},\"dateModified\":\"2026-11-18T02:05:23.764Z\",\"keywords\":\"API authentication, Basic Auth, CORS\",\"publisher\":{\"@id\":\"https://gowa-docs.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://gowa-docs.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"WhatsApp API MultiDevice\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"WhatsApp API MultiDevice\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/ar/api-reference/authentication.md","siteName":"WhatsApp API MultiDevice","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice"}]},"languages":[{"language":"en","default":true,"pages":[{"title":"en","href":"/api-reference/authentication"}]},{"language":"id","pages":[{"title":"id","href":"/id/api-reference/authentication"}]},{"language":"cn","navbar":{"links":[{"href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/issues","label":"支持"}],"primary":{"type":"button","label":"试用 GOWA","href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/releases/latest"}},"pages":[{"title":"cn","href":"/zh/api-reference/authentication"}]},{"language":"tr","navbar":{"links":[{"href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/issues","label":"Destek"}],"primary":{"type":"button","label":"GOWA’yı deneyin","href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/releases/latest"}},"pages":[{"title":"tr","href":"/tr/api-reference/authentication"}]},{"language":"ru","navbar":{"links":[{"href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/issues","label":"Поддержка"}],"primary":{"type":"button","label":"Попробовать GOWA","href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/releases/latest"}},"pages":[{"title":"ru","href":"/ru/api-reference/authentication"}]},{"language":"ar","navbar":{"links":[{"href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/issues","label":"الدعم"}],"primary":{"type":"button","label":"جرّب GOWA","href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/releases/latest"}},"tabs":[{"tab":"الدليل","pages":[{"title":"الدليل","href":"/ar"}]},{"tab":"مرجع API","groups":[{"group":"واجهة WhatsApp API","pages":[{"group":"app","pages":[{"title":"الفحص الصحي","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /health","href":"/ar/api-reference/app/الفحص-الصحي"},{"title":"تسجيل الدخول إلى خادم Whatsapp","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /app/login","href":"/ar/api-reference/app/تسجيل-الدخول-إلى-خادم-whatsapp"},{"title":"تسجيل الدخول مع رمز الاقتران","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /app/login-with-code","href":"/ar/api-reference/app/تسجيل-الدخول-مع-رمز-الاقتران"},{"title":"الحصول على حالة اقتران مفتاح المرور المعلق","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /app/passkey","href":"/ar/api-reference/app/الحصول-على-حالة-اقتران-مفتاح-المرور-المعلق"},{"title":"تقديم تأكيد WebAuthn لإقران مفتاح المرور","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /app/passkey/response","href":"/ar/api-reference/app/تقديم-تأكيد-webauthn-لإقران-مفتاح-المرور"},{"title":"تأكيد رمز اقتران المفتاح","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /app/passkey/confirm","href":"/ar/api-reference/app/تأكيد-رمز-اقتران-المفتاح"},{"title":"تسجيل خروج الجهاز النشط (يحتفظ بفتحة الجهاز)","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /app/logout","href":"/ar/api-reference/app/تسجيل-خروج-الجهاز-النشط-يحتفظ-بفتحة-الجهاز"},{"title":"إعادة الاتصال بخادم ماتسلاب","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /app/reconnect","href":"/ar/api-reference/app/إعادة-الاتصال-بخادم-ماتسلاب"},{"title":"الحصول على قائمة الأجهزة المتصلة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /app/devices","href":"/ar/api-reference/app/الحصول-على-قائمة-الأجهزة-المتصلة"},{"title":"الحصول على حالة الاتصال","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /app/status","href":"/ar/api-reference/app/الحصول-على-حالة-الاتصال"},{"title":"احصل على قياسات صحة الخادم","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /app/metrics","href":"/ar/api-reference/app/احصل-على-قياسات-صحة-الخادم"},{"title":"الحصول على بيانات تعريف الخادم","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /app/info","href":"/ar/api-reference/app/الحصول-على-بيانات-تعريف-الخادم"}]},{"group":"device","pages":[{"title":"قائمة جميع الأجهزة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /devices","href":"/ar/api-reference/device/قائمة-جميع-الأجهزة"},{"title":"إضافة جهاز جديد","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /devices","href":"/ar/api-reference/device/إضافة-جهاز-جديد"},{"title":"الحصول على معلومات الجهاز","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /devices/{device_id}","href":"/ar/api-reference/device/الحصول-على-معلومات-الجهاز"},{"title":"إزالة جهاز","deprecated":null,"version":null,"openapi":"/ar/openapi.yml delete /devices/{device_id}","href":"/ar/api-reference/device/إزالة-جهاز"},{"title":"تسجيل الدخول لجهاز باستخدام رمز QR","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /devices/{device_id}/login","href":"/ar/api-reference/device/تسجيل-الدخول-لجهاز-باستخدام-رمز-qr"},{"title":"تسجيل الدخول إلى جهاز برمز الاقتران","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /devices/{device_id}/login/code","href":"/ar/api-reference/device/تسجيل-الدخول-إلى-جهاز-برمز-الاقتران"},{"title":"تسجيل الخروج من الجهاز","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /devices/{device_id}/logout","href":"/ar/api-reference/device/تسجيل-الخروج-من-الجهاز"},{"title":"إعادة الاتصال بالجهاز","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /devices/{device_id}/reconnect","href":"/ar/api-reference/device/إعادة-الاتصال-بالجهاز"},{"title":"الحصول على حالة اتصال الجهاز","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /devices/{device_id}/status","href":"/ar/api-reference/device/الحصول-على-حالة-اتصال-الجهاز"},{"title":"الحصول على تكوين الويبهوك للجهاز","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /devices/{device_id}/webhook","href":"/ar/api-reference/device/الحصول-على-تكوين-الويبهوك-للجهاز"},{"title":"تعيين تكوين webhook للجهاز","deprecated":null,"version":null,"openapi":"/ar/openapi.yml patch /devices/{device_id}/webhook","href":"/ar/api-reference/device/تعيين-تكوين-webhook-للجهاز"}]},{"group":"user","pages":[{"title":"الاشتراك في وجود جهة الاتصال","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /user/presence/subscribe","href":"/ar/api-reference/user/الاشتراك-في-وجود-جهة-الاتصال"},{"title":"معلومات المستخدم","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /user/info","href":"/ar/api-reference/user/معلومات-المستخدم"},{"title":"صورة المستخدم الرمزية","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /user/avatar","href":"/ar/api-reference/user/صورة-المستخدم-الرمزية"},{"title":"تغيير الصورة الرمزية","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /user/avatar","href":"/ar/api-reference/user/تغيير-الصورة-الرمزية"},{"title":"تغيير اسم المستخدم","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /user/pushname","href":"/ar/api-reference/user/تغيير-اسم-المستخدم"},{"title":"المستخدم إعدادات الخصوصية الخاصة بي","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /user/my/privacy","href":"/ar/api-reference/user/المستخدم-إعدادات-الخصوصية-الخاصة-بي"},{"title":"مستخدم مجموعات قائمتي","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /user/my/groups","href":"/ar/api-reference/user/مستخدم-مجموعات-قائمتي"},{"title":"مستخدم مجموعات قائمتي","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /user/my/newsletters","href":"/ar/api-reference/user/مستخدم-مجموعات-قائمتي-1"},{"title":"الحصول على قائمة جهات اتصال المستخدم","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /user/my/contacts","href":"/ar/api-reference/user/الحصول-على-قائمة-جهات-اتصال-المستخدم"},{"title":"احصل على قائمة جهات الاتصال مع كل اسم جهة اتصال منفصلة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /user/my/contacts/detailed","href":"/ar/api-reference/user/احصل-على-قائمة-جهات-الاتصال-مع-كل-اسم-جهة-اتصال-منفصلة"},{"title":"تحقق مما إذا كان المستخدم على WhatsApp","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /user/check","href":"/ar/api-reference/user/تحقق-مما-إذا-كان-المستخدم-على-whatsapp"},{"title":"الحصول على معلومات الملف الشخصي للأعمال التجارية","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /user/business-profile","href":"/ar/api-reference/user/الحصول-على-معلومات-الملف-الشخصي-للأعمال-التجارية"}]},{"group":"send","pages":[{"title":"إرسال رسالة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /send/message","href":"/ar/api-reference/send/إرسال-رسالة"},{"title":"إرسال صورة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /send/image","href":"/ar/api-reference/send/إرسال-صورة"},{"title":"إرسال الصوت","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /send/audio","href":"/ar/api-reference/send/إرسال-الصوت"},{"title":"إرسال ملف","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /send/file","href":"/ar/api-reference/send/إرسال-ملف"},{"title":"إرسال ملصق","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /send/sticker","href":"/ar/api-reference/send/إرسال-ملصق"},{"title":"إرسال فيديو","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /send/video","href":"/ar/api-reference/send/إرسال-فيديو"},{"title":"إرسال جهة الاتصال","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /send/contact","href":"/ar/api-reference/send/إرسال-جهة-الاتصال"},{"title":"إرسال الرابط","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /send/link","href":"/ar/api-reference/send/إرسال-الرابط"},{"title":"إرسال الموقع","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /send/location","href":"/ar/api-reference/send/إرسال-الموقع"},{"title":"إرسال استبيان / تصويت","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /send/poll","href":"/ar/api-reference/send/إرسال-استبيان-تصويت"},{"title":"إرسال حالة الحضور","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /send/presence","href":"/ar/api-reference/send/إرسال-حالة-الحضور"},{"title":"إرسال حضور الدردشة (مؤشر الكتابة)","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /send/chat-presence","href":"/ar/api-reference/send/إرسال-حضور-الدردشة-مؤشر-الكتابة"},{"title":"قائمة المرسلات المجدولة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /send/schedules","href":"/ar/api-reference/send/قائمة-المرسلات-المجدولة"},{"title":"الحصول على إرسال مجدول","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /send/schedules/{schedule_id}","href":"/ar/api-reference/send/الحصول-على-إرسال-مجدول"},{"title":"إيقاف إرسال مجدول","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /send/schedules/{schedule_id}/pause","href":"/ar/api-reference/send/إيقاف-إرسال-مجدول"},{"title":"استئناف الإرسال المجدول مؤقتاً","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /send/schedules/{schedule_id}/resume","href":"/ar/api-reference/send/استئناف-الإرسال-المجدول-مؤقتاً"},{"title":"إلغاء إرسال مجدول","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /send/schedules/{schedule_id}/cancel","href":"/ar/api-reference/send/إلغاء-إرسال-مجدول"},{"title":"إرسال رسالة تفاعلية تجريبية","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /send/interactive","href":"/ar/api-reference/send/إرسال-رسالة-تفاعلية-تجريبية"}]},{"group":"message","pages":[{"title":"إلغاء الرسالة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /message/{message_id}/revoke","href":"/ar/api-reference/message/إلغاء-الرسالة"},{"title":"حذف الرسالة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /message/{message_id}/delete","href":"/ar/api-reference/message/حذف-الرسالة"},{"title":"إرسال رد فعل إلى الرسالة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /message/{message_id}/reaction","href":"/ar/api-reference/message/إرسال-رد-فعل-إلى-الرسالة"},{"title":"تعديل الرسالة بواسطة معرف الرسالة قبل 15 دقيقة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /message/{message_id}/update","href":"/ar/api-reference/message/تعديل-الرسالة-بواسطة-معرف-الرسالة-قبل-15-دقيقة"},{"title":"وضع علامة كرسالة مقروءة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /message/{message_id}/read","href":"/ar/api-reference/message/وضع-علامة-كرسالة-مقروءة"},{"title":"وضع علامة على رسالة صوتية كما تم تشغيلها","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /message/{message_id}/played","href":"/ar/api-reference/message/وضع-علامة-على-رسالة-صوتية-كما-تم-تشغيلها"},{"title":"رسالة النجوم","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /message/{message_id}/star","href":"/ar/api-reference/message/رسالة-النجوم"},{"title":"رسالة إلغاء النجمة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /message/{message_id}/unstar","href":"/ar/api-reference/message/رسالة-إلغاء-النجمة"},{"title":"إعادة توجيه الرسالة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /message/{message_id}/forward","href":"/ar/api-reference/message/إعادة-توجيه-الرسالة"},{"title":"تحميل الوسائط من الرسالة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /message/{message_id}/download","href":"/ar/api-reference/message/تحميل-الوسائط-من-الرسالة"}]},{"group":"call","pages":[{"title":"رفض مكالمة واردة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /call/reject","href":"/ar/api-reference/call/رفض-مكالمة-واردة"}]},{"group":"chat","pages":[{"title":"احصل على قائمة المحادثات","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /chats","href":"/ar/api-reference/chat/احصل-على-قائمة-المحادثات"},{"title":"الحصول على رسائل من محادثة محددة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /chat/{chat_jid}/messages","href":"/ar/api-reference/chat/الحصول-على-رسائل-من-محادثة-محددة"},{"title":"طلب سجل محادثة أقدم من الهاتف","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /chat/{chat_jid}/history","href":"/ar/api-reference/chat/طلب-سجل-محادثة-أقدم-من-الهاتف"},{"title":"تثبيت أو إلغاء تثبيت الدردشة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /chat/{chat_jid}/pin","href":"/ar/api-reference/chat/تثبيت-أو-إلغاء-تثبيت-الدردشة"},{"title":"تعيين مؤقت الرسائل المختفية","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /chat/{chat_jid}/disappearing","href":"/ar/api-reference/chat/تعيين-مؤقت-الرسائل-المختفية"},{"title":"أرشفة أو إلغاء أرشفة محادثة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /chat/{chat_jid}/archive","href":"/ar/api-reference/chat/أرشفة-أو-إلغاء-أرشفة-محادثة"}]},{"group":"group","pages":[{"title":"معلومات المجموعة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /group/info","href":"/ar/api-reference/group/معلومات-المجموعة"},{"title":"إنشاء مجموعة وإضافة مشارك","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /group","href":"/ar/api-reference/group/إنشاء-مجموعة-وإضافة-مشارك"},{"title":"احصل على قائمة المشاركين في مجموعة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /group/participants","href":"/ar/api-reference/group/احصل-على-قائمة-المشاركين-في-مجموعة"},{"title":"إضافة المزيد من المشاركين إلى المجموعة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /group/participants","href":"/ar/api-reference/group/إضافة-المزيد-من-المشاركين-إلى-المجموعة"},{"title":"تصدير المشاركين في المجموعة كـ CSV","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /group/participants/export","href":"/ar/api-reference/group/تصدير-المشاركين-في-المجموعة-كـ-csv"},{"title":"إزالة المشاركين من المجموعة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /group/participants/remove","href":"/ar/api-reference/group/إزالة-المشاركين-من-المجموعة"},{"title":"ترقية المشاركين إلى المشرف","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /group/participants/promote","href":"/ar/api-reference/group/ترقية-المشاركين-إلى-المشرف"},{"title":"قم بسحب المشاركين للعضوية","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /group/participants/demote","href":"/ar/api-reference/group/قم-بسحب-المشاركين-للعضوية"},{"title":"الانضمام إلى المجموعة مع رابط","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /group/join-with-link","href":"/ar/api-reference/group/الانضمام-إلى-المجموعة-مع-رابط"},{"title":"الحصول على معلومات المجموعة من رابط الدعوة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /group/info-from-link","href":"/ar/api-reference/group/الحصول-على-معلومات-المجموعة-من-رابط-الدعوة"},{"title":"احصل على قائمة طلبات المشاركين للانضمام إلى المجموعة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /group/participant-requests","href":"/ar/api-reference/group/احصل-على-قائمة-طلبات-المشاركين-للانضمام-إلى-المجموعة"},{"title":"الموافقة على طلب المشاركين للانضمام إلى المجموعة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /group/participant-requests/approve","href":"/ar/api-reference/group/الموافقة-على-طلب-المشاركين-للانضمام-إلى-المجموعة"},{"title":"رفض طلب المشارك للانضمام إلى المجموعة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /group/participant-requests/reject","href":"/ar/api-reference/group/رفض-طلب-المشارك-للانضمام-إلى-المجموعة"},{"title":"مغادرة المجموعة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /group/leave","href":"/ar/api-reference/group/مغادرة-المجموعة"},{"title":"تعيين صورة المجموعة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /group/photo","href":"/ar/api-reference/group/تعيين-صورة-المجموعة"},{"title":"تعيين اسم المجموعة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /group/name","href":"/ar/api-reference/group/تعيين-اسم-المجموعة"},{"title":"تعيين حالة تأمين المجموعة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /group/locked","href":"/ar/api-reference/group/تعيين-حالة-تأمين-المجموعة"},{"title":"تعيين وضع إعلان المجموعة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /group/announce","href":"/ar/api-reference/group/تعيين-وضع-إعلان-المجموعة"},{"title":"تعيين موضوع المجموعة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /group/topic","href":"/ar/api-reference/group/تعيين-موضوع-المجموعة"},{"title":"رابط دعوة المجموعة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /group/invite-link","href":"/ar/api-reference/group/رابط-دعوة-المجموعة"}]},{"group":"newsletter","pages":[{"title":"متابعة النشرة الإخبارية","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /newsletter/follow","href":"/ar/api-reference/newsletter/متابعة-النشرة-الإخبارية"},{"title":"إلغاء متابعة النشرة الإخبارية","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /newsletter/unfollow","href":"/ar/api-reference/newsletter/إلغاء-متابعة-النشرة-الإخبارية"},{"title":"الحصول على بيانات التعريف للنشرة الإخبارية (قناة)","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /newsletter/info","href":"/ar/api-reference/newsletter/الحصول-على-بيانات-التعريف-للنشرة-الإخبارية-قناة"},{"title":"تصفح أو بحث دليل القناة العامة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /newsletter/directory","href":"/ar/api-reference/newsletter/تصفح-أو-بحث-دليل-القناة-العامة"},{"title":"الحصول على أحدث الرسائل النشرة الإخبارية (القناة)","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /newsletter/messages","href":"/ar/api-reference/newsletter/الحصول-على-أحدث-الرسائل-النشرة-الإخبارية-القناة"},{"title":"الحصول على عدادات الرسائل الإخبارية","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /newsletter/message-updates","href":"/ar/api-reference/newsletter/الحصول-على-عدادات-الرسائل-الإخبارية"},{"title":"قائمة التحديثات المباشرة للاشتراكات في الجهاز","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /newsletter/live-updates","href":"/ar/api-reference/newsletter/قائمة-التحديثات-المباشرة-للاشتراكات-في-الجهاز"},{"title":"الاشتراك في التحديثات المباشرة للنشرة الإخبارية","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /newsletter/live-updates","href":"/ar/api-reference/newsletter/الاشتراك-في-التحديثات-المباشرة-للنشرة-الإخبارية"},{"title":"إيقاف تجديد التحديثات المباشرة للنشرة الإخبارية","deprecated":null,"version":null,"openapi":"/ar/openapi.yml delete /newsletter/live-updates","href":"/ar/api-reference/newsletter/إيقاف-تجديد-التحديثات-المباشرة-للنشرة-الإخبارية"},{"title":"تحميل الوسائط من رسالة النشرة الإخبارية","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /newsletter/messages/{server_id}/download","href":"/ar/api-reference/newsletter/تحميل-الوسائط-من-رسالة-النشرة-الإخبارية"}]},{"group":"chatwoot","pages":[{"title":"مزامنة سجل الرسائل إلى Chatwoot","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /chatwoot/sync","href":"/ar/api-reference/chatwoot/مزامنة-سجل-الرسائل-إلى-chatwoot"},{"title":"احصل على تقدم مزامنة الدردشة","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /chatwoot/sync/status","href":"/ar/api-reference/chatwoot/احصل-على-تقدم-مزامنة-الدردشة"},{"title":"نقطة نهاية Chatwoot","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /chatwoot/webhook","href":"/ar/api-reference/chatwoot/نقطة-نهاية-chatwoot"},{"title":"نقطة نهاية Chatwoot للجهاز","deprecated":null,"version":null,"openapi":"/ar/openapi.yml post /chatwoot/webhook/{device_id}","href":"/ar/api-reference/chatwoot/نقطة-نهاية-chatwoot-للجهاز"},{"title":"قائمة تكوينات Chatwoot لكل جهاز","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /chatwoot/configs","href":"/ar/api-reference/chatwoot/قائمة-تكوينات-chatwoot-لكل-جهاز"},{"title":"احصل على تكوين دردشة الجهاز","deprecated":null,"version":null,"openapi":"/ar/openapi.yml get /devices/{device_id}/chatwoot/config","href":"/ar/api-reference/chatwoot/احصل-على-تكوين-دردشة-الجهاز"},{"title":"إنشاء أو تحديث إعدادات Chatwoot للجهاز","deprecated":null,"version":null,"openapi":"/ar/openapi.yml put /devices/{device_id}/chatwoot/config","href":"/ar/api-reference/chatwoot/إنشاء-أو-تحديث-إعدادات-chatwoot-للجهاز"},{"title":"حذف تهيئة دردشة الجهاز","deprecated":null,"version":null,"openapi":"/ar/openapi.yml delete /devices/{device_id}/chatwoot/config","href":"/ar/api-reference/chatwoot/حذف-تهيئة-دردشة-الجهاز"}]}]},{"group":"نظرة عامة","pages":[{"title":"مرجع API","sidebarTitle":"مقدمة","description":"عنوان URL الأساسي والمصادقة واختيار الجهاز وتنسيقات الطلبات والبنية الموحّدة للاستجابات في واجهة GOWA REST API.","href":"/ar/api-reference/introduction"},{"title":"مصادقة API","sidebarTitle":"المصادقة","href":"/ar/api-reference/authentication"},{"title":"حدود المعدل","description":"ولا توجد حدود لمعدل الطلب في إطار المبادرة التي وضعتها GOWA؛ ولا تزال الحدود المطبقة في هذه المبادرة.","href":"/ar/api-reference/rate-limits"},{"title":"أخطاء","href":"/ar/api-reference/errors"},{"title":"مقاييس الخادم","href":"/ar/api-reference/metrics"},{"title":"أحداث WebSocket","sidebarTitle":"WebSocket","href":"/ar/api-reference/websocket"}]},{"group":"أمثلة العملاء","pages":[{"title":"الذهاب","href":"/ar/api-reference/sdks/go"},{"title":"جافا سكريبت","href":"/ar/api-reference/sdks/javascript"},{"title":"Python","href":"/ar/api-reference/sdks/python"},{"title":"بوستمان","href":"/ar/api-reference/sdks/postman"}]}]}]},{"language":"jp","navbar":{"links":[{"href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/issues","label":"サポート"}],"primary":{"type":"button","label":"GOWA を試す","href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/releases/latest"}},"pages":[{"title":"jp","href":"/ja/api-reference/authentication"}]},{"language":"es","navbar":{"links":[{"href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/issues","label":"Soporte"}],"primary":{"type":"button","label":"Probar GOWA","href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/releases/latest"}},"pages":[{"title":"es","href":"/es/api-reference/authentication"}]}]},"basePath":"","title":"مصادقة API - WhatsApp API MultiDevice","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":[],"chunks":[]}