hosting

GET /v1/sites/{siteId}/mail-log

Messages the site's mail sent or received.

Dukkan hosting wuraren ƙarshe

Tabbatar da Asali

Aiko da maɓallin API a matsayin bearer token. Wannan ma'anar ba ta bayyana takamaiman izini ba a cikin ƙayyadaddun bayanai, don haka ba wa maɓallin ku mafi ƙarancin abin da yake buƙata kuma ku bincika amsar maimakon yin zato.

Wannan wurin ƙarewa ba ya buƙatar ID na ƙungiya. Maɓallin ku ya riga ya gano ƙungiyar da yake ciki, kuma an iyakance amsa a kanta.

Gwada

May gurbin komai da ke cikin kusurwa da ƙimar ka, kuma may gurbin maballi da maballi daga allon sarrafa ka.

curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/mail-log \
  -H "Authorization: Bearer zdk_live_…"

An shiga? Na'urar sarrafa API da ke cikin sashin kulawarka tana cika ainihin lambar ƙungiyarka da maɓallinka naka, sannan tana gudanar da buƙatar a kan ainihin API don haka zaka iya ganin amsar gaske. Buɗe wannan tashar a cikin na'urar kula da API

Bayani

Paginated by the vendor, so `has_more` is its own answer rather than arithmetic on `total`. An empty page for a site with no mail is a normal state, not a failure. ⛔ Requires **`sites.panel_access`**, not `sites.view` — unlike every other read on this panel. Sender, recipient and subject lines are the customer's correspondence, the same class of data as their files and their database, and `sites.panel_access` is the key that already gates both. A principal holding only `sites.view` gets a 404.

Sigogi

SunaNau'iAna buƙataAbin da yake
siteId (path)UuidEhSite ID (UUIDv7).
period (query)string<hourly, daily, weekly, monthly>A'aHow far back to look, in the vendor's own four buckets.
direction (query)string<incoming, outgoing>A'a⛔ One direction at a time — the vendor has no "both", so a client showing a combined view must make two calls and say which is which.
search (query)stringA'aFree-text match on sender, recipient or subject.
page (query)integerA'a
page_size (query)integerA'a

Martani

SunaNau'iAna buƙataAbin da yake
dataSiteMailLogEntry[]Eh
totalintegerEh
pageintegerEh
page_sizeintegerEh
has_morebooleanEhThe vendor's own flag, not arithmetic on `total`.
periodstringEh
directionstringEh
periodsstring[]Eh
directionsstring[]Eh

Kuskuren da wannan matsaya za ta iya maido wa

401 · 403 · 404 · 422 · 429 · 503