links
POST /v1/connector/claim
Redeem a pairing code — called by the Zinn® WordPress connector plugin.
ማረጋገጫ
ይህ ማቆሚያ (endpoint)ይፋዊ ነው። ምንም ምስክርነት (credential) ወይም ድርጅት አይወስድም — የራሳችን የግብይት ጣቢያ እና የAI መልስ ሞተሮች የሚያነቡት ነው።
ይህ ኤንድፖይ መክፈቻ (endpoint) የድርጅት መታወቂያ (organisation id) አይወስድም። የእርስዎ ቁልፍ (key) እሱ የሚመለከተውን ድርጅት አስቀድሞ ይለያል፣ እና ምላሹም ለዚሁ የተወሰነ ነው።
ሞክሩት
በቅንፍ ውስጥ ያለውን ማንኛውንም ነገር በራስዎ እሴቶች ይተኩ፣ እና ቁልፍ ቦታ ያዢውን ከዳሽቦርድዎ በመጣ ቁልፍ ይተኩ።
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 ኮንሶል ውስጥ ይክፈቱ
ዝርዝሮች
**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.
የጥያቄ አካል
| ስም | ዓይነት | የሚያስፈልግ | ምንነቱ |
|---|---|---|---|
code | string | አዎ | — |
site_url | string | አዎ | — |
username | string | አዎ | — |
application_password | string | አዎ | — |
site_name | string | አይ | — |
ምላሽ
| ስም | ዓይነት | የሚያስፈልግ | ምንነቱ |
|---|---|---|---|
site_id | string | አዎ | — |
primary_domain | string | አዎ | — |
detail | string | አዎ | — |
ይህ ማብቂያ ሊመልሳቸው የሚችሉ ስህተቶች
422 · 429