reseller

POST /v1/reseller/brand/sending-domain

Send your clients' e-mail from your own domain.

Све reseller крајње тачке

Сва документација за програмере →

Аутентификација

Пошаљите API кључ као bearer токен. Кључ мора имати дозволу reseller.manage; кључ без ње се одбија уз 403, а не 404.

Где се уноси ID ваше организације

Ова крајња тачка прихвата org_id као параметар упита. Изоставите га и позив ће обухватити цело подстабло вашег закупа; пошаљите га да бисте сузили позив на једну организацију.

Идентификатор ваше организације се налази на екрану са API кључевима на вашој контролној табли, поред самог кључа. То је исти идентификатор у сваком позиву који упутите.

Испробајте

Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.

curl -X POST https://api.zinndigital.com/v1/reseller/brand/sending-domain \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "domain": <string> }'

Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом API-ју како бисте могли да видите стварни одговор. Отворите ову крајњу тачку у API конзоли

Детаљи

Registers a sending domain and returns the DNS records to publish. Requires reseller.manage. ⛔ This is the largest single white-label leak and no template change could close it. Everything inside a notification was already resolved to your brand — the name, the call-to-action link — while the envelope still read Zinn Digital® Billing <billing@zinndigital.com>, which is the line your client actually looks at. ⛔ Attaching does not switch the sender. Publish the records, then call /verify; only a successful verification moves your mail onto your domain, because mail from an unverified domain does not arrive. A domain is already attached ⇒ 409. Remove it first — replacing it silently would orphan the previous one at the provider.

Параметри

НазивТипОбавезноШта је ово
org_id (query)UuidНе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 agency…

Тело захтева

НазивТипОбавезноШта је ово
domainstringДаJust the domain — acme.com or mail.acme.com, with no scheme and no path.

Одговор

НазивТипОбавезноШта је ово
domainstringДа—
verifiedbooleanДаThe mail provider's answer. Never inferred from domain being set.
providerstringДа—
provider_statusstringДаThe provider's raw status word, for display. Never branch on it.
recordsBrandDnsRecord[]Да—

Грешке које ова крајња тачка може вратити

401 · 403 · 409 · 422 · 429 · 503