links

POST /v1/connector/claim

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

Alle links-eindpunten

Authenticatie

Dit eindpunt is openbaar. Het vereist geen inloggegevens en geen organisatie; het is wat onze eigen marketingwebsite en AI-antwoordmachines uitlezen.

Dit eindpunt vereist geen organisatie-id. Uw sleutel identificeert al de organisatie waartoe deze behoort, en het antwoord is hierop afgestemd.

Probeer het

Vervang alles tussen punthaakjes door uw eigen waarden en de sleutelplaatsvervanger door een sleutel uit uw dashboard.

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> }'

Ingelogd? De API-console in je dashboard vult je echte organisatie-id en je eigen sleutel in, en voert het verzoek uit tegen de live API zodat je de daadwerkelijke respons kunt zien. Open dit eindpunt in de API-console

Details

**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.

Aanvraaglichaam

NaamTypeVerplichtWat dit is
codestringJa
site_urlstringJa
usernamestringJa
application_passwordstringJa
site_namestringNee

Reactie

NaamTypeVerplichtWat dit is
site_idstringJa
primary_domainstringJa
detailstringJa

Fouten die dit eindpunt kan retourneren

422 · 429