GET /v1/mail/services/{mailServiceId}/connection-settings
IMAP and SMTP settings for a mail client.
Аутентификация
API кілтін bearer токені ретінде жіберіңіз. Кілтте mail.view рұқсаты болуы тиіс; онсыз кілтке 404 емес, 403 қатесі қайтарылады.
Бұл соңғы нүкте ұйым идентификаторын қабылдамайды. Сіздің кілтіңіз оның қай ұйымға тиесілі екенін өзі анықтайды және жауап соған шектеледі.
Әрекет етіп көру
Бұрыштық жақшалардағы кез келген нәрсені өз мәндеріңізбен, ал кілт орналастырушысын басқару тақтасынан алынған кілтпен алмастырыңыз.
curl -X GET https://api.zinndigital.com/v1/mail/services/{mailServiceId}/connection-settings \
-H "Authorization: Bearer zdk_live_…"Жүйеге кіргенсіз бе? Бақылау тақтасындағы API консолі ұйымыңыздың нақты идентификаторы мен жеке кілтіңізді автоматты түрде толтырады да, нақты жауапты көре алуыңыз үшін сұрауды тікелей жұмыс істеп тұрған API арқылы орындайды. Бұл соңғы нүктені API консолінде ашыңыз
Мәліметтер
The hostnames and ports a customer types into Apple Mail, Outlook or a phone. For Zinn®'s own email these are our hostnames — an environment that has not been given them returns 503 rather than inventing names or naming the backend. For a custom provider they are the declared ones, and a declaration with no client hostnames is a 422 that says to ask the provider rather than an invented name. A zinn service under a white-label account is also 422: our hostnames must not reach a reseller's client (W40-MAIL). Requires mail.view.
Параметрлер
| Аты | Tүрі | Міндетті | Мазмұны |
|---|---|---|---|
mailServiceId (path) | Uuid | Иә | Email service ID (UUIDv7). |
Жауап
| Аты | Tүрі | Міндетті | Мазмұны |
|---|---|---|---|
imap_host | string | Иә | — |
imap_port | integer | Иә | — |
imap_ssl | boolean | Иә | — |
smtp_host | string | Иә | — |
smtp_port | integer | Иә | — |
smtp_starttls | boolean | Иә | — |
Бұл соңғы нүкте қайтара алатын қателер
401 · 403 · 404 · 429 · 503