reseller

POST /v1/reseller/services/{siteId}/sso

A one-time sign-in link into the panel for this client.

جميع نقاط نهاية reseller

المصادقة

أرسل مفتاح واجهة برمجة التطبيقات (API key) كرمز حامل (bearer token). يجب أن يحمل المفتاح إذن reseller.provision؛ والمفتاح الذي لا يملكه يُرفض بالرمز 403 وليس 404.

حيث يتم إدخال معرف مؤسستك

تأخذ نقطة النهاية هذه org_id كمعلمة استعلام. اتركه فارغاً ليغطي الاستدعاء شجرة مستأجريك بالكامل، أو أرسله لتضييق نطاق الاستدعاء ليشمل منظمة واحدة.

معرف مؤسستك موجود على شاشة مفاتيح واجهة برمجة التطبيقات (API) في لوحة تحكمك، بجوار المفتاح نفسه. وهو نفس المعرف في كل طلب تجريه.

جربه الآن

استبدل أي شيء بين أقواس زاوية بقيمك الخاصة، والعنصر النائب للمفتاح بمفتاح من لوحة تحكمك.

curl -X POST https://api.zinndigital.com/v1/reseller/services/{siteId}/sso \
  -H "Authorization: Bearer zdk_live_…"

هل سجلت الدخول؟ تقوم وحدة تحكم واجهة برمجة التطبيقات في لوحة التحكم الخاصة بك بربط معرف مؤسستك الحقيقي ومفتاحك الخاص، وتنفذ الطلب مقابل واجهة برمجة التطبيقات المباشرة لتتمكن من رؤية الاستجابة الفعلية. افتح هذه النهاية الطرفية في وحدة تحكم API

التفاصيل

Mints a single-use, short-lived URL that drops your client straight into their own account in the panel, already signed in, with no password to remember. This is what the "Log in to your hosting" button in your billing panel or on your WordPress site opens. Requires `reseller.provision`. The ticket travels in the URL **fragment**, so it is never sent to a server, never appears in a `Referer` and never reaches an access log. It is good for a few minutes and can be redeemed once. The session it opens is confined to that one client organization and is audit-logged against you, not against them.

المعلمات

الاسمالنوعمطلوبما هو هذا
siteId (path)UuidنعمSite ID (UUIDv7).
org_id (query)UuidلاWhich of your organizations this applies to. Required only when you belong to more than one here — otherwise it is inferred, and an id outside your direct memberships is a 404 r…

الاستجابة

الاسمالنوعمطلوبما هو هذا
urlstringنعمOpen this in the client's browser. The single-use ticket is in the URL fragment, so it never reaches a server log. Redeem once, within `expires_at`.
expires_atstringنعم
client_org_idUuidلاUUIDv7 identifier — sortable by creation time (docs/02 §8).

الأخطاء التي يمكن أن تُرجعها نقطة النهاية هذه

401 · 403 · 404 · 409 · 429 · 503