reseller
POST /v1/reseller/brand/panel-hostname/verify
Check whether your panel address is serving.
Autentifikacija
Pošaljite API ključ kao bearer token. Ključ mora imati dozvolu reseller.manage; ključ bez nje se odbija sa 403, a ne sa 404.
Gde ide ID vaše organizacije
Ova krajnja tačka prihvata org_id kao parametar upita. Izostavite ga i poziv obuhvata celokupno stablo vašeg zakupca; pošaljite ga da biste suzili poziv na jednu organizaciju.
ID vaše organizacije nalazi se na ekranu sa API ključevima u vašoj kontrolnoj tabli, pored samog ključa. To je isti ID u svakom pozivu koji uputite.
Isprobajte
Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.
curl -X POST https://api.zinndigital.com/v1/reseller/brand/panel-hostname/verify \
-H "Authorization: Bearer zdk_live_…"Prijavljeni ste? API konzola na vašoj kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli
Detalji
Asks the edge for its status **and fetches the URL**, and only says yes when both agree. Requires `reseller.manage`. ⛔ The edge's own `active` is not the answer. Measured 2026-08-17: a custom hostname reached `active` with a valid certificate for the customer's name and returned **HTTP 522** to every visitor, because a certificate is not a route. Trusting the status word would have put a dead link in every one of that reseller's clients' e-mail. `errors` carries the edge's own words when it is not progressing.
Parametri
| Naziv | Vrsta | Obavezno | Šta je ovo |
|---|---|---|---|
org_id (query) | Uuid | Ne | The organization this call acts on. Optional for a caller with exactly one direct membership; **required** for anyone with more than one — which is every reseller and every agen… |
Odgovor
| Naziv | Vrsta | Obavezno | Šta je ovo |
|---|---|---|---|
hostname | string | Da | — |
active | boolean | Da | Measured by fetching it, not read off the edge's status. See `ResellerBrand.panel_hostname_active`. |
provider_status | string | Da | — |
records | BrandDnsRecord[] | Da | — |
errors | string[] | Ne | The edge's own complaints, verbatim, on the verify response — *"custom hostname does not CNAME to this zone"* is a sentence a customer can act on in thirty seconds, where "pendi… |
Greške koje ovaj krajnji tačka može da vrati
401 · 403 · 404 · 429 · 503