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

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

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

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

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

Испробајте

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

curl -X GET https://api.zinndigital.com/v1/mail/services \
  -H "Authorization: Bearer zdk_live_…"

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

Детаљи

Every domain the organization has email on, cursor-paginated and RLS-scoped. Requires mail.view. ⚖️ A deleted service is not listed (W43-99, D26270 — owner ruling 2026-09-15: no row that can never be actioned). It has no control left, and the row records no deletion date to window on, so it is left out rather than shown for a period. GET /v1/mail/services/{mailServiceId} still answers for it.

Параметри

НазивТипОбавезноШта је ово
cursor (query)stringНеOpaque cursor from a previous page's page.next_cursor.
limit (query)integerНеMaximum items to return (page size).
org_id (query)UuidНеRestrict to one organization in scope. Narrowing only — the value is intersected with what the caller may already read, so an organization outside their subtree filters to…
fqdn (query)stringНеReturn only the service on this exact hostname (normalised: lowercased, trailing dot stripped). ⛔ A site surface must use this rather than searching the list. The list is…
site_id (query)stringНеReturn only the mail services on the hostnames this site serves. Resolved through the site's domains, not through a stored column — mail attaches to a domain and a domain…
worker_id (query)stringНеReturn only the mail services belonging to the sites on this fleet worker. Mail has no server of its own — it runs at the mail backend, not on the box serving the website — so…
compute_server_id (query)stringНеAs worker_id, for a cloud ComputeServer rather than a fleet worker. The two are different machine kinds and are not interchangeable.

Одговор

НазивТипОбавезноШта је ово
dataMailService[]Да—
pagePageMetaДа—

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

401 · 403 · 429