links

POST /v1/connector/claim

Redeem a pairing code — called by the Zinn® WordPress connector plugin.

כל נקודות הקצה מסוג links

אימות

נקודת קצה זו היא ציבורית. היא אינה דורשת שורת פרטי זיהוי ואינה דורשת ארגון – זהו המידע שאתרי השיווק ומנועי התשובות מבוססי ה-AI שלנו קוראים.

נקודת קצה זו אינה דורשת מזהה ארגון. המפתח שלך כבר מזהה את הארגון שאליו הוא שייך, והתגובה מוגבלת אליו בלבד.

נסה זאת

החלף כל דבר בסוגריים זוויתיים בערכים משלך, ואת מציין מיקום המפתח במפתח מלוח הבקרה שלך.

curl -X POST https://api.zinndigital.com/v1/connector/claim \
  -H "Content-Type: application/json" \
  -d '{ "code": <string>, "site_url": <string>, "username": <string>, "application_password": <string> }'

מחובר? קונסולת ה-API בלוח הבקרה שלך מזינה את מזהה הארגון האמיתי שלך ואת המפתח שלך, ומריצה את הבקשה מול ה-API הפיזי כך שתוכל לראות את התגובה בפועל. פתח נקודת קצה זו במסוף ה-API

פרטים

**Unauthenticated by necessity**: the caller is a WordPress plugin on the customer's own server, which has no session with us. The pairing code identifies the organisation, is single-use, and expires in thirty minutes. The credential it carries is verified against the site before anything is stored. Every invalid-code failure returns the same sentence, so a caller cannot use this endpoint to discover whether a code exists.

גוף הבקשה

שםסוגנדרשמה זה
codestringכן
site_urlstringכן
usernamestringכן
application_passwordstringכן
site_namestringלא

תשובה

שםסוגנדרשמה זה
site_idstringכן
primary_domainstringכן
detailstringכן

שגיאות שנקודה קצה זו עשויה להחזיר

422 · 429