{ "status": "success", "sessionId": "c7a2434e72e91bde27579efde0fd6dd0b74ceee29a471fd368407f273708c2e8", // Identifier for this link. Use it with Get and Revoke a Link Session. "url": "https://profile.ayrshare.com?session=ayr_ls_kJ8mQ2vX9pLnR4tYwZ6aBcD1eFgH3iJkLmN0oPqRsTu&domain=YOUR_DOMAIN", // Send this to your user exactly as returned. The token exists only in here. "expiresAt": "2026-09-02T08:03:26.838Z", // When the link stops working, as an ISO 8601 timestamp. "emailSent": false, // Whether the connect-accounts email was sent. false with no emailError means no email was requested. "title": "Acme Client" // The User Profile's title. Omitted when the profile has none.}
{ "status": "success", "sessionId": "c7a2434e72e91bde27579efde0fd6dd0b74ceee29a471fd368407f273708c2e8", "url": "https://profile.ayrshare.com?session=ayr_ls_kJ8mQ2vX9pLnR4tYwZ6aBcD1eFgH3iJkLmN0oPqRsTu&domain=YOUR_DOMAIN", // Still valid. Send it to your user yourself. "expiresAt": "2026-09-02T08:03:26.838Z", "emailSent": false, "emailError": { // Only present when an email was requested and could not be sent. "code": 333, "message": "Email failed to send. Please confirm a valid email was provided." }, "title": "Acme Client"}
{ "status": "success", "sessionId": "c7a2434e72e91bde27579efde0fd6dd0b74ceee29a471fd368407f273708c2e8", "url": "https://profile.ayrshare.com/connect?session=ayr_ls_kJ8mQ2vX9pLnR4tYwZ6aBcD1eFgH3iJkLmN0oPqRsTu", // Open this in a popup. One network, no domain parameter. "expiresAt": "2026-09-02T08:03:26.838Z", "emailSent": false, "title": "Acme Client"}
{ "status": "success", "sessionId": "c7a2434e72e91bde27579efde0fd6dd0b74ceee29a471fd368407f273708c2e8", "token": "ayr_ls_kJ8mQ2vX9pLnR4tYwZ6aBcD1eFgH3iJkLmN0oPqRsTu", // No url: this shape returns the bare token instead. Treat it like a password. "expiresAt": "2026-09-02T08:03:26.838Z", "emailSent": false, // Always false here - email needs a link to send, so it returns code: 510. "title": "Acme Client"}
{ "action": "link session", "status": "error", "code": 504, "message": "Connect mode requires the Max Pack. Activate it on your Account page: https://app.ayrshare.com/account"}
{ "action": "JWT", "status": "error", "code": 188, "message": "Missing or incorrect privateKey, profileKey, domain, email 'to', or expiresIn fields."}
{ "action": "JWT", "status": "error", "code": 189, "message": "Error generating JWT. Check the sent parameters.", "details": "Missing or incorrect domain."}
{ "action": "authorization", "status": "error", "code": 340, "message": "Max Pack is required. Please go to your Account page in the Ayrshare Dashboard to activate the Max Pack.", "details": "email and expiresIn parameters are only available on the Max Pack."}
Profiles
إنشاء Link Session
أنشئ عنوان URL لربط الشبكات الاجتماعية لملف مستخدم، دون إرسال مفتاح خاص.
{ "status": "success", "sessionId": "c7a2434e72e91bde27579efde0fd6dd0b74ceee29a471fd368407f273708c2e8", // Identifier for this link. Use it with Get and Revoke a Link Session. "url": "https://profile.ayrshare.com?session=ayr_ls_kJ8mQ2vX9pLnR4tYwZ6aBcD1eFgH3iJkLmN0oPqRsTu&domain=YOUR_DOMAIN", // Send this to your user exactly as returned. The token exists only in here. "expiresAt": "2026-09-02T08:03:26.838Z", // When the link stops working, as an ISO 8601 timestamp. "emailSent": false, // Whether the connect-accounts email was sent. false with no emailError means no email was requested. "title": "Acme Client" // The User Profile's title. Omitted when the profile has none.}
{ "status": "success", "sessionId": "c7a2434e72e91bde27579efde0fd6dd0b74ceee29a471fd368407f273708c2e8", "url": "https://profile.ayrshare.com?session=ayr_ls_kJ8mQ2vX9pLnR4tYwZ6aBcD1eFgH3iJkLmN0oPqRsTu&domain=YOUR_DOMAIN", // Still valid. Send it to your user yourself. "expiresAt": "2026-09-02T08:03:26.838Z", "emailSent": false, "emailError": { // Only present when an email was requested and could not be sent. "code": 333, "message": "Email failed to send. Please confirm a valid email was provided." }, "title": "Acme Client"}
{ "status": "success", "sessionId": "c7a2434e72e91bde27579efde0fd6dd0b74ceee29a471fd368407f273708c2e8", "url": "https://profile.ayrshare.com/connect?session=ayr_ls_kJ8mQ2vX9pLnR4tYwZ6aBcD1eFgH3iJkLmN0oPqRsTu", // Open this in a popup. One network, no domain parameter. "expiresAt": "2026-09-02T08:03:26.838Z", "emailSent": false, "title": "Acme Client"}
{ "status": "success", "sessionId": "c7a2434e72e91bde27579efde0fd6dd0b74ceee29a471fd368407f273708c2e8", "token": "ayr_ls_kJ8mQ2vX9pLnR4tYwZ6aBcD1eFgH3iJkLmN0oPqRsTu", // No url: this shape returns the bare token instead. Treat it like a password. "expiresAt": "2026-09-02T08:03:26.838Z", "emailSent": false, // Always false here - email needs a link to send, so it returns code: 510. "title": "Acme Client"}
{ "action": "link session", "status": "error", "code": 504, "message": "Connect mode requires the Max Pack. Activate it on your Account page: https://app.ayrshare.com/account"}
{ "action": "JWT", "status": "error", "code": 188, "message": "Missing or incorrect privateKey, profileKey, domain, email 'to', or expiresIn fields."}
{ "action": "JWT", "status": "error", "code": 189, "message": "Error generating JWT. Check the sent parameters.", "details": "Missing or incorrect domain."}
{ "action": "authorization", "status": "error", "code": 340, "message": "Max Pack is required. Please go to your Account page in the Ayrshare Dashboard to activate the Max Pack.", "details": "email and expiresIn parameters are only available on the Max Pack."}
أنشئ عنوان URL لربط الشبكات الاجتماعية لـ User Profile (ملف مستخدم). أرسل url المُعاد إلى
مستخدمك، فيفتحه لربط حساباته الاجتماعية.هذه هي الطريقة الموصى بها لإنشاء رابط ربط. فهي لا تحتاج إلا إلى مفتاح API الخاص بك
وProfile-Key — لا يوجد مفتاح خاص يُرسل ولا شيء يُوقَّع. وعلى خلاف رابط الربط المُنشأ
سابقًا، تُخزَّن Link Session، لذا يمكنك التحقق مما إذا كانت قد استُخدمت وإبطالها قبل انتهاء
صلاحيتها.يُسجّل url المُعاد دخول مستخدمك إلى ملفه، لذا تعامل معه كما تتعامل مع كلمة المرور وأرسل
كل واحد إلى مستخدم واحد فقط. راجع
إرسال رابط الربط.
عنوان URL صالح لمدة 5 دقائق افتراضيًا. استخدم expiresIn لتحديد نافذة زمنية مختلفة،
حتى 2880 دقيقة (48 ساعة).
تنفّذ إنشاء رابط ربط (generateJWT) العملية نفسها وتستمر في
العمل دون تغيير. فهي تقبل المعاملات القديمة privateKey وbase64 وverify وتتجاهلها.
أما domain فلا يُتجاهل في أيٍّ من نقطتي النهاية — يبقى اختياريًا ولا يزال يُتحقق منه.
ينبغي للتكاملات الجديدة استخدام نقطة النهاية هذه.ثمة فرق واحد في الاستجابة: يُعيد generateJWT حقل token في المستوى الأعلى للتوافق مع
الإصدارات السابقة، بينما لا تُعيده نقطة النهاية هذه إلى جانبurl — فالتوكن في url
يعيش داخله. إذا كنت تنتقل إلى نقطة النهاية هذه وكانت تعليماتك البرمجية تقرأ token، فاقرأ
url بدلًا منه. (وضع Connect الخاص بالأداة المضمّنة هو الشكل الوحيد الذي
يعيد token مجردًا، لأنه لا يعيد عنوان URL يعيش التوكن فيه.)
Profile-Key ترويسة في نقطة النهاية هذه — لا يوجد معامل جسم profileKey. إذا كانت
مفقودة تحصل على code: 188، الذي تسرد رسالته privateKey وprofileKey وأسماء حقول
قديمة أخرى لأنه مشترك مع
إنشاء رابط ربط (generateJWT). اقرأه على أنه “ترويسة
Profile-Key مفقودة أو خاطئة”؛ فلا شيء من الأسماء الأخرى الواردة فيه هو معامل لنقطة
النهاية هذه.
grid — صفحة الربط المستضافة، تعرض كل شبكة تسمح بها. هذا هو الافتراضي، فالطلب الذي
يُغفل mode ينشئ واحدة منها.
connect — شبكة واحدة في كل مرة، تُفتح من لوحة التحكم الخاصة بك. راجع
وضع Connect أدناه والوضع المباشر.
لا يُستنتج أبدًا: تمرير origin أو network لا يضعك في وضع connect، فلا يمكن لجلسة grid
أن تتحول إلى جلسة مقيّدة عن غير قصد. أي قيمة أخرى تعيد code: 188 مع details يُسمّي
القيمتين.
لوضع connect فقط. الشبكة الاجتماعية الواحدة التي تربطها هذه الجلسة، وهي ما يجعلها جلسة
وضع مباشر. أغفلها لجلسة تشغّلها لوحة التحكم الخاصة بك عبر عدة شبكات.واحدة من bluesky أو facebook أو gmb أو instagram أو instagramApi أو linkedin
أو pinterest أو reddit أو snapchat أو telegram أو threads أو tiktok أو
twitter أو whatsapp أو x أو youtube. أي شيء آخر يعيد code: 508 — بما في ذلك
fbg، الذي ليس هدف ربط هنا.لا يمكن جمعه مع allowedSocial (يعيد code: 507): فجلسة الشبكة الواحدة هي قائمة السماح
الخاصة بها بالفعل. الشبكة التي لم يفعّلها حسابك تعيد code: 509، وهو جواب مختلف عن 508
لأنه قابل للإصلاح في صفحة
Social Networks لديك.في وضع grid يُتجاهل.
الأصل الفعلي للصفحة التي فتحت نافذة الربط، حتى يمكن إخبارها عند اكتمال الربط.عند ضبطه، ترسل صفحة الربط أحداثًا إلى ذلك الأصل عبر window.postMessage مع ربط مستخدمك
كل حساب، فتستطيع صفحتك التفاعل دون استطلاع. لا تُرسل الأحداث أبدًا إلا إلى هذه القيمة
بالضبط، لذا يجب أن تطابق أصل صفحتك حرفًا بحرف، بما في ذلك المخطط (scheme) وأي منفذ.تُقبل ثلاثة أشكال: أصل https (https://app.example.com)، وhttp://localhost:3000
للتطوير المحلي، ومخطط مخصص أصلي (myapp://connected). أي شيء آخر — أصل http:// عادي
غير localhost، أو شيء ليس أصلًا إطلاقًا — يُتجاهل على الروابط التي تنشئها نقطة النهاية
هذه: يظل الرابط يعمل، لكنه ببساطة لا يرسل أي أحداث. وهو اختياري، فإغفاله ليس خطأً أيضًا.من الأشكال الثلاثة، لا يتلقى الأحداث إلا الأولان. المخطط المخصص هدف عودة لتطبيق محمول
ولا يمكنه تلقّيها، لأنه لا توجد نافذة متصفح تُرسل إليها؛ تستطلع التطبيقات الأصلية
الحصول على Link Session بدلًا من ذلك.راجع أحداث اكتمال الربط.في وضع connect يكون origin مطلوبًا، ويجري التحقق منه. التساهل أعلاه هو سلوك وضع
grid. مع mode: "connect"، يعيد إغفاله code: 505، وتعيد القيمة التي ليست أحد الأشكال
الثلاثة المقبولة code: 506، الذي يكرّر details فيه الشكل الذي أرسلته.
أرسل بريد Connect Accounts يحمل الرابط، ليتمكن مستخدمك من الوصول مباشرةً إلى صفحة
الربط الخاصة به. يتطلب عنوان to.يتطلب Max Pack. تُبلّغ الاستجابة عن النتيجة في emailSent. إذا تعذّر إرسال البريد الإلكتروني، فستحصل على الرابط مع ذلك: تتضمن الاستجابة emailSent: false وكائن emailError، حتى تتمكن من إرسال الرابط إلى المستخدم بطريقة أخرى.انظر بريد Connect Accounts.
يُنشئ mode: "connect" جلسة لسطح ربط تستضيفه أنت بنفسك، لا لصفحة الربط المستضافة. أما أي
شكلي connect تحصل عليه فيعتمد على أمر واحد — هل مرّرت network أم لا:
تحمل الاستجابة السر مرة واحدة بالضبط. للاستجابة إما url أو token، وليس الاثنين
أبدًا ولا عنوانا URL اثنان أبدًا. يعيش التوكن في جلسة الوضع المباشر داخل url، تمامًا كما
في وضع grid؛ أما الجلسة التي لا تملك عنوان URL يحمله فتعيد token مجردًا بدلًا من ذلك. كل
ما عدا ذلك هو نفسه في الأوضاع الثلاثة: sessionId وexpiresAt وemailSent، وtitle
عندما يكون لـ User Profile واحد.
لا شيء من هذين حقل جسم مستقل — فالأول استحقاق على مستوى الحساب والثاني هو معامل
origin أعلاه، الذي يجعله وضع connect إلزاميًا.Max Pack. من دونه يعيد الاستدعاء code: 504، ويُفحص قبل معاملات
وضع connect، لذا فإن تصحيح origin أو network لن يغيّر الجواب. تواصل مع الدعم إذا كنت
بحاجة إلى تفعيل وضع connect على حساب من دون Max Pack.origin، على كل جلسة. لا توجد قائمة سماح ولا خطوة تسجيل — ترسله مع كل استدعاء ويُخزَّن
على الجلسة، فلا تحتاج بيئة جديدة إلى أي إعداد من جانبنا. تُقبل ثلاثة أشكال:
أصل https — https://app.example.com
مخطط مخصص أصلي — myapp://connected
http://localhost أو http://localhost:3000، للتطوير المحلي
الأصل فقط: بلا مسار ولا استعلام ولا جزء (fragment)، وبلا بيانات اعتماد فيه. إغفاله يعيد
code: 505، وأي شيء ليس أحد الأشكال الثلاثة يعيد code: 506.
لا يمكن استخدام email مع جلسة لا تملك network، لأنه لا يوجد رابط يوضع في البريد
الإلكتروني — فهذا الشكل يعيد توكنًا لواجهتك الأمامية. يعيد الاستدعاء code: 510. أضف
network لجلسة وضع مباشر، التي تملك عنوان URL بالفعل، أو أغفل email.
{ "status": "success", "sessionId": "c7a2434e72e91bde27579efde0fd6dd0b74ceee29a471fd368407f273708c2e8", // Identifier for this link. Use it with Get and Revoke a Link Session. "url": "https://profile.ayrshare.com?session=ayr_ls_kJ8mQ2vX9pLnR4tYwZ6aBcD1eFgH3iJkLmN0oPqRsTu&domain=YOUR_DOMAIN", // Send this to your user exactly as returned. The token exists only in here. "expiresAt": "2026-09-02T08:03:26.838Z", // When the link stops working, as an ISO 8601 timestamp. "emailSent": false, // Whether the connect-accounts email was sent. false with no emailError means no email was requested. "title": "Acme Client" // The User Profile's title. Omitted when the profile has none.}
{ "status": "success", "sessionId": "c7a2434e72e91bde27579efde0fd6dd0b74ceee29a471fd368407f273708c2e8", "url": "https://profile.ayrshare.com?session=ayr_ls_kJ8mQ2vX9pLnR4tYwZ6aBcD1eFgH3iJkLmN0oPqRsTu&domain=YOUR_DOMAIN", // Still valid. Send it to your user yourself. "expiresAt": "2026-09-02T08:03:26.838Z", "emailSent": false, "emailError": { // Only present when an email was requested and could not be sent. "code": 333, "message": "Email failed to send. Please confirm a valid email was provided." }, "title": "Acme Client"}
{ "status": "success", "sessionId": "c7a2434e72e91bde27579efde0fd6dd0b74ceee29a471fd368407f273708c2e8", "url": "https://profile.ayrshare.com/connect?session=ayr_ls_kJ8mQ2vX9pLnR4tYwZ6aBcD1eFgH3iJkLmN0oPqRsTu", // Open this in a popup. One network, no domain parameter. "expiresAt": "2026-09-02T08:03:26.838Z", "emailSent": false, "title": "Acme Client"}
{ "status": "success", "sessionId": "c7a2434e72e91bde27579efde0fd6dd0b74ceee29a471fd368407f273708c2e8", "token": "ayr_ls_kJ8mQ2vX9pLnR4tYwZ6aBcD1eFgH3iJkLmN0oPqRsTu", // No url: this shape returns the bare token instead. Treat it like a password. "expiresAt": "2026-09-02T08:03:26.838Z", "emailSent": false, // Always false here - email needs a link to send, so it returns code: 510. "title": "Acme Client"}
{ "action": "link session", "status": "error", "code": 504, "message": "Connect mode requires the Max Pack. Activate it on your Account page: https://app.ayrshare.com/account"}
{ "action": "JWT", "status": "error", "code": 188, "message": "Missing or incorrect privateKey, profileKey, domain, email 'to', or expiresIn fields."}
{ "action": "JWT", "status": "error", "code": 189, "message": "Error generating JWT. Check the sent parameters.", "details": "Missing or incorrect domain."}
{ "action": "authorization", "status": "error", "code": 340, "message": "Max Pack is required. Please go to your Account page in the Ayrshare Dashboard to activate the Max Pack.", "details": "email and expiresIn parameters are only available on the Max Pack."}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ayrshare Docs","colors":{"primary":"#2266C2","light":"#4985D8","dark":"#1A4E9A"},"logo":{"light":"https://mintcdn.com/ayrshare-docs/7bWzjvNjeuvs-M3N/images/logos/ayrshare-docs-logo-light.svg?fit=max\u0026auto=format\u0026n=7bWzjvNjeuvs-M3N\u0026q=85\u0026s=8d23367f493d06599eecbbfa2b6325cf","dark":"https://mintcdn.com/ayrshare-docs/7bWzjvNjeuvs-M3N/images/logos/ayrshare-docs-logo-dark.svg?fit=max\u0026auto=format\u0026n=7bWzjvNjeuvs-M3N\u0026q=85\u0026s=77590acef2781d2fec9a1b14b6e09b73","href":"https://www.ayrshare.com/docs"},"favicon":"https://mintcdn.com/ayrshare-docs/dKBti0xVDJrOZ19f/images/logos/icon-docs.png?fit=max\u0026auto=format\u0026n=dKBti0xVDJrOZ19f\u0026q=85\u0026s=9704762afaad78a9cfdd90a20cb1d253","api":{"playground":{"display":"simple"},"examples":{"languages":["bash","javascript","python","php","go","java"]},"mdx":{"auth":{"method":"bearer"},"server":"https://api.ayrshare.com/api"}},"appearance":{"default":"dark"},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"https://www.ayrshare.com/blog","label":"Blog"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.ayrshare.com"}},"footer":{"socials":{"github":"https://github.com/ayrshare","x":"https://x.com/ayrshare","bluesky":"https://bsky.app/profile/ayrshare.com","facebook":"https://www.facebook.com/Ayrshare","linkedin":"https://www.linkedin.com/company/ayrshare","youtube":"https://www.youtube.com/@ayrshare"}},"seo":{"indexing":"navigable"},"styling":{"codeblocks":"system","latex":true},"integrations":{"gtm":{"tagId":"GTM-P23WG8W"},"plausible":{"domain":"docs.ayrshare.com"}},"contextual":{"options":["copy","chatgpt","claude","perplexity","cursor","vscode"],"display":"header"},"navigation":{"languages":[{"language":"en","href":"introduction"},{"language":"es","href":"es/introduction"},{"language":"cn","hidden":true,"href":"cn/introduction"},{"language":"zh","hidden":true,"href":"zh/introduction"},{"language":"pt-BR","href":"pt-BR/introduction"},{"language":"fr","href":"fr/introduction"},{"language":"de","href":"de/introduction"},{"language":"vi","href":"vi/introduction"},{"language":"ja","href":"ja/introduction"},{"language":"uk","href":"uk/introduction"},{"language":"hi","href":"hi/introduction"},{"language":"ar","href":"ar/introduction"},{"language":"zh-Hans","href":"zh-Hans/introduction"},{"language":"zh-Hant","href":"zh-Hant/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ayrshare-docs","hasAudioNarration":false,"actualSubdomain":"ayrshare-docs","customDomains":["www.ayrshare.com"],"gitSource":{"type":"github","owner":"ayrshare","repo":"ayrshare_3","deployBranch":"docs-prod","contentDirectory":"apps/mintlify","isPrivate":true,"mountPath":"","label":"","_id":"6aec8a4b6de9d64b11a45855"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aecb2c1d226238b4601f6f0","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"en","tag":"Documentation","count":248},{"language":"ar","tag":"Documentation","count":248},{"language":"de","tag":"Documentation","count":248},{"language":"es","tag":"Documentation","count":248},{"language":"fr","tag":"Documentation","count":248},{"language":"hi","tag":"Documentation","count":248},{"language":"ja","tag":"Documentation","count":248},{"language":"pt-BR","tag":"Documentation","count":248},{"language":"uk","tag":"Documentation","count":248},{"language":"vi","tag":"Documentation","count":248},{"language":"zh-Hans","tag":"Documentation","count":248},{"language":"zh-Hant","tag":"Documentation","count":248},{"language":"en","tag":"API Endpoints","count":170},{"language":"ar","tag":"API Endpoints","count":170},{"language":"de","tag":"API Endpoints","count":170},{"language":"es","tag":"API Endpoints","count":170},{"language":"fr","tag":"API Endpoints","count":170},{"language":"hi","tag":"API Endpoints","count":170},{"language":"ja","tag":"API Endpoints","count":170},{"language":"pt-BR","tag":"API Endpoints","count":170},{"language":"uk","tag":"API Endpoints","count":170},{"language":"vi","tag":"API Endpoints","count":170},{"language":"zh-Hans","tag":"API Endpoints","count":170},{"language":"zh-Hant","tag":"API Endpoints","count":170},{"language":"en","tag":"Help Center","count":126},{"language":"ar","tag":"Help Center","count":126},{"language":"de","tag":"Help Center","count":126},{"language":"es","tag":"Help Center","count":126},{"language":"fr","tag":"Help Center","count":126},{"language":"hi","tag":"Help Center","count":126},{"language":"ja","tag":"Help Center","count":126},{"language":"pt-BR","tag":"Help Center","count":126},{"language":"uk","tag":"Help Center","count":126},{"language":"vi","tag":"Help Center","count":126},{"language":"zh-Hans","tag":"Help Center","count":126},{"language":"zh-Hant","tag":"Help Center","count":126},{"language":"en","tag":"Additional","count":40},{"language":"en","tag":"Technical Support","count":40},{"language":"ar","tag":"Additional","count":40},{"language":"ar","tag":"Technical Support","count":40},{"language":"de","tag":"Additional","count":40},{"language":"de","tag":"Technical Support","count":40},{"language":"es","tag":"Additional","count":40},{"language":"es","tag":"Technical Support","count":40},{"language":"fr","tag":"Additional","count":40},{"language":"fr","tag":"Technical Support","count":40},{"language":"hi","tag":"Additional","count":40},{"language":"hi","tag":"Technical Support","count":40},{"language":"ja","tag":"Additional","count":40},{"language":"ja","tag":"Technical Support","count":40},{"language":"pt-BR","tag":"Additional","count":40},{"language":"pt-BR","tag":"Technical Support","count":40},{"language":"uk","tag":"Additional","count":40},{"language":"uk","tag":"Technical Support","count":40},{"language":"vi","tag":"Additional","count":40},{"language":"vi","tag":"Technical Support","count":40},{"language":"zh-Hans","tag":"Additional","count":40},{"language":"zh-Hans","tag":"Technical Support","count":40},{"language":"zh-Hant","tag":"Additional","count":40},{"language":"zh-Hant","tag":"Technical Support","count":40},{"language":"en","tag":"Ads","count":30},{"language":"ar","tag":"Ads","count":30},{"language":"de","tag":"Ads","count":30},{"language":"es","tag":"Ads","count":30},{"language":"fr","tag":"Ads","count":30},{"language":"hi","tag":"Ads","count":30},{"language":"ja","tag":"Ads","count":30},{"language":"pt-BR","tag":"Ads","count":30},{"language":"uk","tag":"Ads","count":30},{"language":"vi","tag":"Ads","count":30},{"language":"zh-Hans","tag":"Ads","count":30},{"language":"zh-Hant","tag":"Ads","count":30},{"language":"en","tag":"Post","count":22},{"language":"ar","tag":"Post","count":22},{"language":"de","tag":"Post","count":22},{"language":"es","tag":"Post","count":22},{"language":"fr","tag":"Post","count":22},{"language":"hi","tag":"Post","count":22},{"language":"ja","tag":"Post","count":22},{"language":"pt-BR","tag":"Post","count":22},{"language":"uk","tag":"Post","count":22},{"language":"vi","tag":"Post","count":22},{"language":"zh-Hans","tag":"Post","count":22},{"language":"zh-Hant","tag":"Post","count":22},{"language":"en","tag":"Dashboard","count":21},{"language":"ar","tag":"Dashboard","count":21},{"language":"de","tag":"Dashboard","count":21},{"language":"es","tag":"Dashboard","count":21},{"language":"fr","tag":"Dashboard","count":21},{"language":"hi","tag":"Dashboard","count":21},{"language":"ja","tag":"Dashboard","count":21},{"language":"pt-BR","tag":"Dashboard","count":21},{"language":"uk","tag":"Dashboard","count":21},{"language":"vi","tag":"Dashboard","count":21},{"language":"zh-Hans","tag":"Dashboard","count":21},{"language":"zh-Hant","tag":"Dashboard","count":21},{"language":"en","tag":"Product","count":16},{"language":"ar","tag":"Product","count":16},{"language":"de","tag":"Product","count":16},{"language":"es","tag":"Product","count":16},{"language":"fr","tag":"Product","count":16},{"language":"hi","tag":"Product","count":16},{"language":"ja","tag":"Product","count":16},{"language":"pt-BR","tag":"Product","count":16},{"language":"uk","tag":"Product","count":16},{"language":"vi","tag":"Product","count":16},{"language":"zh-Hans","tag":"Product","count":16},{"language":"zh-Hant","tag":"Product","count":16},{"language":"en","tag":"Connect Social Accounts","count":15},{"language":"ar","tag":"Connect Social Accounts","count":15},{"language":"de","tag":"Connect Social Accounts","count":15},{"language":"es","tag":"Connect Social Accounts","count":15},{"language":"fr","tag":"Connect Social Accounts","count":15},{"language":"hi","tag":"Connect Social Accounts","count":15},{"language":"ja","tag":"Connect Social Accounts","count":15},{"language":"pt-BR","tag":"Connect Social Accounts","count":15},{"language":"uk","tag":"Connect Social Accounts","count":15},{"language":"vi","tag":"Connect Social Accounts","count":15},{"language":"zh-Hans","tag":"Connect Social Accounts","count":15},{"language":"zh-Hant","tag":"Connect Social Accounts","count":15}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","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":"llms-txt-v2","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":"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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".center{display:block;margin-left:auto;margin-right:auto;max-width:100%;height:auto}.welcome-banner{margin-left:auto;margin-right:auto;max-width:100%;height:auto;border-radius:12px}.custom-bullets{padding-left:0}.custom-bullets li{position:relative;padding-left:1.5em;margin-bottom:0.75em;list-style-type:none;line-height:1.4}.custom-bullets li::before{content:\"\\2022\";color:#2266c2;position:absolute;left:0.5em;top:0}.custom-bullets li:last-child{margin-bottom:0}.custom-bullets li>*{margin-top:0;margin-bottom:0}ul ul{margin-left:20px}.custom-bullets li::after,.custom-bullets li::before{border:none!important;background:none!important}.button{background-color:#2266c2;color:#fff;padding:16px 24px;border-radius:8px;border:none;transition-duration:0.2s;margin-top:100px}.button:hover{background-color:#133e76;color:white}.button2{background-color:#fff;color:#2266c2;padding:16px 24px;border-radius:8px;border:1px solid #2266c2;transition-duration:0.2s}.button2:hover{background-color:#133e76;color:white}.video-container{width:100%;max-width:560px;margin:0 auto}.video-container iframe{width:100%;height:auto;aspect-ratio:16 / 9}.plan-tag-light{font-family:\"JetBrains Mono\", monospace;display:inline-block;padding:2px 6px;border-radius:4px;font-size:12px;color:#ffffff;background-color:#16171b;margin-right:10px}.plan-tag-dark{font-family:\"JetBrains Mono\", monospace;display:inline-block;padding:2px 6px;border-radius:4px;font-size:12px;color:#3f4144;background-color:#b7b9bb;margin-right:10px}@media (min-width: 768px){.video-container{display:flex;justify-content:center;align-items:center}}code{font-size:0.96em;line-height:1.7em}"}],"page":{"pagePath":"ar/apis/profiles/create-link-session","slug":"/ar/apis/profiles/create-link-session","pageMetadata":{"title":"إنشاء Link Session","description":"أنشئ عنوان URL لربط الشبكات الاجتماعية لملف مستخدم، دون إرسال مفتاح خاص.","api":"POST /profiles/link-sessions","href":"/ar/apis/profiles/create-link-session"},"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: \"أنشئ عنوان URL لربط الشبكات الاجتماعية لملف مستخدم، دون إرسال مفتاح خاص.\"\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];const PlansAvailable=({plans=[],maxPackRequired})=>{const{Note}=_provideComponents()||{};if(!Note)_missingMdxReference(`Note`,true);let displayPlans=plans;if(plans\u0026\u0026plans.length===1){const lowerCasePlan=plans[0].toLowerCase();if(lowerCasePlan===`business`){displayPlans=[`Launch`,`Business`,`Enterprise`]}else if(lowerCasePlan===`premium`){displayPlans=[`Premium`,`Launch`,`Business`,`Enterprise`]}}return _jsxs(Note,{children:[`Available on `,displayPlans.length===1?`the `:``,displayPlans.join(`, `).replace(/\\b\\w/g,l=>l.toUpperCase()),` `,displayPlans.length>1?`plans`:`plan`,`.`,maxPackRequired\u0026\u0026_jsx(`span`,{onClick:()=>window.open(`https://www.ayrshare.com/docs/additional/maxpack`,`_self`),className:`mint-flex mint-items-center mint-mt-2 mint-cursor-pointer`,children:_jsx(`span`,{className:`mint-px-1.5 mint-py-0.5 mint-rounded mint-text-sm`,style:{backgroundColor:`#C264B6`,color:`white`,fontSize:`12px`},children:`Max Pack required`})})]})};const HeaderAPI=({noProfileKey,profileKeyRequired})=>{const _components={a:`a`,..._provideComponents()},{ParamField}=_components;if(!ParamField)_missingMdxReference(`ParamField`,true);return _jsxs(_Fragment,{children:[_jsxs(ParamField,{header:`Authorization`,type:`string`,required:true,children:[_jsx(_components.a,{href:`/apis/overview#authorization`,children:`API Key`}),` of the Primary Profile.`,_jsx(`br`,{}),_jsx(`br`,{}),`Format: `,_jsx(`code`,{children:`Authorization: Bearer API_KEY`})]}),!noProfileKey\u0026\u0026(profileKeyRequired?_jsxs(ParamField,{header:`Profile-Key`,type:`string`,required:true,children:[_jsx(_components.a,{href:`/apis/overview#profile-key-format`,children:`Profile Key`}),` of a User Profile.`,_jsx(`br`,{}),_jsx(`br`,{}),`Format: `,_jsx(`code`,{children:`Profile-Key: PROFILE_KEY`})]}):_jsxs(ParamField,{header:`Profile-Key`,type:`string`,children:[_jsx(_components.a,{href:`/apis/overview#profile-key-format`,children:`Profile Key`}),` of a User Profile.`,_jsx(`br`,{}),_jsx(`br`,{}),`Format: `,_jsx(`code`,{children:`Profile-Key: PROFILE_KEY`})]}))]})};function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,Note,ParamField,Table,Warning,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_MdxComponentBoundary,{name:`PlansAvailable`,children:_jsx(PlansAvailable,{plans:[`business`],maxPackRequired:false})}),`\n`,_jsxs(_components.p,{children:[`أنشئ عنوان URL لربط الشبكات الاجتماعية لـ User Profile (ملف مستخدم). أرسل `,_jsx(_components.code,{children:`url`}),` المُعاد إلى\nمستخدمك، فيفتحه لربط حساباته الاجتماعية.`]}),`\n`,_jsxs(_components.p,{children:[`هذه هي الطريقة الموصى بها لإنشاء رابط ربط. فهي لا تحتاج إلا إلى مفتاح API الخاص بك\nو`,_jsx(_components.code,{children:`Profile-Key`}),` — لا يوجد مفتاح خاص يُرسل ولا شيء يُوقَّع. وعلى خلاف رابط الربط المُنشأ\nسابقًا، تُخزَّن Link Session، لذا يمكنك التحقق مما إذا كانت قد استُخدمت وإبطالها قبل انتهاء\nصلاحيتها.`]}),`\n`,_jsxs(_components.p,{children:[`يُسجّل `,_jsx(_components.code,{children:`url`}),` المُعاد دخول مستخدمك إلى ملفه، لذا تعامل معه كما تتعامل مع كلمة المرور وأرسل\nكل واحد إلى مستخدم واحد فقط. راجع\n`,_jsx(_components.a,{href:`/apis/profiles/social-linking-overview#sending-the-linking-url`,children:`إرسال رابط الربط`}),`.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`عنوان URL صالح لمدة `,_jsx(_components.strong,{children:`5 دقائق`}),` افتراضيًا. استخدم `,_jsx(_components.code,{children:`expiresIn`}),` لتحديد نافذة زمنية مختلفة،\nحتى 2880 دقيقة (48 ساعة).`]})}),`\n`,_jsxs(Info,{children:[_jsxs(_components.p,{children:[`تنفّذ `,_jsx(_components.a,{href:`/apis/profiles/generate-jwt`,children:`إنشاء رابط ربط (generateJWT)`}),` العملية نفسها وتستمر في\nالعمل دون تغيير. فهي تقبل المعاملات القديمة `,_jsx(_components.code,{children:`privateKey`}),` و`,_jsx(_components.code,{children:`base64`}),` و`,_jsx(_components.code,{children:`verify`}),` وتتجاهلها.\nأما `,_jsx(_components.code,{children:`domain`}),` فلا يُتجاهل في أيٍّ من نقطتي النهاية — يبقى اختياريًا ولا يزال يُتحقق منه.\nينبغي للتكاملات الجديدة استخدام نقطة النهاية هذه.`]}),_jsxs(_components.p,{children:[`ثمة فرق واحد في الاستجابة: يُعيد `,_jsx(_components.code,{children:`generateJWT`}),` حقل `,_jsx(_components.code,{children:`token`}),` في المستوى الأعلى للتوافق مع\nالإصدارات السابقة، بينما لا تُعيده نقطة النهاية هذه `,_jsx(_components.strong,{children:`إلى جانب`}),` `,_jsx(_components.code,{children:`url`}),` — فالتوكن في `,_jsx(_components.code,{children:`url`}),`\nيعيش داخله. إذا كنت تنتقل إلى نقطة النهاية هذه وكانت تعليماتك البرمجية تقرأ `,_jsx(_components.code,{children:`token`}),`، فاقرأ\n`,_jsx(_components.code,{children:`url`}),` بدلًا منه. (`,_jsx(_components.a,{href:`#connect-mode`,children:`وضع Connect`}),` الخاص بالأداة المضمّنة هو الشكل الوحيد الذي\nيعيد `,_jsx(_components.code,{children:`token`}),` مجردًا، لأنه لا يعيد عنوان URL يعيش التوكن فيه.)`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`معاملات-الترويسة`,children:`معاملات الترويسة`}),`\n`,_jsx(_MdxComponentBoundary,{name:`HeaderAPI`,children:_jsx(HeaderAPI,{profileKeyRequired:true})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Profile-Key`}),` ترويسة في نقطة النهاية هذه — لا يوجد معامل جسم `,_jsx(_components.code,{children:`profileKey`}),`. إذا كانت\nمفقودة تحصل على `,_jsx(_components.code,{children:`code: 188`}),`، الذي تسرد رسالته `,_jsx(_components.code,{children:`privateKey`}),` و`,_jsx(_components.code,{children:`profileKey`}),` وأسماء حقول\nقديمة أخرى لأنه مشترك مع\n`,_jsx(_components.a,{href:`/apis/profiles/generate-jwt`,children:`إنشاء رابط ربط (generateJWT)`}),`. اقرأه على أنه “ترويسة\nProfile-Key مفقودة أو خاطئة”؛ فلا شيء من الأسماء الأخرى الواردة فيه هو معامل لنقطة\nالنهاية هذه.`]})}),`\n`,_jsx(ParamField,{header:`X-Twitter-OAuth1-Api-Key`,type:`string`,id:`param-x-twitter-o-auth1-api-key`,children:_jsx(_components.p,{children:`مفتاح X API الخاص بك (Consumer Key) من X Developer Portal. عند تزويده، سيستخدم رابط\nالربط تطبيق X Developer الخاص بك في ربط OAuth.`})}),`\n`,_jsx(ParamField,{header:`X-Twitter-OAuth1-Api-Secret`,type:`string`,id:`param-x-twitter-o-auth1-api-secret`,children:_jsxs(_components.p,{children:[`X API Secret الخاص بك (Consumer Secret) من X Developer Portal. مطلوب عند تزويد\n`,_jsx(_components.code,{children:`X-Twitter-OAuth1-Api-Key`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`body-parameters`,children:`معاملات الجسم`}),`\n`,_jsxs(ParamField,{body:`mode`,type:`string`,default:`grid`,id:`param-mode`,children:[_jsx(_components.p,{children:`سطح الربط الذي تشغّله هذه الجلسة.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`grid`}),` — صفحة الربط المستضافة، تعرض كل شبكة تسمح بها. هذا هو الافتراضي، فالطلب الذي\nيُغفل `,_jsx(_components.code,{children:`mode`}),` ينشئ واحدة منها.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`connect`}),` — شبكة واحدة في كل مرة، تُفتح من لوحة التحكم الخاصة بك. راجع\n`,_jsx(_components.a,{href:`#connect-mode`,children:`وضع Connect`}),` أدناه و`,_jsx(_components.a,{href:`/multiple-users/connect-direct-mode`,children:`الوضع المباشر`}),`.`]}),`\n`]}),_jsxs(_components.p,{children:[`لا يُستنتج أبدًا: تمرير `,_jsx(_components.code,{children:`origin`}),` أو `,_jsx(_components.code,{children:`network`}),` لا يضعك في وضع connect، فلا يمكن لجلسة grid\nأن تتحول إلى جلسة مقيّدة عن غير قصد. أي قيمة أخرى تعيد `,_jsx(_components.code,{children:`code: 188`}),` مع `,_jsx(_components.code,{children:`details`}),` يُسمّي\nالقيمتين.`]})]}),`\n`,_jsxs(ParamField,{body:`expiresIn`,type:`number`,default:5,id:`param-expires-in`,children:[_jsx(_components.p,{children:`مدة صلاحية الرابط بالدقائق. النطاق: من 1 إلى 2880 دقيقة.`}),_jsx(_components.p,{children:`يتطلب Max Pack.`}),_jsxs(_components.p,{children:[`انظر `,_jsx(_components.a,{href:`/apis/profiles/social-linking-overview#jwt-expires-in`,children:`انتهاء صلاحية الرابط`}),` لمزيد من المعلومات.`]})]}),`\n`,_jsxs(ParamField,{body:`logout`,type:`boolean`,default:false,id:`param-logout`,children:[_jsx(_components.p,{children:`تسجيل الخروج التلقائي من الجلسة الحالية. لا يُنصح به في بيئة الإنتاج لأنه يؤثر على\nالأداء.`}),_jsxs(_components.p,{children:[`انظر `,_jsx(_components.a,{href:`/multiple-users/api-integration-business#automatic-logout-of-a-profile-session`,children:`تسجيل الخروج التلقائي من جلسة الملف الشخصي`}),`.`]})]}),`\n`,_jsx(ParamField,{body:`redirect`,type:`string`,id:`param-redirect`,children:_jsxs(_components.p,{children:[`عنوان URL لإعادة التوجيه إليه عند النقر على زر “Done” (تم) أو صورة الشعار. أضف معامل\nالاستعلام `,_jsx(_components.code,{children:`origin=true`}),` لإعادة توجيه نافذة الأصل الفاتحة.`]})}),`\n`,_jsxs(ParamField,{body:`allowedSocial`,type:`array`,id:`param-allowed-social`,children:[_jsxs(_components.p,{children:[`الشبكات الاجتماعية المراد عرضها في صفحة الربط. يتجاوز الشبكات المُهيَّأة في صفحة\n`,_jsx(_components.a,{href:`/multiple-users/manage-user-profiles#set-social-networks-access`,children:`Social Networks`}),`.`]}),_jsx(CodeBlock,{filename:`Only display Facebook, X/Twitter, LinkedIn, and TikTok`,numberOfLines:`3`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"allowedSocial\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"facebook\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"twitter\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"linkedin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tiktok\"`}),_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`]})})})]}),`\n`,_jsxs(ParamField,{body:`network`,type:`string`,id:`param-network`,children:[_jsxs(_components.p,{children:[`لوضع connect فقط. الشبكة الاجتماعية الواحدة التي تربطها هذه الجلسة، وهي ما يجعلها جلسة\n`,_jsx(_components.strong,{children:`وضع مباشر`}),`. أغفلها لجلسة تشغّلها لوحة التحكم الخاصة بك عبر عدة شبكات.`]}),_jsxs(_components.p,{children:[`واحدة من `,_jsx(_components.code,{children:`bluesky`}),` أو `,_jsx(_components.code,{children:`facebook`}),` أو `,_jsx(_components.code,{children:`gmb`}),` أو `,_jsx(_components.code,{children:`instagram`}),` أو `,_jsx(_components.code,{children:`instagramApi`}),` أو `,_jsx(_components.code,{children:`linkedin`}),`\nأو `,_jsx(_components.code,{children:`pinterest`}),` أو `,_jsx(_components.code,{children:`reddit`}),` أو `,_jsx(_components.code,{children:`snapchat`}),` أو `,_jsx(_components.code,{children:`telegram`}),` أو `,_jsx(_components.code,{children:`threads`}),` أو `,_jsx(_components.code,{children:`tiktok`}),` أو\n`,_jsx(_components.code,{children:`twitter`}),` أو `,_jsx(_components.code,{children:`whatsapp`}),` أو `,_jsx(_components.code,{children:`x`}),` أو `,_jsx(_components.code,{children:`youtube`}),`. أي شيء آخر يعيد `,_jsx(_components.code,{children:`code: 508`}),` — بما في ذلك\n`,_jsx(_components.code,{children:`fbg`}),`، الذي ليس هدف ربط هنا.`]}),_jsxs(_components.p,{children:[`لا يمكن جمعه مع `,_jsx(_components.code,{children:`allowedSocial`}),` (يعيد `,_jsx(_components.code,{children:`code: 507`}),`): فجلسة الشبكة الواحدة هي قائمة السماح\nالخاصة بها بالفعل. الشبكة التي لم يفعّلها حسابك تعيد `,_jsx(_components.code,{children:`code: 509`}),`، وهو جواب مختلف عن 508\nلأنه قابل للإصلاح في صفحة\n`,_jsx(_components.a,{href:`/multiple-users/manage-user-profiles#set-social-networks-access`,children:`Social Networks`}),` لديك.`]}),_jsx(_components.p,{children:`في وضع grid يُتجاهل.`})]}),`\n`,_jsxs(ParamField,{body:`instagramLinkMethod`,type:`string`,id:`param-instagram-link-method`,children:[_jsx(_components.p,{children:`تجاوز تدفق ربط Instagram المستخدم لهذا الرابط. القيم الصالحة:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`instagram`}),`: تسجيل دخول Instagram المباشر، دون الحاجة إلى Facebook Page.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`facebook`}),`: ربط Instagram عبر Facebook Page متصلة.`]}),`\n`]}),_jsxs(_components.p,{children:[`إذا حُذف، تستخدم صفحة الربط إعداد\n`,_jsx(_components.a,{href:`/multiple-users/manage-user-profiles#instagram-login`,children:`Instagram Login`}),` على مستوى حسابك.`]})]}),`\n`,_jsxs(ParamField,{body:`origin`,type:`string`,id:`param-origin`,children:[_jsx(_components.p,{children:`الأصل الفعلي للصفحة التي فتحت نافذة الربط، حتى يمكن إخبارها عند اكتمال الربط.`}),_jsxs(_components.p,{children:[`عند ضبطه، ترسل صفحة الربط أحداثًا إلى ذلك الأصل عبر `,_jsx(_components.code,{children:`window.postMessage`}),` مع ربط مستخدمك\nكل حساب، فتستطيع صفحتك التفاعل دون استطلاع. لا تُرسل الأحداث أبدًا إلا إلى هذه القيمة\nبالضبط، لذا يجب أن تطابق أصل صفحتك حرفًا بحرف، بما في ذلك المخطط (scheme) وأي منفذ.`]}),_jsxs(_components.p,{children:[`تُقبل ثلاثة أشكال: أصل `,_jsx(_components.code,{children:`https`}),` (`,_jsx(_components.code,{children:`https://app.example.com`}),`)، و`,_jsx(_components.code,{children:`http://localhost:3000`}),`\nللتطوير المحلي، ومخطط مخصص أصلي (`,_jsx(_components.code,{children:`myapp://connected`}),`). أي شيء آخر — أصل `,_jsx(_components.code,{children:`http://`}),` عادي\nغير localhost، أو شيء ليس أصلًا إطلاقًا — يُتجاهل على الروابط التي تنشئها نقطة النهاية\nهذه: يظل الرابط يعمل، لكنه ببساطة لا يرسل أي أحداث. وهو اختياري، فإغفاله ليس خطأً أيضًا.`]}),_jsxs(_components.p,{children:[`من الأشكال الثلاثة، لا يتلقى الأحداث إلا الأولان. المخطط المخصص هدف عودة لتطبيق محمول\nو`,_jsx(_components.strong,{children:`لا يمكنه تلقّيها`}),`، لأنه لا توجد نافذة متصفح تُرسل إليها؛ تستطلع التطبيقات الأصلية\n`,_jsx(_components.a,{href:`/apis/profiles/get-link-session`,children:`الحصول على Link Session`}),` بدلًا من ذلك.`]}),_jsxs(_components.p,{children:[`راجع `,_jsx(_components.a,{href:`/multiple-users/link-completion-events`,children:`أحداث اكتمال الربط`}),`.`]}),_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`في وضع connect يكون `,_jsx(_components.code,{children:`origin`}),` مطلوبًا، ويجري التحقق منه.`]}),` التساهل أعلاه هو سلوك وضع\ngrid. مع `,_jsx(_components.code,{children:`mode: \"connect\"`}),`، يعيد إغفاله `,_jsx(_components.code,{children:`code: 505`}),`، وتعيد القيمة التي ليست أحد الأشكال\nالثلاثة المقبولة `,_jsx(_components.code,{children:`code: 506`}),`، الذي يكرّر `,_jsx(_components.code,{children:`details`}),` فيه الشكل الذي أرسلته.`]})]}),`\n`,_jsx(ParamField,{body:`domain`,type:`string`,id:`param-domain`,children:_jsx(_components.p,{children:`اختياري. نطاق الربط الخاص بك، عندما يكون لحسابك أكثر من نطاق واحد. إذا أُغفل، يُستخدم\nنطاق حسابك نفسه. ويُرفض أي نطاق غير مسجّل على حسابك.`})}),`\n`,_jsxs(ParamField,{body:`email`,type:`object`,id:`param-email`,children:[_jsxs(_components.p,{children:[`أرسل بريد Connect Accounts يحمل الرابط، ليتمكن مستخدمك من الوصول مباشرةً إلى صفحة\nالربط الخاصة به. يتطلب عنوان `,_jsx(_components.code,{children:`to`}),`.`]}),_jsxs(_components.p,{children:[`يتطلب Max Pack. تُبلّغ الاستجابة عن النتيجة في `,_jsx(_components.code,{children:`emailSent`}),`. إذا تعذّر إرسال البريد الإلكتروني، فستحصل على الرابط مع ذلك: تتضمن الاستجابة `,_jsx(_components.code,{children:`emailSent: false`}),` وكائن `,_jsx(_components.code,{children:`emailError`}),`، حتى تتمكن من إرسال الرابط إلى المستخدم بطريقة أخرى.`]}),_jsxs(_components.p,{children:[`انظر `,_jsx(_components.a,{href:`/apis/profiles/social-linking-overview#connect-accounts-email`,children:`بريد Connect Accounts`}),`.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`connect-mode`,children:`وضع Connect`}),`\n`,_jsxs(_components.p,{children:[`يُنشئ `,_jsx(_components.code,{children:`mode: \"connect\"`}),` جلسة لسطح ربط تستضيفه أنت بنفسك، لا لصفحة الربط المستضافة. أما أي\nشكلي connect تحصل عليه فيعتمد على أمر واحد — هل مرّرت `,_jsx(_components.code,{children:`network`}),` أم لا:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`ما ترسله`}),_jsx(_components.th,{children:`ما يُعاد إليك`}),_jsx(_components.th,{children:`ما تفعله به`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`mode: \"connect\"`}),` مع `,_jsx(_components.code,{children:`network`})]}),_jsxs(_components.td,{children:[``,_jsx(_components.code,{children:`url`}),` يشير إلى صفحة ربط لشبكة واحدة`]}),_jsxs(_components.td,{children:[`افتحه في نافذة منبثقة — هذا هو `,_jsx(_components.a,{href:`/multiple-users/connect-direct-mode`,children:`الوضع المباشر`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`mode: \"connect\"`}),` بدون `,_jsx(_components.code,{children:`network`})]}),_jsxs(_components.td,{children:[``,_jsx(_components.code,{children:`token`}),`، وبلا عنوان URL إطلاقًا`]}),_jsx(_components.td,{children:`سلّمه إلى واجهتك الأمامية`})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`تحمل الاستجابة السر مرة واحدة بالضبط.`}),` للاستجابة إما `,_jsx(_components.code,{children:`url`}),` أو `,_jsx(_components.code,{children:`token`}),`، وليس الاثنين\nأبدًا ولا عنوانا URL اثنان أبدًا. يعيش التوكن في جلسة الوضع المباشر داخل `,_jsx(_components.code,{children:`url`}),`، تمامًا كما\nفي وضع grid؛ أما الجلسة التي لا تملك عنوان URL يحمله فتعيد `,_jsx(_components.code,{children:`token`}),` مجردًا بدلًا من ذلك. كل\nما عدا ذلك هو نفسه في الأوضاع الثلاثة: `,_jsx(_components.code,{children:`sessionId`}),` و`,_jsx(_components.code,{children:`expiresAt`}),` و`,_jsx(_components.code,{children:`emailSent`}),`، و`,_jsx(_components.code,{children:`title`}),`\nعندما يكون لـ User Profile واحد.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`ما-يتطلبه-وضع-connect`,children:`ما يتطلبه وضع Connect`}),`\n`,_jsxs(_components.p,{children:[`لا شيء من هذين حقل جسم مستقل — فالأول استحقاق على مستوى الحساب والثاني هو معامل\n`,_jsx(_components.a,{href:`#body-parameters`,children:_jsx(_components.code,{children:`origin`})}),` أعلاه، الذي يجعله وضع connect إلزاميًا.`]}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.a,{href:`/additional/maxpack`,children:`Max Pack`}),`.`]}),` من دونه يعيد الاستدعاء `,_jsx(_components.code,{children:`code: 504`}),`، ويُفحص قبل معاملات\nوضع connect، لذا فإن تصحيح `,_jsx(_components.code,{children:`origin`}),` أو `,_jsx(_components.code,{children:`network`}),` لن يغيّر الجواب. تواصل مع الدعم إذا كنت\nبحاجة إلى تفعيل وضع connect على حساب من دون Max Pack.`]}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`origin`}),`، على كل جلسة.`]}),` لا توجد قائمة سماح ولا خطوة تسجيل — ترسله مع كل استدعاء ويُخزَّن\nعلى الجلسة، فلا تحتاج بيئة جديدة إلى أي إعداد من جانبنا. تُقبل ثلاثة أشكال:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`أصل `,_jsx(_components.code,{children:`https`}),` — `,_jsx(_components.code,{children:`https://app.example.com`})]}),`\n`,_jsxs(_components.li,{children:[`مخطط مخصص أصلي — `,_jsx(_components.code,{children:`myapp://connected`})]}),`\n`,_jsxs(_components.li,{children:[``,_jsx(_components.code,{children:`http://localhost`}),` أو `,_jsx(_components.code,{children:`http://localhost:3000`}),`، للتطوير المحلي`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`الأصل فقط: بلا مسار ولا استعلام ولا جزء (fragment)، وبلا بيانات اعتماد فيه. إغفاله يعيد\n`,_jsx(_components.code,{children:`code: 505`}),`، وأي شيء ليس أحد الأشكال الثلاثة يعيد `,_jsx(_components.code,{children:`code: 506`}),`.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`لا يمكن استخدام `,_jsx(_components.code,{children:`email`}),` مع جلسة لا تملك `,_jsx(_components.code,{children:`network`}),`، لأنه لا يوجد رابط يوضع في البريد\nالإلكتروني — فهذا الشكل يعيد توكنًا لواجهتك الأمامية. يعيد الاستدعاء `,_jsx(_components.code,{children:`code: 510`}),`. أضف\n`,_jsx(_components.code,{children:`network`}),` لجلسة وضع مباشر، التي تملك عنوان URL بالفعل، أو أغفل `,_jsx(_components.code,{children:`email`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`كل رمز مُسمّى أعلاه موجود في مرجع\n`,_jsx(_components.a,{href:`/errors/errors-ayrshare#link-session-errors`,children:`أخطاء Link Session`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{PlansAvailable,HeaderAPI,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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"إنشاء Link Session","description":"أنشئ عنوان URL لربط الشبكات الاجتماعية لملف مستخدم، دون إرسال مفتاح خاص.","api":"POST /profiles/link-sessions","href":"/ar/apis/profiles/create-link-session"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const PlansAvailable=()=>null;const HeaderAPI=()=>null;function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,Note,ParamField,RequestExample,ResponseExample,Table,Warning,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_MdxComponentBoundary,{name:`PlansAvailable`,children:_jsx(PlansAvailable,{plans:[`business`],maxPackRequired:false})}),`\n`,_jsxs(_components.p,{children:[`أنشئ عنوان URL لربط الشبكات الاجتماعية لـ User Profile (ملف مستخدم). أرسل `,_jsx(_components.code,{children:`url`}),` المُعاد إلى\nمستخدمك، فيفتحه لربط حساباته الاجتماعية.`]}),`\n`,_jsxs(_components.p,{children:[`هذه هي الطريقة الموصى بها لإنشاء رابط ربط. فهي لا تحتاج إلا إلى مفتاح API الخاص بك\nو`,_jsx(_components.code,{children:`Profile-Key`}),` — لا يوجد مفتاح خاص يُرسل ولا شيء يُوقَّع. وعلى خلاف رابط الربط المُنشأ\nسابقًا، تُخزَّن Link Session، لذا يمكنك التحقق مما إذا كانت قد استُخدمت وإبطالها قبل انتهاء\nصلاحيتها.`]}),`\n`,_jsxs(_components.p,{children:[`يُسجّل `,_jsx(_components.code,{children:`url`}),` المُعاد دخول مستخدمك إلى ملفه، لذا تعامل معه كما تتعامل مع كلمة المرور وأرسل\nكل واحد إلى مستخدم واحد فقط. راجع\n`,_jsx(_components.a,{href:`/apis/profiles/social-linking-overview#sending-the-linking-url`,children:`إرسال رابط الربط`}),`.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`عنوان URL صالح لمدة `,_jsx(_components.strong,{children:`5 دقائق`}),` افتراضيًا. استخدم `,_jsx(_components.code,{children:`expiresIn`}),` لتحديد نافذة زمنية مختلفة،\nحتى 2880 دقيقة (48 ساعة).`]})}),`\n`,_jsxs(Info,{children:[_jsxs(_components.p,{children:[`تنفّذ `,_jsx(_components.a,{href:`/apis/profiles/generate-jwt`,children:`إنشاء رابط ربط (generateJWT)`}),` العملية نفسها وتستمر في\nالعمل دون تغيير. فهي تقبل المعاملات القديمة `,_jsx(_components.code,{children:`privateKey`}),` و`,_jsx(_components.code,{children:`base64`}),` و`,_jsx(_components.code,{children:`verify`}),` وتتجاهلها.\nأما `,_jsx(_components.code,{children:`domain`}),` فلا يُتجاهل في أيٍّ من نقطتي النهاية — يبقى اختياريًا ولا يزال يُتحقق منه.\nينبغي للتكاملات الجديدة استخدام نقطة النهاية هذه.`]}),_jsxs(_components.p,{children:[`ثمة فرق واحد في الاستجابة: يُعيد `,_jsx(_components.code,{children:`generateJWT`}),` حقل `,_jsx(_components.code,{children:`token`}),` في المستوى الأعلى للتوافق مع\nالإصدارات السابقة، بينما لا تُعيده نقطة النهاية هذه `,_jsx(_components.strong,{children:`إلى جانب`}),` `,_jsx(_components.code,{children:`url`}),` — فالتوكن في `,_jsx(_components.code,{children:`url`}),`\nيعيش داخله. إذا كنت تنتقل إلى نقطة النهاية هذه وكانت تعليماتك البرمجية تقرأ `,_jsx(_components.code,{children:`token`}),`، فاقرأ\n`,_jsx(_components.code,{children:`url`}),` بدلًا منه. (`,_jsx(_components.a,{href:`#connect-mode`,children:`وضع Connect`}),` الخاص بالأداة المضمّنة هو الشكل الوحيد الذي\nيعيد `,_jsx(_components.code,{children:`token`}),` مجردًا، لأنه لا يعيد عنوان URL يعيش التوكن فيه.)`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`معاملات-الترويسة`,children:`معاملات الترويسة`}),`\n`,_jsx(_MdxComponentBoundary,{name:`HeaderAPI`,children:_jsx(HeaderAPI,{profileKeyRequired:true})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Profile-Key`}),` ترويسة في نقطة النهاية هذه — لا يوجد معامل جسم `,_jsx(_components.code,{children:`profileKey`}),`. إذا كانت\nمفقودة تحصل على `,_jsx(_components.code,{children:`code: 188`}),`، الذي تسرد رسالته `,_jsx(_components.code,{children:`privateKey`}),` و`,_jsx(_components.code,{children:`profileKey`}),` وأسماء حقول\nقديمة أخرى لأنه مشترك مع\n`,_jsx(_components.a,{href:`/apis/profiles/generate-jwt`,children:`إنشاء رابط ربط (generateJWT)`}),`. اقرأه على أنه “ترويسة\nProfile-Key مفقودة أو خاطئة”؛ فلا شيء من الأسماء الأخرى الواردة فيه هو معامل لنقطة\nالنهاية هذه.`]})}),`\n`,_jsx(ParamField,{header:`X-Twitter-OAuth1-Api-Key`,type:`string`,id:`param-x-twitter-o-auth1-api-key`,children:_jsx(_components.p,{children:`مفتاح X API الخاص بك (Consumer Key) من X Developer Portal. عند تزويده، سيستخدم رابط\nالربط تطبيق X Developer الخاص بك في ربط OAuth.`})}),`\n`,_jsx(ParamField,{header:`X-Twitter-OAuth1-Api-Secret`,type:`string`,id:`param-x-twitter-o-auth1-api-secret`,children:_jsxs(_components.p,{children:[`X API Secret الخاص بك (Consumer Secret) من X Developer Portal. مطلوب عند تزويد\n`,_jsx(_components.code,{children:`X-Twitter-OAuth1-Api-Key`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`body-parameters`,children:`معاملات الجسم`}),`\n`,_jsxs(ParamField,{body:`mode`,type:`string`,default:`grid`,id:`param-mode`,children:[_jsx(_components.p,{children:`سطح الربط الذي تشغّله هذه الجلسة.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`grid`}),` — صفحة الربط المستضافة، تعرض كل شبكة تسمح بها. هذا هو الافتراضي، فالطلب الذي\nيُغفل `,_jsx(_components.code,{children:`mode`}),` ينشئ واحدة منها.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`connect`}),` — شبكة واحدة في كل مرة، تُفتح من لوحة التحكم الخاصة بك. راجع\n`,_jsx(_components.a,{href:`#connect-mode`,children:`وضع Connect`}),` أدناه و`,_jsx(_components.a,{href:`/multiple-users/connect-direct-mode`,children:`الوضع المباشر`}),`.`]}),`\n`]}),_jsxs(_components.p,{children:[`لا يُستنتج أبدًا: تمرير `,_jsx(_components.code,{children:`origin`}),` أو `,_jsx(_components.code,{children:`network`}),` لا يضعك في وضع connect، فلا يمكن لجلسة grid\nأن تتحول إلى جلسة مقيّدة عن غير قصد. أي قيمة أخرى تعيد `,_jsx(_components.code,{children:`code: 188`}),` مع `,_jsx(_components.code,{children:`details`}),` يُسمّي\nالقيمتين.`]})]}),`\n`,_jsxs(ParamField,{body:`expiresIn`,type:`number`,default:5,id:`param-expires-in`,children:[_jsx(_components.p,{children:`مدة صلاحية الرابط بالدقائق. النطاق: من 1 إلى 2880 دقيقة.`}),_jsx(_components.p,{children:`يتطلب Max Pack.`}),_jsxs(_components.p,{children:[`انظر `,_jsx(_components.a,{href:`/apis/profiles/social-linking-overview#jwt-expires-in`,children:`انتهاء صلاحية الرابط`}),` لمزيد من المعلومات.`]})]}),`\n`,_jsxs(ParamField,{body:`logout`,type:`boolean`,default:false,id:`param-logout`,children:[_jsx(_components.p,{children:`تسجيل الخروج التلقائي من الجلسة الحالية. لا يُنصح به في بيئة الإنتاج لأنه يؤثر على\nالأداء.`}),_jsxs(_components.p,{children:[`انظر `,_jsx(_components.a,{href:`/multiple-users/api-integration-business#automatic-logout-of-a-profile-session`,children:`تسجيل الخروج التلقائي من جلسة الملف الشخصي`}),`.`]})]}),`\n`,_jsx(ParamField,{body:`redirect`,type:`string`,id:`param-redirect`,children:_jsxs(_components.p,{children:[`عنوان URL لإعادة التوجيه إليه عند النقر على زر “Done” (تم) أو صورة الشعار. أضف معامل\nالاستعلام `,_jsx(_components.code,{children:`origin=true`}),` لإعادة توجيه نافذة الأصل الفاتحة.`]})}),`\n`,_jsxs(ParamField,{body:`allowedSocial`,type:`array`,id:`param-allowed-social`,children:[_jsxs(_components.p,{children:[`الشبكات الاجتماعية المراد عرضها في صفحة الربط. يتجاوز الشبكات المُهيَّأة في صفحة\n`,_jsx(_components.a,{href:`/multiple-users/manage-user-profiles#set-social-networks-access`,children:`Social Networks`}),`.`]}),_jsx(CodeBlock,{filename:`Only display Facebook, X/Twitter, LinkedIn, and TikTok`,numberOfLines:`3`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"allowedSocial\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"facebook\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"twitter\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"linkedin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tiktok\"`}),_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`]})})})]}),`\n`,_jsxs(ParamField,{body:`network`,type:`string`,id:`param-network`,children:[_jsxs(_components.p,{children:[`لوضع connect فقط. الشبكة الاجتماعية الواحدة التي تربطها هذه الجلسة، وهي ما يجعلها جلسة\n`,_jsx(_components.strong,{children:`وضع مباشر`}),`. أغفلها لجلسة تشغّلها لوحة التحكم الخاصة بك عبر عدة شبكات.`]}),_jsxs(_components.p,{children:[`واحدة من `,_jsx(_components.code,{children:`bluesky`}),` أو `,_jsx(_components.code,{children:`facebook`}),` أو `,_jsx(_components.code,{children:`gmb`}),` أو `,_jsx(_components.code,{children:`instagram`}),` أو `,_jsx(_components.code,{children:`instagramApi`}),` أو `,_jsx(_components.code,{children:`linkedin`}),`\nأو `,_jsx(_components.code,{children:`pinterest`}),` أو `,_jsx(_components.code,{children:`reddit`}),` أو `,_jsx(_components.code,{children:`snapchat`}),` أو `,_jsx(_components.code,{children:`telegram`}),` أو `,_jsx(_components.code,{children:`threads`}),` أو `,_jsx(_components.code,{children:`tiktok`}),` أو\n`,_jsx(_components.code,{children:`twitter`}),` أو `,_jsx(_components.code,{children:`whatsapp`}),` أو `,_jsx(_components.code,{children:`x`}),` أو `,_jsx(_components.code,{children:`youtube`}),`. أي شيء آخر يعيد `,_jsx(_components.code,{children:`code: 508`}),` — بما في ذلك\n`,_jsx(_components.code,{children:`fbg`}),`، الذي ليس هدف ربط هنا.`]}),_jsxs(_components.p,{children:[`لا يمكن جمعه مع `,_jsx(_components.code,{children:`allowedSocial`}),` (يعيد `,_jsx(_components.code,{children:`code: 507`}),`): فجلسة الشبكة الواحدة هي قائمة السماح\nالخاصة بها بالفعل. الشبكة التي لم يفعّلها حسابك تعيد `,_jsx(_components.code,{children:`code: 509`}),`، وهو جواب مختلف عن 508\nلأنه قابل للإصلاح في صفحة\n`,_jsx(_components.a,{href:`/multiple-users/manage-user-profiles#set-social-networks-access`,children:`Social Networks`}),` لديك.`]}),_jsx(_components.p,{children:`في وضع grid يُتجاهل.`})]}),`\n`,_jsxs(ParamField,{body:`instagramLinkMethod`,type:`string`,id:`param-instagram-link-method`,children:[_jsx(_components.p,{children:`تجاوز تدفق ربط Instagram المستخدم لهذا الرابط. القيم الصالحة:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`instagram`}),`: تسجيل دخول Instagram المباشر، دون الحاجة إلى Facebook Page.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`facebook`}),`: ربط Instagram عبر Facebook Page متصلة.`]}),`\n`]}),_jsxs(_components.p,{children:[`إذا حُذف، تستخدم صفحة الربط إعداد\n`,_jsx(_components.a,{href:`/multiple-users/manage-user-profiles#instagram-login`,children:`Instagram Login`}),` على مستوى حسابك.`]})]}),`\n`,_jsxs(ParamField,{body:`origin`,type:`string`,id:`param-origin`,children:[_jsx(_components.p,{children:`الأصل الفعلي للصفحة التي فتحت نافذة الربط، حتى يمكن إخبارها عند اكتمال الربط.`}),_jsxs(_components.p,{children:[`عند ضبطه، ترسل صفحة الربط أحداثًا إلى ذلك الأصل عبر `,_jsx(_components.code,{children:`window.postMessage`}),` مع ربط مستخدمك\nكل حساب، فتستطيع صفحتك التفاعل دون استطلاع. لا تُرسل الأحداث أبدًا إلا إلى هذه القيمة\nبالضبط، لذا يجب أن تطابق أصل صفحتك حرفًا بحرف، بما في ذلك المخطط (scheme) وأي منفذ.`]}),_jsxs(_components.p,{children:[`تُقبل ثلاثة أشكال: أصل `,_jsx(_components.code,{children:`https`}),` (`,_jsx(_components.code,{children:`https://app.example.com`}),`)، و`,_jsx(_components.code,{children:`http://localhost:3000`}),`\nللتطوير المحلي، ومخطط مخصص أصلي (`,_jsx(_components.code,{children:`myapp://connected`}),`). أي شيء آخر — أصل `,_jsx(_components.code,{children:`http://`}),` عادي\nغير localhost، أو شيء ليس أصلًا إطلاقًا — يُتجاهل على الروابط التي تنشئها نقطة النهاية\nهذه: يظل الرابط يعمل، لكنه ببساطة لا يرسل أي أحداث. وهو اختياري، فإغفاله ليس خطأً أيضًا.`]}),_jsxs(_components.p,{children:[`من الأشكال الثلاثة، لا يتلقى الأحداث إلا الأولان. المخطط المخصص هدف عودة لتطبيق محمول\nو`,_jsx(_components.strong,{children:`لا يمكنه تلقّيها`}),`، لأنه لا توجد نافذة متصفح تُرسل إليها؛ تستطلع التطبيقات الأصلية\n`,_jsx(_components.a,{href:`/apis/profiles/get-link-session`,children:`الحصول على Link Session`}),` بدلًا من ذلك.`]}),_jsxs(_components.p,{children:[`راجع `,_jsx(_components.a,{href:`/multiple-users/link-completion-events`,children:`أحداث اكتمال الربط`}),`.`]}),_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`في وضع connect يكون `,_jsx(_components.code,{children:`origin`}),` مطلوبًا، ويجري التحقق منه.`]}),` التساهل أعلاه هو سلوك وضع\ngrid. مع `,_jsx(_components.code,{children:`mode: \"connect\"`}),`، يعيد إغفاله `,_jsx(_components.code,{children:`code: 505`}),`، وتعيد القيمة التي ليست أحد الأشكال\nالثلاثة المقبولة `,_jsx(_components.code,{children:`code: 506`}),`، الذي يكرّر `,_jsx(_components.code,{children:`details`}),` فيه الشكل الذي أرسلته.`]})]}),`\n`,_jsx(ParamField,{body:`domain`,type:`string`,id:`param-domain`,children:_jsx(_components.p,{children:`اختياري. نطاق الربط الخاص بك، عندما يكون لحسابك أكثر من نطاق واحد. إذا أُغفل، يُستخدم\nنطاق حسابك نفسه. ويُرفض أي نطاق غير مسجّل على حسابك.`})}),`\n`,_jsxs(ParamField,{body:`email`,type:`object`,id:`param-email`,children:[_jsxs(_components.p,{children:[`أرسل بريد Connect Accounts يحمل الرابط، ليتمكن مستخدمك من الوصول مباشرةً إلى صفحة\nالربط الخاصة به. يتطلب عنوان `,_jsx(_components.code,{children:`to`}),`.`]}),_jsxs(_components.p,{children:[`يتطلب Max Pack. تُبلّغ الاستجابة عن النتيجة في `,_jsx(_components.code,{children:`emailSent`}),`. إذا تعذّر إرسال البريد الإلكتروني، فستحصل على الرابط مع ذلك: تتضمن الاستجابة `,_jsx(_components.code,{children:`emailSent: false`}),` وكائن `,_jsx(_components.code,{children:`emailError`}),`، حتى تتمكن من إرسال الرابط إلى المستخدم بطريقة أخرى.`]}),_jsxs(_components.p,{children:[`انظر `,_jsx(_components.a,{href:`/apis/profiles/social-linking-overview#connect-accounts-email`,children:`بريد Connect Accounts`}),`.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`connect-mode`,children:`وضع Connect`}),`\n`,_jsxs(_components.p,{children:[`يُنشئ `,_jsx(_components.code,{children:`mode: \"connect\"`}),` جلسة لسطح ربط تستضيفه أنت بنفسك، لا لصفحة الربط المستضافة. أما أي\nشكلي connect تحصل عليه فيعتمد على أمر واحد — هل مرّرت `,_jsx(_components.code,{children:`network`}),` أم لا:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`ما ترسله`}),_jsx(_components.th,{children:`ما يُعاد إليك`}),_jsx(_components.th,{children:`ما تفعله به`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`mode: \"connect\"`}),` مع `,_jsx(_components.code,{children:`network`})]}),_jsxs(_components.td,{children:[``,_jsx(_components.code,{children:`url`}),` يشير إلى صفحة ربط لشبكة واحدة`]}),_jsxs(_components.td,{children:[`افتحه في نافذة منبثقة — هذا هو `,_jsx(_components.a,{href:`/multiple-users/connect-direct-mode`,children:`الوضع المباشر`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`mode: \"connect\"`}),` بدون `,_jsx(_components.code,{children:`network`})]}),_jsxs(_components.td,{children:[``,_jsx(_components.code,{children:`token`}),`، وبلا عنوان URL إطلاقًا`]}),_jsx(_components.td,{children:`سلّمه إلى واجهتك الأمامية`})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`تحمل الاستجابة السر مرة واحدة بالضبط.`}),` للاستجابة إما `,_jsx(_components.code,{children:`url`}),` أو `,_jsx(_components.code,{children:`token`}),`، وليس الاثنين\nأبدًا ولا عنوانا URL اثنان أبدًا. يعيش التوكن في جلسة الوضع المباشر داخل `,_jsx(_components.code,{children:`url`}),`، تمامًا كما\nفي وضع grid؛ أما الجلسة التي لا تملك عنوان URL يحمله فتعيد `,_jsx(_components.code,{children:`token`}),` مجردًا بدلًا من ذلك. كل\nما عدا ذلك هو نفسه في الأوضاع الثلاثة: `,_jsx(_components.code,{children:`sessionId`}),` و`,_jsx(_components.code,{children:`expiresAt`}),` و`,_jsx(_components.code,{children:`emailSent`}),`، و`,_jsx(_components.code,{children:`title`}),`\nعندما يكون لـ User Profile واحد.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`ما-يتطلبه-وضع-connect`,children:`ما يتطلبه وضع Connect`}),`\n`,_jsxs(_components.p,{children:[`لا شيء من هذين حقل جسم مستقل — فالأول استحقاق على مستوى الحساب والثاني هو معامل\n`,_jsx(_components.a,{href:`#body-parameters`,children:_jsx(_components.code,{children:`origin`})}),` أعلاه، الذي يجعله وضع connect إلزاميًا.`]}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.a,{href:`/additional/maxpack`,children:`Max Pack`}),`.`]}),` من دونه يعيد الاستدعاء `,_jsx(_components.code,{children:`code: 504`}),`، ويُفحص قبل معاملات\nوضع connect، لذا فإن تصحيح `,_jsx(_components.code,{children:`origin`}),` أو `,_jsx(_components.code,{children:`network`}),` لن يغيّر الجواب. تواصل مع الدعم إذا كنت\nبحاجة إلى تفعيل وضع connect على حساب من دون Max Pack.`]}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`origin`}),`، على كل جلسة.`]}),` لا توجد قائمة سماح ولا خطوة تسجيل — ترسله مع كل استدعاء ويُخزَّن\nعلى الجلسة، فلا تحتاج بيئة جديدة إلى أي إعداد من جانبنا. تُقبل ثلاثة أشكال:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`أصل `,_jsx(_components.code,{children:`https`}),` — `,_jsx(_components.code,{children:`https://app.example.com`})]}),`\n`,_jsxs(_components.li,{children:[`مخطط مخصص أصلي — `,_jsx(_components.code,{children:`myapp://connected`})]}),`\n`,_jsxs(_components.li,{children:[``,_jsx(_components.code,{children:`http://localhost`}),` أو `,_jsx(_components.code,{children:`http://localhost:3000`}),`، للتطوير المحلي`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`الأصل فقط: بلا مسار ولا استعلام ولا جزء (fragment)، وبلا بيانات اعتماد فيه. إغفاله يعيد\n`,_jsx(_components.code,{children:`code: 505`}),`، وأي شيء ليس أحد الأشكال الثلاثة يعيد `,_jsx(_components.code,{children:`code: 506`}),`.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`لا يمكن استخدام `,_jsx(_components.code,{children:`email`}),` مع جلسة لا تملك `,_jsx(_components.code,{children:`network`}),`، لأنه لا يوجد رابط يوضع في البريد\nالإلكتروني — فهذا الشكل يعيد توكنًا لواجهتك الأمامية. يعيد الاستدعاء `,_jsx(_components.code,{children:`code: 510`}),`. أضف\n`,_jsx(_components.code,{children:`network`}),` لجلسة وضع مباشر، التي تملك عنوان URL بالفعل، أو أغفل `,_jsx(_components.code,{children:`email`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`كل رمز مُسمّى أعلاه موجود في مرجع\n`,_jsx(_components.a,{href:`/errors/errors-ayrshare#link-session-errors`,children:`أخطاء Link Session`}),`.`]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`6`,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:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization: Bearer API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Profile-Key: PROFILE_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-d `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{\"expiresIn\": 60}'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-X `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.ayrshare.com/api/profiles/link-sessions`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`15`,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:`15`,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:` API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_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:` PROFILE_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"PROFILE_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_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:`\"https://api.ayrshare.com/api/profiles/link-sessions\"`}),_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:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_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:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_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:` \"Profile-Key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` PROFILE_KEY`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`expiresIn:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 60`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`then`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`((`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_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\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`then`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`((`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`json`}),_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\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`catch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`10`,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:`10`,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`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`payload `}),_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:`'expiresIn'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`60`}),_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\":`#D4D4D4`},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:`'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'application/json'`}),_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:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Bearer API_KEY'`}),_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:` 'Profile-Key'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'PROFILE_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://api.ayrshare.com/api/profiles/link-sessions'`}),_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:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`payload, `}),_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:`headers)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response.json())`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`PHP`,numberOfLines:`20`,language:`php`,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:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c?`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`php`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`require`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'vendor/autoload.php'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Composer auto-loader using Guzzle. See .../guzzlephp.org/en/stable/overview.html`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$client`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` GuzzleHttp\\\\`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Client`}),_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:`$res`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $client`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`request`}),_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:` 'POST'`}),_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:` 'https://api.ayrshare.com/api/profiles/link-sessions'`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'headers'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_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:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`}),_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:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bearer API_KEY'`}),_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:` 'Profile-Key'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'PROFILE_KEY'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_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:` 'json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_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:` 'expiresIn'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 60`}),_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(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`echo`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` json_encode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`json_decode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$res`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getBody`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()), `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`JSON_PRETTY_PRINT`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`C#`,numberOfLines:`41`,language:`csharp`,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:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`41`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`using`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` System`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`using`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` System`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Net`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Http`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`using`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` System`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`using`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` System`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Threading`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Tasks`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`using`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Newtonsoft`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`namespace`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` CreateLinkSession_csharp`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` CreateLinkSession`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` static`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` async`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Task`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Main`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[] `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`args`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` string`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` string`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` PROFILE_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"PROFILE_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` string`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` url`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.ayrshare.com/api/profiles/link-sessions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` try`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` using`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`var`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` HttpClient`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DefaultRequestHeaders`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Add`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer \"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` API_KEY`}),_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:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DefaultRequestHeaders`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Add`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Profile-Key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`PROFILE_KEY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` sendData`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`expiresIn`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 60`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` };`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` string`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` jsonData`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` JsonConvert`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`SerializeObject`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`sendData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` content`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` StringContent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`jsonData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Encoding`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`UTF8`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` HttpResponseMessage`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`PostAsync`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`url`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`content`}),_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:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`EnsureSuccessStatusCode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` string`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` responseBody`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Content`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`ReadAsStringAsync`}),_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:` Console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`WriteLine`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`responseBody`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` catch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`HttpRequestException`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` e`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`WriteLine`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`$\"HTTP request error: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`e`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Message`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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(_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(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200`,numberOfLines:`8`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sessionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c7a2434e72e91bde27579efde0fd6dd0b74ceee29a471fd368407f273708c2e8\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Identifier for this link. Use it with Get and Revoke a Link Session.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://profile.ayrshare.com?session=ayr_ls_kJ8mQ2vX9pLnR4tYwZ6aBcD1eFgH3iJkLmN0oPqRsTu\u0026domain=YOUR_DOMAIN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Send this to your user exactly as returned. The token exists only in here.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expiresAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-02T08:03:26.838Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// When the link stops working, as an ISO 8601 timestamp.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"emailSent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Whether the connect-accounts email was sent. false with no emailError means no email was requested.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme Client\"`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // The User Profile's title. Omitted when the profile has none.`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`200: Email Failed to Send`,numberOfLines:`12`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sessionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c7a2434e72e91bde27579efde0fd6dd0b74ceee29a471fd368407f273708c2e8\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://profile.ayrshare.com?session=ayr_ls_kJ8mQ2vX9pLnR4tYwZ6aBcD1eFgH3iJkLmN0oPqRsTu\u0026domain=YOUR_DOMAIN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Still valid. Send it to your user yourself.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expiresAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-02T08:03:26.838Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"emailSent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"emailError\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Only present when an email was requested and could not be sent.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`333`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Email failed to send. Please confirm a valid email was provided.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme Client\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`200: Direct Mode (mode: with a network)`,numberOfLines:`8`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sessionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c7a2434e72e91bde27579efde0fd6dd0b74ceee29a471fd368407f273708c2e8\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://profile.ayrshare.com/connect?session=ayr_ls_kJ8mQ2vX9pLnR4tYwZ6aBcD1eFgH3iJkLmN0oPqRsTu\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Open this in a popup. One network, no domain parameter.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expiresAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-02T08:03:26.838Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"emailSent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme Client\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`200: Connect Mode Without a Network`,numberOfLines:`8`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sessionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c7a2434e72e91bde27579efde0fd6dd0b74ceee29a471fd368407f273708c2e8\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ayr_ls_kJ8mQ2vX9pLnR4tYwZ6aBcD1eFgH3iJkLmN0oPqRsTu\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// No url: this shape returns the bare token instead. Treat it like a password.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expiresAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-02T08:03:26.838Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"emailSent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Always false here - email needs a link to send, so it returns code: 510.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme Client\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`401: Connect Mode Requires the Max Pack`,numberOfLines:`6`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"link session\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`504`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Connect mode requires the Max Pack. Activate it on your Account page: https://app.ayrshare.com/account\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`400: Missing Profile-Key Header`,numberOfLines:`6`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"JWT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`188`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Missing or incorrect privateKey, profileKey, domain, email 'to', or expiresIn fields.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`400: Domain Not Registered to Your Account`,numberOfLines:`7`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"JWT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`189`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Error generating JWT. Check the sent parameters.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"details\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Missing or incorrect domain.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`401: expiresIn Requires the Max Pack`,numberOfLines:`7`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`340`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Max Pack is required. Please go to your Account page in the Ayrshare Dashboard to activate the Max Pack.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"details\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"email and expiresIn parameters are only available on the Max Pack.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{PlansAvailable,HeaderAPI,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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"إنشاء Link Session","description":"أنشئ عنوان URL لربط الشبكات الاجتماعية لملف مستخدم، دون إرسال مفتاح خاص.","api":"POST /profiles/link-sessions","href":"/ar/apis/profiles/create-link-session"}}}},"mdxExtracts":{"tableOfContents":[{"title":"معاملات الترويسة","slug":"معاملات-الترويسة","depth":2,"children":[]},{"title":"معاملات الجسم","slug":"body-parameters","depth":2,"children":[]},{"title":"وضع Connect","slug":"connect-mode","depth":2,"children":[{"title":"ما يتطلبه وضع Connect","slug":"ما-يتطلبه-وضع-connect","depth":3,"children":[]}]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"6\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">-H \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Authorization: Bearer API_KEY\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">-H \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">-H \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Profile-Key: PROFILE_KEY'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">-d \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'{\"expiresIn\": 60}'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">-X \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.ayrshare.com/api/profiles/link-sessions\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"JavaScript","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"15\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> API_KEY\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"API_KEY\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> PROFILE_KEY\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"PROFILE_KEY\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">fetch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://api.ayrshare.com/api/profiles/link-sessions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> method:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"POST\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> headers:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"application/json\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> Authorization:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> `Bearer \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">${\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\">API_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">`\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Profile-Key\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> PROFILE_KEY\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> body:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> JSON\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">stringify\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">({ \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">expiresIn:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"> 60\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }),\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">})\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> .\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">then\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">((\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\">res\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">) \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">=>\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> res\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">json\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">())\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> .\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">then\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">((\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\">json\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">) \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">=>\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> console\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">log\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">json\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">))\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> .\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">catch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">console\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">error\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Python","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"python\">\u003ccode language=\"python\" numberOfLines=\"10\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">payload \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'expiresIn'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">60\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">headers \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Content-Type'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'application/json'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Bearer API_KEY'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Profile-Key'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'PROFILE_KEY'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">response \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests.post(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'https://api.ayrshare.com/api/profiles/link-sessions'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> json\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">payload, \u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\">headers\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">headers)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">print\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(response.json())\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"PHP","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"php\">\u003ccode language=\"php\" numberOfLines=\"20\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">\u0026#x3C;?\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\">php\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">require\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'vendor/autoload.php'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">; \u003c/span>\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">// Composer auto-loader using Guzzle. See .../guzzlephp.org/en/stable/overview.html\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$client\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> new\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\"> GuzzleHttp\\\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\">Client\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$res\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $client\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">request\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'POST'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://api.ayrshare.com/api/profiles/link-sessions'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'headers'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =>\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =>\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'application/json'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =>\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Bearer API_KEY'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Profile-Key'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =>\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'PROFILE_KEY'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =>\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'expiresIn'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =>\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"> 60\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">echo\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"> json_encode\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">json_decode\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$res\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">getBody\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">()), \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\">JSON_PRETTY_PRINT\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"C#","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"csharp\">\u003ccode language=\"csharp\" numberOfLines=\"41\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">using\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> System\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">using\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> System\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\">Net\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\">Http\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">using\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> System\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\">Text\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">using\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> System\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\">Threading\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\">Tasks\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">using\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> Newtonsoft\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\">Json\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">namespace\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> CreateLinkSession_csharp\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> class\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> CreateLinkSession\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> static\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> async\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> Task\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> Main\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">string\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">[] \u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\">args\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> string\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> API_KEY\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"API_KEY\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> string\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> PROFILE_KEY\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"PROFILE_KEY\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> string\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> url\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://api.ayrshare.com/api/profiles/link-sessions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> try\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> using\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> (\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">var\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> client\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> new\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> HttpClient\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">())\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> client\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">DefaultRequestHeaders\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">Add\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Authorization\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bearer \"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> +\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> API_KEY\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> client\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">DefaultRequestHeaders\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">Add\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Profile-Key\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">PROFILE_KEY\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> var\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> sendData\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> new\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">expiresIn\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"> 60\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> };\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> string\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> jsonData\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> JsonConvert\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">SerializeObject\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">sendData\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> var\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> content\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> new\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> StringContent\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">jsonData\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Encoding\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">UTF8\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"application/json\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> HttpResponseMessage\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> response\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> client\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">PostAsync\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">url\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">content\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> response\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">EnsureSuccessStatusCode\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> string\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> responseBody\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> response\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Content\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">ReadAsStringAsync\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> Console\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">WriteLine\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">responseBody\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> catch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> (\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\">HttpRequestException\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> e\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> Console\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">WriteLine\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">$\"HTTP request error: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#D4D4D4\">{\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">e\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Message\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#D4D4D4\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sessionId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"c7a2434e72e91bde27579efde0fd6dd0b74ceee29a471fd368407f273708c2e8\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">// Identifier for this link. Use it with Get and Revoke a Link Session.\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://profile.ayrshare.com?session=ayr_ls_kJ8mQ2vX9pLnR4tYwZ6aBcD1eFgH3iJkLmN0oPqRsTu\u0026#x26;domain=YOUR_DOMAIN\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">// Send this to your user exactly as returned. The token exists only in here.\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"expiresAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-02T08:03:26.838Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">// When the link stops working, as an ISO 8601 timestamp.\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"emailSent\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">// Whether the connect-accounts email was sent. false with no emailError means no email was requested.\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"title\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Acme Client\"\u003c/span>\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"> // The User Profile's title. Omitted when the profile has none.\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"200: Email Failed to Send","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sessionId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"c7a2434e72e91bde27579efde0fd6dd0b74ceee29a471fd368407f273708c2e8\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://profile.ayrshare.com?session=ayr_ls_kJ8mQ2vX9pLnR4tYwZ6aBcD1eFgH3iJkLmN0oPqRsTu\u0026#x26;domain=YOUR_DOMAIN\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">// Still valid. Send it to your user yourself.\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"expiresAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-02T08:03:26.838Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"emailSent\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"emailError\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">// Only present when an email was requested and could not be sent.\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">333\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Email failed to send. Please confirm a valid email was provided.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"title\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Acme Client\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"200: Direct Mode (mode: with a network)","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sessionId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"c7a2434e72e91bde27579efde0fd6dd0b74ceee29a471fd368407f273708c2e8\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://profile.ayrshare.com/connect?session=ayr_ls_kJ8mQ2vX9pLnR4tYwZ6aBcD1eFgH3iJkLmN0oPqRsTu\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">// Open this in a popup. One network, no domain parameter.\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"expiresAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-02T08:03:26.838Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"emailSent\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"title\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Acme Client\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"200: Connect Mode Without a Network","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sessionId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"c7a2434e72e91bde27579efde0fd6dd0b74ceee29a471fd368407f273708c2e8\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"token\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ayr_ls_kJ8mQ2vX9pLnR4tYwZ6aBcD1eFgH3iJkLmN0oPqRsTu\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">// No url: this shape returns the bare token instead. Treat it like a password.\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"expiresAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-02T08:03:26.838Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"emailSent\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">// Always false here - email needs a link to send, so it returns code: 510.\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"title\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Acme Client\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"401: Connect Mode Requires the Max Pack","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"6\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"link session\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">504\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Connect mode requires the Max Pack. Activate it on your Account page: https://app.ayrshare.com/account\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400: Missing Profile-Key Header","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"6\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"JWT\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">188\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Missing or incorrect privateKey, profileKey, domain, email 'to', or expiresIn fields.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400: Domain Not Registered to Your Account","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"JWT\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">189\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Error generating JWT. Check the sent parameters.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"details\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Missing or incorrect domain.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"401: expiresIn Requires the Max Pack","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"authorization\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">340\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Max Pack is required. Please go to your Account page in the Ayrshare Dashboard to activate the Max Pack.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"details\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"email and expiresIn parameters are only available on the Max Pack.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"إنشاء Link Session","path":"/profiles/link-sessions","servers":[{"url":"https://api.ayrshare.com/api"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{"X-Twitter-OAuth1-Api-Key":{"schema":[{"type":"string","description":"مفتاح X API الخاص بك (Consumer Key) من X Developer Portal. عند تزويده، سيستخدم رابط الربط تطبيق X Developer الخاص بك في ربط OAuth."}]},"X-Twitter-OAuth1-Api-Secret":{"schema":[{"type":"string","description":"X API Secret الخاص بك (Consumer Secret) من X Developer Portal. مطلوب عند تزويد `X-Twitter-OAuth1-Api-Key` ."}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"mode":[{"type":"string","description":"سطح الربط الذي تشغّله هذه الجلسة. `grid` — صفحة الربط المستضافة، تعرض كل شبكة تسمح بها. هذا هو الافتراضي، فالطلب الذي يُغفل `mode` ينشئ واحدة منها. `connect` — شبكة واحدة في كل مرة، تُفتح من لوحة التحكم الخاصة بك. راجع وضع Connect أدناه و الوضع المباشر . لا يُستنتج أبدًا: تمرير `origin` أو `network` لا يضعك في وضع connect، فلا يمكن لجلسة grid أن تتحول إلى جلسة مقيّدة عن غير قصد. أي قيمة أخرى تعيد `code: 188` مع `details` يُسمّي القيمتين."}],"expiresIn":[{"type":"number","description":"مدة صلاحية الرابط بالدقائق. النطاق: من 1 إلى 2880 دقيقة. يتطلب Max Pack. انظر انتهاء صلاحية الرابط لمزيد من المعلومات."}],"logout":[{"type":"boolean","description":"تسجيل الخروج التلقائي من الجلسة الحالية. لا يُنصح به في بيئة الإنتاج لأنه يؤثر على الأداء. انظر تسجيل الخروج التلقائي من جلسة الملف الشخصي ."}],"redirect":[{"type":"string","description":"عنوان URL لإعادة التوجيه إليه عند النقر على زر “Done” (تم) أو صورة الشعار. أضف معامل الاستعلام `origin=true` لإعادة توجيه نافذة الأصل الفاتحة."}],"allowedSocial":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"الشبكات الاجتماعية المراد عرضها في صفحة الربط. يتجاوز الشبكات المُهيَّأة في صفحة Social Networks ."}],"network":[{"type":"string","description":"لوضع connect فقط. الشبكة الاجتماعية الواحدة التي تربطها هذه الجلسة، وهي ما يجعلها جلسة وضع مباشر . أغفلها لجلسة تشغّلها لوحة التحكم الخاصة بك عبر عدة شبكات. واحدة من `bluesky` أو `facebook` أو `gmb` أو `instagram` أو `instagramApi` أو `linkedin` أو `pinterest` أو `reddit` أو `snapchat` أو `telegram` أو `threads` أو `tiktok` أو `twitter` أو `whatsapp` أو `x` أو `youtube` . أي شيء آخر يعيد `code: 508` — بما في ذلك `fbg` ، الذي ليس هدف ربط هنا. لا يمكن جمعه مع `allowedSocial` (يعيد `code: 507` ): فجلسة الشبكة الواحدة هي قائمة السماح الخاصة بها بالفعل. الشبكة التي لم يفعّلها حسابك تعيد `code: 509` ، وهو جواب مختلف عن 508 لأنه قابل للإصلاح في صفحة Social Networks لديك. في وضع grid يُتجاهل."}],"instagramLinkMethod":[{"type":"string","description":"تجاوز تدفق ربط Instagram المستخدم لهذا الرابط. القيم الصالحة: `instagram` : تسجيل دخول Instagram المباشر، دون الحاجة إلى Facebook Page. `facebook` : ربط Instagram عبر Facebook Page متصلة. إذا حُذف، تستخدم صفحة الربط إعداد Instagram Login على مستوى حسابك."}],"origin":[{"type":"string","description":"الأصل الفعلي للصفحة التي فتحت نافذة الربط، حتى يمكن إخبارها عند اكتمال الربط. عند ضبطه، ترسل صفحة الربط أحداثًا إلى ذلك الأصل عبر `window.postMessage` مع ربط مستخدمك كل حساب، فتستطيع صفحتك التفاعل دون استطلاع. لا تُرسل الأحداث أبدًا إلا إلى هذه القيمة بالضبط، لذا يجب أن تطابق أصل صفحتك حرفًا بحرف، بما في ذلك المخطط (scheme) وأي منفذ. تُقبل ثلاثة أشكال: أصل `https` ( `https://app.example.com` )، و `http://localhost:3000` للتطوير المحلي، ومخطط مخصص أصلي ( `myapp://connected` ). أي شيء آخر — أصل `http://` عادي غير localhost، أو شيء ليس أصلًا إطلاقًا — يُتجاهل على الروابط التي تنشئها نقطة النهاية هذه: يظل الرابط يعمل، لكنه ببساطة لا يرسل أي أحداث. وهو اختياري، فإغفاله ليس خطأً أيضًا. من الأشكال الثلاثة، لا يتلقى الأحداث إلا الأولان. المخطط المخصص هدف عودة لتطبيق محمول و لا يمكنه تلقّيها ، لأنه لا توجد نافذة متصفح تُرسل إليها؛ تستطلع التطبيقات الأصلية الحصول على Link Session بدلًا من ذلك. راجع أحداث اكتمال الربط . في وضع connect يكون `origin` مطلوبًا، ويجري التحقق منه. التساهل أعلاه هو سلوك وضع grid. مع `mode: \"connect\"` ، يعيد إغفاله `code: 505` ، وتعيد القيمة التي ليست أحد الأشكال الثلاثة المقبولة `code: 506` ، الذي يكرّر `details` فيه الشكل الذي أرسلته."}],"domain":[{"type":"string","description":"اختياري. نطاق الربط الخاص بك، عندما يكون لحسابك أكثر من نطاق واحد. إذا أُغفل، يُستخدم نطاق حسابك نفسه. ويُرفض أي نطاق غير مسجّل على حسابك."}],"email":[{"type":"object","properties":{},"description":"أرسل بريد Connect Accounts يحمل الرابط، ليتمكن مستخدمك من الوصول مباشرةً إلى صفحة الربط الخاصة به. يتطلب عنوان `to` . يتطلب Max Pack. تُبلّغ الاستجابة عن النتيجة في `emailSent` . إذا تعذّر إرسال البريد الإلكتروني، فستحصل على الرابط مع ذلك: تتضمن الاستجابة `emailSent: false` وكائن `emailError` ، حتى تتمكن من إرسال الرابط إلى المستخدم بطريقة أخرى. انظر بريد Connect Accounts ."}]}}],"examples":{"example":{"value":{"mode":"\u003cstring>","expiresIn":123,"logout":true,"redirect":"\u003cstring>","allowedSocial":[{}],"network":"\u003cstring>","instagramLinkMethod":"\u003cstring>","origin":"\u003cstring>","domain":"\u003cstring>","email":{}}}}}}},"response":{},"deprecated":false}},"jsLinks":["/docs/_mintlify/custom/ayrshare-docs/80ea29d8530ebaa2/script.js","/docs/_mintlify/custom/ayrshare-docs/3e93073b19ca64e9/tools/maintainScroll.js"],"dynamicCss":".mint-mt-2 {\n margin-top: 0.5rem\n}\n.mint-flex {\n display: flex\n}\n.mint-cursor-pointer {\n cursor: pointer\n}\n.mint-items-center {\n align-items: center\n}\n.mint-rounded {\n border-radius: 0.25rem\n}\n.mint-px-1\\.5 {\n padding-left: 0.375rem;\n padding-right: 0.375rem\n}\n.mint-py-0\\.5 {\n padding-top: 0.125rem;\n padding-bottom: 0.125rem\n}\n.mint-text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem\n}","subdomain":"ayrshare-docs","siteName":"Ayrshare Docs","title":"إنشاء Link Session - Ayrshare Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/apis/profiles/create-link-session","matchLevel":1},"es":{"href":"/es/apis/profiles/create-link-session","matchLevel":1},"cn":{"href":"/cn/apis/profiles/create-link-session","matchLevel":1,"hidden":true},"zh":{"href":"/zh/apis/profiles/create-link-session","matchLevel":1,"hidden":true},"pt-BR":{"href":"/pt-BR/apis/profiles/create-link-session","matchLevel":1},"fr":{"href":"/fr/apis/profiles/create-link-session","matchLevel":1},"de":{"href":"/de/apis/profiles/create-link-session","matchLevel":1},"vi":{"href":"/vi/apis/profiles/create-link-session","matchLevel":1},"ja":{"href":"/ja/apis/profiles/create-link-session","matchLevel":1},"uk":{"href":"/uk/apis/profiles/create-link-session","matchLevel":1},"hi":{"href":"/hi/apis/profiles/create-link-session","matchLevel":1},"ar":{"href":"/ar/apis/profiles/create-link-session","matchLevel":0},"zh-Hans":{"href":"/zh-Hans/apis/profiles/create-link-session","matchLevel":1},"zh-Hant":{"href":"/zh-Hant/apis/profiles/create-link-session","matchLevel":1}}},"lastModified":"2026-10-27T13:27:12.505Z","originalFileLocation":"ar/apis/profiles/create-link-session.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=\"dark\"}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=\"أنشئ عنوان URL لربط الشبكات الاجتماعية لملف مستخدم، دون إرسال مفتاح خاص.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ayrshare Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_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=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"إنشاء Link Session - Ayrshare Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"أنشئ عنوان URL لربط الشبكات الاجتماعية لملف مستخدم، دون إرسال مفتاح خاص.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ayrshare Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.ayrshare.com/docs/ar/apis/profiles/create-link-session\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ayrshare-docs.mintlify.site/docs/_mintlify/api/og/v2?division=Profiles\u0026amp;title=%D8%A5%D9%86%D8%B4%D8%A7%D8%A1+Link+Session\u0026amp;description=%D8%A3%D9%86%D8%B4%D8%A6+%D8%B9%D9%86%D9%88%D8%A7%D9%86+URL+%D9%84%D8%B1%D8%A8%D8%B7+%D8%A7%D9%84%D8%B4%D8%A8%D9%83%D8%A7%D8%AA+%D8%A7%D9%84%D8%A7%D8%AC%D8%AA%D9%85%D8%A7%D8%B9%D9%8A%D8%A9+%D9%84%D9%85%D9%84%D9%81+%D9%85%D8%B3%D8%AA%D8%AE%D8%AF%D9%85%D8%8C+%D8%AF%D9%88%D9%86+%D8%A5%D8%B1%D8%B3%D8%A7%D9%84+%D9%85%D9%81%D8%AA%D8%A7%D8%AD+%D8%AE%D8%A7%D8%B5.\u0026amp;theme=9b71f2995bf23dbf0042e615\u0026amp;signature=bb021f22a3e5ca8dfa297b357095ed089d72a6b15d0f1452d49feac829dabfd0\">\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=\"إنشاء Link Session - Ayrshare Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"أنشئ عنوان URL لربط الشبكات الاجتماعية لملف مستخدم، دون إرسال مفتاح خاص.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ayrshare-docs.mintlify.site/docs/_mintlify/api/og/v2?division=Profiles\u0026amp;title=%D8%A5%D9%86%D8%B4%D8%A7%D8%A1+Link+Session\u0026amp;description=%D8%A3%D9%86%D8%B4%D8%A6+%D8%B9%D9%86%D9%88%D8%A7%D9%86+URL+%D9%84%D8%B1%D8%A8%D8%B7+%D8%A7%D9%84%D8%B4%D8%A8%D9%83%D8%A7%D8%AA+%D8%A7%D9%84%D8%A7%D8%AC%D8%AA%D9%85%D8%A7%D8%B9%D9%8A%D8%A9+%D9%84%D9%85%D9%84%D9%81+%D9%85%D8%B3%D8%AA%D8%AE%D8%AF%D9%85%D8%8C+%D8%AF%D9%88%D9%86+%D8%A5%D8%B1%D8%B3%D8%A7%D9%84+%D9%85%D9%81%D8%AA%D8%A7%D8%AD+%D8%AE%D8%A7%D8%B5.\u0026amp;theme=9b71f2995bf23dbf0042e615\u0026amp;signature=bb021f22a3e5ca8dfa297b357095ed089d72a6b15d0f1452d49feac829dabfd0\">\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=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ayrshare Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2266C2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.ayrshare.com/docs/ar/apis/profiles/create-link-session\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/ar/apis/profiles/create-link-session.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ar\" href=\"https://www.ayrshare.com/docs/ar/apis/profiles/create-link-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://www.ayrshare.com/docs/apis/profiles/create-link-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://www.ayrshare.com/docs/es/apis/profiles/create-link-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://www.ayrshare.com/docs/pt-BR/apis/profiles/create-link-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://www.ayrshare.com/docs/fr/apis/profiles/create-link-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://www.ayrshare.com/docs/de/apis/profiles/create-link-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"vi\" href=\"https://www.ayrshare.com/docs/vi/apis/profiles/create-link-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://www.ayrshare.com/docs/ja/apis/profiles/create-link-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"uk\" href=\"https://www.ayrshare.com/docs/uk/apis/profiles/create-link-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"hi\" href=\"https://www.ayrshare.com/docs/hi/apis/profiles/create-link-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hans\" href=\"https://www.ayrshare.com/docs/zh-Hans/apis/profiles/create-link-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hant\" href=\"https://www.ayrshare.com/docs/zh-Hant/apis/profiles/create-link-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://www.ayrshare.com/docs/apis/profiles/create-link-session\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.ayrshare.com/#organization\",\"name\":\"Ayrshare Docs\",\"url\":\"https://www.ayrshare.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ayrshare-docs/7bWzjvNjeuvs-M3N/images/logos/ayrshare-docs-logo-light.svg?fit=max\u0026auto=format\u0026n=7bWzjvNjeuvs-M3N\u0026q=85\u0026s=8d23367f493d06599eecbbfa2b6325cf\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.ayrshare.com/docs#website\",\"name\":\"Ayrshare Docs\",\"url\":\"https://www.ayrshare.com/docs\",\"publisher\":{\"@id\":\"https://www.ayrshare.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.ayrshare.com/docs/ar/apis/profiles/create-link-session#webpage\",\"url\":\"https://www.ayrshare.com/docs/ar/apis/profiles/create-link-session\",\"name\":\"إنشاء Link Session\",\"description\":\"أنشئ عنوان URL لربط الشبكات الاجتماعية لملف مستخدم، دون إرسال مفتاح خاص.\",\"dateModified\":\"2026-10-27T13:27:12.505Z\",\"isPartOf\":{\"@id\":\"https://www.ayrshare.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.ayrshare.com/docs/ar/apis/profiles/create-link-session#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.ayrshare.com/docs/ar/apis/profiles/create-link-session#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Endpoints\",\"item\":\"https://www.ayrshare.com/docs/ar/apis/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Profiles\",\"item\":\"https://www.ayrshare.com/docs/ar/apis/profiles/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"إنشاء Link Session\",\"item\":\"https://www.ayrshare.com/docs/ar/apis/profiles/create-link-session\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.ayrshare.com/docs/ar/apis/profiles/create-link-session#apireference\",\"headline\":\"إنشاء Link Session\",\"name\":\"إنشاء Link Session\",\"description\":\"أنشئ عنوان URL لربط الشبكات الاجتماعية لملف مستخدم، دون إرسال مفتاح خاص.\",\"url\":\"https://www.ayrshare.com/docs/ar/apis/profiles/create-link-session\",\"mainEntityOfPage\":{\"@id\":\"https://www.ayrshare.com/docs/ar/apis/profiles/create-link-session#webpage\"},\"dateModified\":\"2026-10-27T13:27:12.505Z\",\"publisher\":{\"@id\":\"https://www.ayrshare.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.ayrshare.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ayrshare Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Ayrshare Docs","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/apis/profiles/create-link-session"}]},{"language":"es","pages":[{"title":"es","href":"/es/apis/profiles/create-link-session"}]},{"language":"cn","hidden":true,"pages":[{"title":"cn","href":"/cn/apis/profiles/create-link-session","hidden":true}]},{"language":"zh","hidden":true,"pages":[{"title":"zh","href":"/zh/apis/profiles/create-link-session","hidden":true}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt-BR/apis/profiles/create-link-session"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/apis/profiles/create-link-session"}]},{"language":"de","pages":[{"title":"de","href":"/de/apis/profiles/create-link-session"}]},{"language":"vi","pages":[{"title":"vi","href":"/vi/apis/profiles/create-link-session"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/apis/profiles/create-link-session"}]},{"language":"uk","pages":[{"title":"uk","href":"/uk/apis/profiles/create-link-session"}]},{"language":"hi","pages":[{"title":"hi","href":"/hi/apis/profiles/create-link-session"}]},{"language":"ar","anchors":[{"anchor":"Documentation","icon":"code","groups":[{"group":"Get Started","pages":[{"title":"Ayrshare Social Media API","href":"/ar/introduction"},{"title":"دليل البدء السريع","href":"/ar/quickstart"},{"group":"MCP Server","pages":[{"title":"MCP Server: شغّل واجهة Ayrshare API بوكلاء الذكاء الاصطناعي","sidebarTitle":"نظرة عامة","icon":"robot","href":"/ar/additional/mcp-action-server"},{"title":"الاتصال بخادم MCP","sidebarTitle":"الاتصال والإعداد","icon":"plug","href":"/ar/additional/mcp-action-connect"},{"title":"كتالوج أدوات MCP","sidebarTitle":"كتالوج الأدوات","icon":"list","href":"/ar/additional/mcp-action-tools"},{"title":"إضافة Claude Code","icon":"terminal","href":"/ar/additional/mcp-claude-code-plugin"},{"title":"n8n","icon":"diagram-project","href":"/ar/additional/mcp-n8n"},{"title":"إعداد حسابات التواصل الاجتماعي للعملاء","sidebarTitle":"إعداد العميل","icon":"user-plus","href":"/ar/additional/mcp-client-onboarding"},{"title":"MCP للتوثيق","sidebarTitle":"MCP للتوثيق","icon":"magnifying-glass","href":"/ar/additional/mcp-server"}]}]},{"group":"API Endpoints","pages":[{"title":"نظرة عامة على واجهة برمجة تطبيقات Ayrshare","href":"/ar/apis/overview"},{"group":"GraphQL","pages":[{"title":"نظرة عامة على GraphQL API","href":"/ar/apis/graphql/overview"},{"title":"استخدام GraphQL API","href":"/ar/apis/graphql/using-the-api"},{"title":"أخطاء GraphQL","href":"/ar/apis/graphql/errors"},{"title":"حدود GraphQL والفوترة","href":"/ar/apis/graphql/limits"},{"title":"الإعلانات","href":"/ar/apis/graphql/ads"}]},{"group":"Ads","pages":[{"title":"Ads API: عزّز منشورات Facebook وInstagram كإعلانات","sidebarTitle":"نظرة عامة على Ads API","href":"/ar/apis/ads/overview"},{"title":"الحملات الإعلانية","href":"/ar/apis/ads/campaigns"},{"group":"Facebook Ads","pages":[{"title":"Accounts","api":"GET /ads/facebook/accounts","href":"/ar/apis/ads/facebook/get-ad-accounts"},{"title":"الحملات","api":"GET /ads/facebook/campaigns","href":"/ar/apis/ads/facebook/get-ad-campaigns"},{"title":"تعزيز المنشور","api":"POST /ads/facebook/boost","href":"/ar/apis/ads/facebook/boost-post"},{"title":"الإعلانات المُعزَّزة","api":"GET /ads/facebook/ads","href":"/ar/apis/ads/facebook/get-boosted-ads"},{"title":"السجل","api":"GET /ads/facebook/history","href":"/ar/apis/ads/facebook/get-ad-history"},{"title":"الرؤى","api":"GET /ads/facebook/insights","href":"/ar/apis/ads/facebook/get-ad-insights"},{"title":"الاهتمامات","api":"GET /ads/facebook/interests","href":"/ar/apis/ads/facebook/get-ad-interests"},{"title":"المناطق","api":"GET /ads/facebook/regions","href":"/ar/apis/ads/facebook/get-ad-regions"},{"title":"المدن","api":"GET /ads/facebook/cities","href":"/ar/apis/ads/facebook/get-ad-cities"},{"title":"توصيات DSA","api":"GET /ads/facebook/dsaRecommendations","href":"/ar/apis/ads/facebook/get-dsa-recommendations"},{"title":"تحديث إعلان","api":"PUT /ads/facebook/ads","href":"/ar/apis/ads/facebook/put-ad-update"}]},{"group":"Instagram Ads","pages":[{"title":"Accounts","api":"GET /ads/instagram/accounts","href":"/ar/apis/ads/instagram/get-ad-accounts"},{"title":"الحملات","api":"GET /ads/instagram/campaigns","href":"/ar/apis/ads/instagram/get-ad-campaigns"},{"title":"المناطق","api":"GET /ads/instagram/regions","href":"/ar/apis/ads/instagram/get-ad-regions"},{"title":"المدن","api":"GET /ads/instagram/cities","href":"/ar/apis/ads/instagram/get-ad-cities"},{"title":"توصيات DSA","api":"GET /ads/instagram/dsaRecommendations","href":"/ar/apis/ads/instagram/get-dsa-recommendations"},{"title":"تعزيز المنشور","api":"POST /ads/instagram/boost","href":"/ar/apis/ads/instagram/boost-post"},{"title":"الإعلانات المُعزَّزة","api":"GET /ads/instagram/ads","href":"/ar/apis/ads/instagram/get-boosted-ads"},{"title":"السجل","api":"GET /ads/instagram/history","href":"/ar/apis/ads/instagram/get-ad-history"},{"title":"الرؤى","api":"GET /ads/instagram/insights","href":"/ar/apis/ads/instagram/get-ad-insights"},{"title":"الاهتمامات","api":"GET /ads/instagram/interests","href":"/ar/apis/ads/instagram/get-ad-interests"},{"title":"تحديث إعلان","api":"PUT /ads/instagram/ads","href":"/ar/apis/ads/instagram/put-ad-update"}]},{"group":"Google Ads","pages":[{"title":"Accounts","api":"GET /ads/google/accounts","href":"/ar/apis/ads/google/get-ad-accounts"},{"title":"حملات بحث Google","sidebarTitle":"حملات البحث","api":"POST /ads/google/campaigns","href":"/ar/apis/ads/google/search-campaigns"},{"title":"حملات Google Performance Max","sidebarTitle":"حملات Performance Max","api":"POST /ads/google/campaigns","href":"/ar/apis/ads/google/performance-max-campaigns"},{"title":"الحصول على حملة","api":"GET /ads/google/campaigns/{id}","href":"/ar/apis/ads/google/get-campaign"},{"title":"تحديث حملة","api":"PUT /ads/google/campaigns/{id}","href":"/ar/apis/ads/google/update-campaign"},{"title":"الرؤى","api":"GET /ads/google/insights","href":"/ar/apis/ads/google/get-ad-insights"}]}]},{"group":"Analytics","pages":[{"title":"واجهة التحليلات: مقاييس المنشورات والحسابات والروابط","sidebarTitle":"نظرة عامة على واجهة برمجة تطبيقات التحليلات","href":"/ar/apis/analytics/overview"},{"title":"التحليلات على منشور","api":"POST /analytics/post","href":"/ar/apis/analytics/post"},{"title":"تحليلات على منشور حسب معرف اجتماعي","api":"POST /analytics/post","href":"/ar/apis/analytics/social-by-id"},{"title":"التحليلات على شبكة اجتماعية","api":"POST /analytics/social","href":"/ar/apis/analytics/social"},{"title":"قوائم تشغيل YouTube","api":"GET /analytics/youTubePlaylists","href":"/ar/apis/analytics/youtube-playlists"},{"title":"عدد متابعي إنستجرام المتصلين","api":"GET /analytics/getInstagramOnlineFollowers","href":"/ar/apis/analytics/instagram-follower-count"}]},{"group":"Auto Schedule","pages":[{"title":"نظرة عامة على Auto Schedule","href":"/ar/apis/auto-schedule/overview"},{"title":"تعيين الجدولة التلقائية","api":"POST /auto-schedule/set","href":"/ar/apis/auto-schedule/set-schedule"},{"title":"حذف الجدول التلقائي","api":"DELETE /auto-schedule/delete","href":"/ar/apis/auto-schedule/delete-schedule"},{"title":"عرض قائمة الجدولة التلقائية","api":"GET /auto-schedule/list","href":"/ar/apis/auto-schedule/list-schedule"},{"title":"الحصول على المنشورات المجدولة تلقائيًا المعلقة","api":"GET /auto-schedule/pending","href":"/ar/apis/auto-schedule/pending-auto-schedule"}]},{"group":"Automations","tag":"BETA","pages":[{"title":"نظرة عامة على واجهة برمجة تطبيقات الأتمتة","href":"/ar/apis/automations/overview"},{"title":"إنشاء أتمتة","api":"POST /automations","href":"/ar/apis/automations/create-automation"},{"title":"عرض قائمة الأتمتة","api":"GET /automations","href":"/ar/apis/automations/list-automations"},{"title":"الحصول على أتمتة","api":"GET /automations/:id","href":"/ar/apis/automations/get-automation"},{"title":"تحديث الأتمتة","api":"PUT /automations/:id","href":"/ar/apis/automations/update-automation"},{"title":"حذف الأتمتة","api":"DELETE /automations/:id","href":"/ar/apis/automations/delete-automation"},{"title":"الحصول على نشاط الأتمتة","api":"GET /automations/:id/activity","href":"/ar/apis/automations/get-activity"}]},{"group":"Brand","pages":[{"title":"Brand API: بيانات الحسابات العامة والمنافسين","href":"/ar/apis/brand/overview"}]},{"group":"Comments","pages":[{"title":"نظرة عامة على واجهة برمجة تطبيقات التعليقات","href":"/ar/apis/comments/overview"},{"title":"نشر تعليق","api":"POST /comments","href":"/ar/apis/comments/post-comment"},{"title":"الحصول على التعليقات","api":"GET /comments/:id","href":"/ar/apis/comments/get-comments"},{"title":"حذف التعليقات","api":"DELETE /comments/:id","href":"/ar/apis/comments/delete-comments"},{"title":"الرد على تعليق","api":"POST /comments/reply/:commentId","href":"/ar/apis/comments/reply-to-comment"}]},{"group":"Feed","pages":[{"title":"نظرة عامة على خلاصات RSS","href":"/ar/apis/feeds/overview"},{"title":"إضافة تغذية RSS","api":"POST /feed","href":"/ar/apis/feeds/add-feed"},{"title":"حذف تغذية RSS","api":"DELETE /feed","href":"/ar/apis/feeds/delete-feed"},{"title":"الحصول على خلاصات RSS","api":"GET /feed","href":"/ar/apis/feeds/get-feeds"},{"title":"تحديث خلاصة RSS","api":"PUT /feed","href":"/ar/apis/feeds/update-feed"}]},{"group":"Generate","pages":[{"title":"نظرة عامة على واجهة برمجة تطبيقات التوليد","href":"/ar/apis/generate/overview"},{"title":"توليد نص المنشور","api":"POST /generate/post","href":"/ar/apis/generate/post-text"},{"title":"إعادة صياغة المنشور","api":"POST /generate/rewrite","href":"/ar/apis/generate/rewrite-post"},{"title":"تفريغ فيديو","api":"POST /generate/transcription","href":"/ar/apis/generate/transcribe-video"},{"title":"ترجمة منشور","api":"POST /generate/translate","href":"/ar/apis/generate/translate-post"},{"title":"توليد النص البديل","api":"POST /generate/altText","href":"/ar/apis/generate/image-alt-text"},{"title":"تحليل المشاعر","api":"POST /generate/sentiment","href":"/ar/apis/generate/sentiment"}]},{"group":"Hashtags","pages":[{"title":"نظرة عامة على واجهة الوسوم (Hashtags)","href":"/ar/apis/hashtags/overview"},{"title":"الهاشتاغات التلقائية","api":"POST /hashtags/auto","href":"/ar/apis/hashtags/auto-hashtags"},{"title":"التحقق من الوسوم المحظورة","api":"GET /hashtags/banned","href":"/ar/apis/hashtags/check-hashtags"},{"title":"التوصية بالوسوم","api":"GET /hashtags/recommend","href":"/ar/apis/hashtags/recommend-hashtags"},{"title":"البحث في الوسوم","api":"GET /hashtags/search","href":"/ar/apis/hashtags/search-hashtags"}]},{"group":"History","pages":[{"title":"نظرة عامة على واجهة برمجة تطبيقات السجل","href":"/ar/apis/history/overview"},{"title":"سجل المنشورات","api":"GET /history","href":"/ar/apis/history/get-history"},{"title":"سجل المنشور حسب المعرّف","api":"GET /history/:id","href":"/ar/apis/history/get-history-id"},{"title":"الحصول على سجل المنشورات لمنصة تواصل اجتماعي","api":"GET /history/:platform","href":"/ar/apis/history/history-platform"},{"title":"سجل المنشورات حسب المعرّف الاجتماعي","api":"GET /history/:socialId","href":"/ar/apis/history/history-social-id"}]},{"group":"Links","pages":[{"title":"نظرة عامة على واجهة برمجة تطبيقات الروابط","href":"/ar/apis/links/overview"},{"title":"إنشاء رابط قصير","api":"POST /links","href":"/ar/apis/links/create-short-link"},{"title":"تحديث رابط قصير","api":"PUT /links/:id","href":"/ar/apis/links/update-short-link"},{"title":"تحليلات الروابط","api":"GET /links/:id","href":"/ar/apis/links/link-analytics"}]},{"group":"Listening","pages":[{"title":"واجهة برمجة تطبيقات الاستماع: مراقبة وسائل التواصل الاجتماعي والإشارات","href":"/ar/apis/listen/overview"},{"title":"الحصول على بيانات العلامة التجارية","api":"GET /brand/byUser","href":"/ar/apis/listen/brand-user"},{"group":"Search","pages":[{"title":"البحث في صفحات فيسبوك","api":"GET /brand/search/facebook","href":"/ar/apis/listen/search/fb-page-search"},{"title":"البحث في LinkedIn","api":"GET /brand/search/linkedin","href":"/ar/apis/listen/search/linkedin-search"}]},{"group":"Keyword","pages":[{"title":"البحث عن التغريدات حسب الكلمة المفتاحية","api":"GET /listen/keyword","href":"/ar/apis/listen/keyword/search-tweets"}]}]},{"group":"Media","pages":[{"title":"نظرة عامة على Media API","href":"/ar/apis/media/overview"},{"title":"تحميل صورة أو فيديو","api":"POST /media/upload","href":"/ar/apis/media/upload-media"},{"title":"تحميل ملفات وسائط كبيرة","api":"GET /media/uploadUrl","href":"/ar/apis/media/upload-large-media"},{"title":"التحقق من وجود عنوان URL للوسائط","api":"POST /media/urlExists","href":"/ar/apis/media/verify-media-url"},{"title":"احصل على كل الوسائط في المعرض","api":"GET /media","href":"/ar/apis/media/get-media-in-gallery"},{"title":"تغيير حجم الصورة","api":"POST /media/resize","href":"/ar/apis/media/resize"},{"title":"البيانات الوصفية لملف وسائط","api":"GET /media/meta","href":"/ar/apis/media/get-media-metadata"},{"title":"البحث في صوتيات Instagram","api":"GET /media/instagram/audio/search","href":"/ar/apis/media/search-instagram-audio"},{"title":"الحصول على البيانات الوصفية لصوت Instagram","api":"GET /media/instagram/audio/{audioId}","href":"/ar/apis/media/get-instagram-audio"}]},{"group":"Messages","pages":[{"title":"نظرة عامة على واجهة برمجة تطبيقات الرسائل","href":"/ar/apis/messages/overview"},{"title":"إرسال رسالة","api":"POST /messages/:platform","href":"/ar/apis/messages/send-message"},{"title":"الحصول على الرسائل","api":"GET /messages/:platform","href":"/ar/apis/messages/get-messages"},{"title":"تحديث الرسائل","api":"PUT /messages/:platform/:conversationId","href":"/ar/apis/messages/update-messages"},{"title":"تعيين الرد التلقائي","api":"POST /messages/autoresponse","href":"/ar/apis/messages/set-auto-response"},{"title":"الحصول على الرد التلقائي","api":"GET /messages/autoresponse","href":"/ar/apis/messages/get-auto-response"}]},{"group":"Post","pages":[{"title":"نظرة عامة على واجهة برمجة تطبيقات النشر","href":"/ar/apis/post/overview"},{"title":"واجهة نشر منشور: النشر على أي شبكة اجتماعية","api":"POST /post","href":"/ar/apis/post/post"},{"title":"الحصول على منشور","api":"GET /post/:id","href":"/ar/apis/post/get-post"},{"title":"حذف منشور","api":"DELETE /post","href":"/ar/apis/post/delete-post"},{"title":"تحديث منشور","api":"PATCH /post","href":"/ar/apis/post/update-post"},{"title":"إعادة محاولة منشور","api":"PUT /post/retry","href":"/ar/apis/post/retry-post"},{"title":"نسخ منشور","api":"POST /post/copy","href":"/ar/apis/post/copy-post"},{"title":"النشر المجمّع","api":"POST /post/bulk","href":"/ar/apis/post/bulk-post"},{"group":"Social Networks","pages":[{"title":"الشبكات الاجتماعية المدعومة","href":"/ar/apis/post/social-networks/overview"},{"title":"Bluesky API","icon":"bluesky","href":"/ar/apis/post/social-networks/bluesky"},{"title":"واجهة برمجة تطبيقات صفحة Facebook","icon":"facebook","href":"/ar/apis/post/social-networks/facebook"},{"title":"واجهة Google Business Profile","icon":"google","href":"/ar/apis/post/social-networks/google"},{"title":"Instagram API","icon":"instagram","href":"/ar/apis/post/social-networks/instagram"},{"title":"LinkedIn API","icon":"linkedin","href":"/ar/apis/post/social-networks/linkedin"},{"title":"Pinterest API","icon":"pinterest","href":"/ar/apis/post/social-networks/pinterest"},{"title":"Reddit API","icon":"reddit","href":"/ar/apis/post/social-networks/reddit"},{"title":"Snapchat API","icon":"snapchat","href":"/ar/apis/post/social-networks/snapchat"},{"title":"Telegram API","icon":"telegram","href":"/ar/apis/post/social-networks/telegram"},{"title":"Threads API","icon":"threads","href":"/ar/apis/post/social-networks/threads"},{"title":"TikTok API","icon":"tiktok","href":"/ar/apis/post/social-networks/tiktok"},{"title":"X API","icon":"x-twitter","href":"/ar/apis/post/social-networks/x-twitter"},{"title":"YouTube API","icon":"youtube","href":"/ar/apis/post/social-networks/youtube"}]}]},{"group":"Profiles","pages":[{"title":"نظرة عامة على واجهة برمجة تطبيقات الملفات الشخصية","href":"/ar/apis/profiles/overview"},{"title":"إنشاء ملف تعريف مستخدم","api":"POST /profiles","href":"/ar/apis/profiles/create-profile"},{"title":"حذف User Profile","api":"DELETE /profiles","href":"/ar/apis/profiles/delete-profile"},{"title":"تحديث ملف تعريف مستخدم","api":"PATCH /profiles","href":"/ar/apis/profiles/update-profile"},{"title":"الحصول على ملفات تعريف المستخدمين","api":"GET /profiles","href":"/ar/apis/profiles/get-profiles"},{"title":"إلغاء ربط شبكة تواصل اجتماعي","api":"DELETE /profiles/social","href":"/ar/apis/profiles/unlink-social-network"},{"title":"نظرة عامة على الربط الاجتماعي","description":"كيف يربط مستخدموك حساباتهم الاجتماعية — الأسطح الثلاثة، وجلسة الربط الكامنة خلفها جميعًا، والخيارات المشتركة بينها.","href":"/ar/apis/profiles/social-linking-overview"},{"title":"إنشاء Link Session","api":"POST /profiles/link-sessions","href":"/ar/apis/profiles/create-link-session"},{"title":"الحصول على Link Session","description":"تحقق مما إذا كان عنوان URL لربط الشبكات الاجتماعية قد فُتح، أو لا يزال صالحًا، أو أُبطل.","api":"GET /profiles/link-sessions/{sessionId}","href":"/ar/apis/profiles/get-link-session"},{"title":"إبطال Link Session","api":"DELETE /profiles/link-sessions/{sessionId}","href":"/ar/apis/profiles/revoke-link-session"},{"title":"إنشاء رابط ربط (generateJWT)","api":"POST /profiles/generateJWT","deprecated":true,"href":"/ar/apis/profiles/generate-jwt"}]},{"group":"Reviews","pages":[{"title":"نظرة عامة على Reviews API","href":"/ar/apis/reviews/overview"},{"title":"الحصول على جميع المراجعات","api":"GET /reviews","href":"/ar/apis/reviews/get-reviews"},{"title":"الحصول على مراجعة واحدة","api":"GET /reviews/:id","href":"/ar/apis/reviews/get-one-review"},{"title":"الرد على مراجعة","api":"POST /reviews","href":"/ar/apis/reviews/reply-review"},{"title":"حذف رد على مراجعة","api":"DELETE /reviews","href":"/ar/apis/reviews/delete-review-reply"}]},{"group":"User","pages":[{"title":"نظرة عامة على واجهة برمجة تطبيقات ملف المستخدم","href":"/ar/apis/user/overview"},{"title":"تفاصيل ملف المستخدم","api":"GET /user","href":"/ar/apis/user/profile-details"},{"title":"لوحات Pinterest","api":"GET /user/details/pinterest","href":"/ar/apis/user/pinterest-board"},{"title":"تحديث المستخدم","api":"PATCH /user/:platform","href":"/ar/apis/user/update-user"},{"title":"ملف WhatsApp التجاري","api":"GET /user/details/whatsapp","href":"/ar/apis/user/whatsapp-profile"},{"title":"جلب جميع المستخدمين دفعةً واحدة","api":"GET /user/batch","href":"/ar/apis/user/batch-all-users"}]},{"group":"Utils","pages":[{"title":"حالة طلب المتعاون","api":"GET /post/collaborators/:id","href":"/ar/apis/utils/instagram-get-collaborator"},{"title":"Reddit Flair","api":"GET /post/redditFlair/:subreddit","href":"/ar/apis/utils/reddit-get-flair"},{"title":"عمليات بحث المستخدمين","api":"GET /user/lookups","href":"/ar/apis/utils/user-lookups"},{"group":"YouTube","pages":[{"title":"فئات YouTube","api":"GET /post/youtubeCategories/:region","href":"/ar/apis/utils/youtube-categories"},{"title":"تعيين علامة مائية لـ YouTube","api":"POST /post/youTubeWatermark","href":"/ar/apis/utils/set-youtube-watermark"},{"title":"إزالة العلامة المائية لـ YouTube","api":"DELETE /post/youTubeWatermark","href":"/ar/apis/utils/remove-youtube-watermark"}]}]},{"group":"Validate","pages":[{"title":"نظرة عامة على Validate API","href":"/ar/apis/validate/overview"},{"title":"التحقق من الوسائط","href":"/ar/apis/validate/validate-media"},{"title":"التحقق من طول المنشور","api":"POST /validate/postLength","href":"/ar/apis/validate/check-post-length"},{"title":"التحقق من وجود Subreddit","api":"GET /validate/redditExists/:subreddit","href":"/ar/apis/validate/check-subreddit"},{"title":"الإشراف على المحتوى","api":"POST /validate/moderation","href":"/ar/apis/validate/moderation"},{"title":"التحقق من صحة JSON","api":"POST /validate/json","href":"/ar/apis/validate/validate-json"},{"title":"التحقق من صحة المنشور","api":"POST /validate/post","href":"/ar/apis/validate/validate-post"}]},{"group":"Webhooks","pages":[{"title":"نظرة عامة على Webhooks","href":"/ar/apis/webhooks/overview"},{"title":"إجراءات Webhook","href":"/ar/apis/webhooks/actions"},{"title":"تسجيل Webhook","api":"POST /hook/webhook","href":"/ar/apis/webhooks/register"},{"title":"إلغاء تسجيل Webhook","api":"DELETE /hook/webhook","href":"/ar/apis/webhooks/unregister"},{"title":"تدوير المفتاح السري للتوقيع","api":"POST /hook/webhook/secret","href":"/ar/apis/webhooks/rotate-signing-secret"},{"title":"سرد Webhooks المسجلة","api":"GET /hook/webhook","href":"/ar/apis/webhooks/list"},{"title":"سجل Webhook","api":"GET /hook/history","href":"/ar/apis/webhooks/history"}]}]},{"group":"Multiple Users","pages":[{"title":"خطة Launch: خطة Business متعددة المستخدمين للمبتدئين","href":"/ar/multiple-users/business-launch-overview"},{"title":"نظرة عامة على Business Plan","href":"/ar/multiple-users/business-plan-overview"},{"title":"تكامل المستخدم","href":"/ar/multiple-users/user-integration"},{"title":"تكامل واجهة API للأعمال","href":"/ar/multiple-users/api-integration-business"},{"title":"أداة Ayrshare Connect","href":"/ar/multiple-users/connect-widget"},{"title":"ابنِ نافذة الربط المنبثقة الخاصة بك","href":"/ar/multiple-users/connect-direct-mode"},{"title":"أحداث اكتمال الربط","href":"/ar/multiple-users/link-completion-events"},{"title":"إدارة ملفات مستخدمين متعددة","href":"/ar/multiple-users/manage-user-profiles"}]},{"group":"Dashboard","pages":[{"title":"نظرة عامة على لوحة تحكم Ayrshare","href":"/ar/dashboard/overview"},{"group":"Connect Social Accounts","pages":[{"title":"ربط حسابات وسائل التواصل الاجتماعي","href":"/ar/dashboard/connect-social-accounts/overview"},{"title":"ربط Bluesky","icon":"bluesky","href":"/ar/dashboard/connect-social-accounts/bluesky"},{"title":"ربط فيسبوك","icon":"facebook","href":"/ar/dashboard/connect-social-accounts/facebook"},{"title":"ربط Google Business Profile","icon":"google","href":"/ar/dashboard/connect-social-accounts/google-business"},{"title":"ربط Instagram","icon":"instagram","href":"/ar/dashboard/connect-social-accounts/instagram"},{"title":"ربط LinkedIn","icon":"linkedin","href":"/ar/dashboard/connect-social-accounts/linkedin"},{"title":"ربط Pinterest","icon":"pinterest","href":"/ar/dashboard/connect-social-accounts/pinterest"},{"title":"ربط Reddit","icon":"reddit","href":"/ar/dashboard/connect-social-accounts/reddit"},{"title":"ربط Snapchat","icon":"snapchat","href":"/ar/dashboard/connect-social-accounts/snapchat"},{"title":"ربط مجموعة أو قناة Telegram بـ Ayrshare","icon":"telegram","href":"/ar/dashboard/connect-social-accounts/telegram"},{"title":"ربط Threads","icon":"threads","href":"/ar/dashboard/connect-social-accounts/threads"},{"title":"ربط TikTok","icon":"tiktok","href":"/ar/dashboard/connect-social-accounts/tiktok"},{"title":"إعداد مفتاح X API الخاص بك","icon":"x-twitter","href":"/ar/dashboard/connect-social-accounts/x-twitter-byo-keys"},{"title":"ربط X","icon":"x-twitter","href":"/ar/dashboard/connect-social-accounts/x-twitter"},{"title":"ربط YouTube","icon":"youtube","href":"/ar/dashboard/connect-social-accounts/youtube"}]},{"title":"كيفية نشر منشورات وسائل التواصل الاجتماعي","href":"/ar/dashboard/publish-post"},{"title":"عرض JSON","href":"/ar/dashboard/view-json"},{"title":"إلغاء الوصول إلى وسائل التواصل الاجتماعي","href":"/ar/dashboard/revoke-access"},{"group":"RSS","pages":[{"title":"خلاصات RSS وSubstack وYouTube","href":"/ar/dashboard/automated-rss-feeds"},{"title":"العثور على عنوان URL لتغذية RSS","href":"/ar/dashboard/find-rss"}]}]},{"group":"Additional","pages":[{"group":"What's New At Ayrshare","pages":[{"title":"أحدث التحديثات","href":"/ar/whatsnew/latest"},{"title":"أرشيف التحديثات","href":"/ar/whatsnew/archive"},{"title":"تغييرات API القادمة","mode":"wide","href":"/ar/whatsnew/upcoming-api-changes"}]},{"group":"Errors","pages":[{"title":"نظرة عامة على الأخطاء","href":"/ar/errors/overview"},{"title":"رموز حالة HTTP","href":"/ar/errors/errors-http"},{"title":"رموز أخطاء Ayrshare","href":"/ar/errors/errors-ayrshare"}]},{"title":"Max Pack","mode":"wide","href":"/ar/additional/maxpack"},{"group":"Media Guidelines","pages":[{"title":"متطلبات الصور والفيديو على وسائل التواصل الاجتماعي","href":"/ar/media-guidelines/overview"},{"title":"Bluesky","icon":"bluesky","href":"/ar/media-guidelines/bluesky"},{"title":"صفحات Facebook","icon":"facebook","href":"/ar/media-guidelines/facebook-pages"},{"title":"Google Business Profile","icon":"google","href":"/ar/media-guidelines/google-business-profile"},{"title":"إنستجرام","icon":"instagram","href":"/ar/media-guidelines/instagram"},{"title":"LinkedIn","icon":"linkedin","href":"/ar/media-guidelines/linkedin"},{"title":"Pinterest","icon":"pinterest","href":"/ar/media-guidelines/pinterest"},{"title":"Reddit","icon":"reddit","href":"/ar/media-guidelines/reddit"},{"title":"Snapchat","icon":"snapchat","href":"/ar/media-guidelines/snapchat"},{"title":"Telegram","icon":"telegram","href":"/ar/media-guidelines/telegram"},{"title":"Threads","icon":"threads","href":"/ar/media-guidelines/threads"},{"title":"TikTok","icon":"tiktok","href":"/ar/media-guidelines/tiktok"},{"title":"WhatsApp","icon":"whatsapp","href":"/ar/media-guidelines/whatsapp"},{"title":"X","icon":"x-twitter","href":"/ar/media-guidelines/x-twitter"},{"title":"YouTube","icon":"youtube","href":"/ar/media-guidelines/youtube"}]},{"group":"Packages \u0026 Guides","pages":[{"title":"نظرة عامة على SDKs وأدلة تكامل Ayrshare","mode":"wide","href":"/ar/packages-guides/overview"},{"title":"Airtable","href":"/ar/packages-guides/airtable"},{"title":"Bubble.io","href":"/ar/packages-guides/bubble"},{"title":"Flutter","href":"/ar/packages-guides/flutter"},{"title":"FlutterFlow","href":"/ar/packages-guides/flutterflow"},{"title":"Make","href":"/ar/packages-guides/make"},{"title":"n8n","href":"/ar/packages-guides/n8n"},{"title":"Node.js NPM","href":"/ar/packages-guides/nodejs"},{"title":"Notion","href":"/ar/packages-guides/notion"},{"title":"Python PyPI","href":"/ar/packages-guides/python"},{"title":"Retool","href":"/ar/packages-guides/retool"}]},{"title":"حالة النظام","href":"/ar/additional/status"},{"group":"Testing \u0026 Verification","pages":[{"title":"Hurl","href":"/ar/testing/hurl"},{"title":"نقاط نهاية التحقق (Validation Endpoints)","href":"/ar/testing/validation-endpoints"},{"title":"Postman","href":"/ar/testing/postman"},{"title":"التحقق من المنشورات","href":"/ar/testing/post-verification"}]},{"group":"ISO Codes","pages":[{"title":"رموز الدول","href":"/ar/iso-codes/country"},{"title":"رموز اللغات","href":"/ar/iso-codes/language"}]}]}]},{"anchor":"Help Center","icon":"lightbulb","pages":[{"title":"Help Center","href":"/ar/help-center/overview"}]}]},{"language":"zh-Hans","pages":[{"title":"zh-Hans","href":"/zh-Hans/apis/profiles/create-link-session"}]},{"language":"zh-Hant","pages":[{"title":"zh-Hant","href":"/zh-Hant/apis/profiles/create-link-session"}]}]},"basePath":"","title":"إنشاء Link Session - Ayrshare Docs","buildId":"dpl_BSPUBxEoKhhK7HzXVDPxdPvWx4xc","deploymentId":"dpl_BSPUBxEoKhhK7HzXVDPxdPvWx4xc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-Do6EtGSl.js","utils-id4tQ6My.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-Byrixac4.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-nakYa3Zl.js","snippetPresets-Bq-pUS7h.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-CujTC_9K.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-FneVUsVu.js","shallow-DY9WpUCz.js","getApiPlaygroundDisplay-Bz8WpPfA.js","CodeSnippet-DgCuJg4G.js","CodeSnippets-Dub9c4T0.js","Page-CePXnjd1.js","getPastedJson-xdI8y2XB.js","icon--yVw5vkr.js","MethodPill-C47t7MdS.js","DuplicateIcon-BzwJ2LeC.js","createIcon-BzggGy84.js","DynamicMarkdown-AlxJK8VR.js","SectionHeading-CMlwFxdK.js","axios-vUo_bRtp.js"]}