links
POST /v1/connector/claim
Redeem a pairing code — called by the Zinn® WordPress connector plugin.
प्रमाणीकरण
हा एंडपॉइंट सार्वजनिक आहे. याला कोणतीही क्रेडेन्शियल आणि कोणतेही ऑर्गनायझेशन लागत नाही — हे तेच आहे जे आमची स्वतःची मार्केटिंग साइट आणि AI आन्सर इंजिने वाचतात.
या एंडपॉइंटला कोणतीही संस्था आयडी (organisation id) लागत नाही. तुमची की (key) आधीच ती कोणत्या संस्थेशी संबंधित आहे हे ओळखते आणि प्रतिसाद त्यानुसार मर्यादित केला जातो.
प्रयत्न करा
कोनसांस्कृतिक कंसात (<>) असलेली कोणतीही गोष्ट तुमच्या स्वतःच्या मूल्यांनी बदला आणि 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 कन्सोल तुमची खरी संस्था आयडी आणि तुमची स्वतःची की आपोआप भरतो आणि लाइव्ह 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