mail

POST /v1/mail/services/{mailServiceId}/responders

Set an auto-reply on a mailbox.

Gbogbo àwọn mail endpoints

Gbogbo àwọn ìwé àṣẹ olùgbékalẹ̀ àgbékalẹ̀

Ìfàṣẹ́pọ̀

Fi bọ́ọ̀lù (bearer token) ranṣẹ gẹ́gẹ́ bí kọ́kọ́rọ́ API. Kọ́kọ́rọ́ náà gbọ́dọ̀ ní ìyọ̀ǹda mail.manage; a ó kọ̀ ọ́ silẹ pẹlu 403, kii ṣe 404, ti kọ́kọ́rọ́ náà kò bá ní i.

Ojú abánisọ̀rọ̀ yìí kò gba id ajọ kankan. Kọ́kọ́rọ́ rẹ ti mọ ajọ ti o jẹ ti e, a o si fèsì nipa rẹ̀.

Gbiyanju rẹ

Rọ́pọ̀ èyíkéyìí nínú àwọn àmì ìtọ́ka < > pẹ̀lú iye tirẹ̀, àti àmì ìdánimọ̀ bọ́tìnnì náà pẹ̀lú bọ́tìnnì kan láti inú dásibọ̀ọ̀dù rẹ.

curl -X POST https://api.zinndigital.com/v1/mail/services/{mailServiceId}/responders \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "local": <string>, "content": <string> }'

Ṣé o ti wọlé? Iwọ̀n api ní nú ìgbékalẹ̀ rẹ kún id àjọ gidi rẹ ati bọtini tirẹ, o si nṣiṣẹ ibeere na lòdì si api gidi ki o le rii esi gidi na. Ṣí ojú abáná yìí sílẹ̀ nínú kọnsólù API

Àwọn kúlẹ̀kúlẹ̀

Idempotent on local: re-posting for the same mailbox reconciles to the existing responder rather than creating a second one, which is the backend's own natural key. Requires mail.manage.

Àwọn ìpìlẹ̀

OrúkọIruTí a nílòKini o jẹ
mailServiceId (path)UuidBẹẹniEmail service ID (UUIDv7).

Akoonu ibeere naa

OrúkọIruTí a nílòKini o jẹ
localstringBẹẹniThe mailbox to auto-reply for.
subjectstringBẹẹkọ
contentstringBẹẹni
start_timestringBẹẹkọRFC 3339. Omit or null for no schedule - see MailResponder.
end_timestringBẹẹkọRFC 3339, and must be after start_time when both are given.

Idahun

OrúkọIruTí a nílòKini o jẹ
idstringBẹẹniThe mail backend's identifier - the handle DELETE needs.
localstringBẹẹniThe part before the @.
addressstringBẹẹniThe mailbox this replies for.
subjectstringBẹẹni
contentstringBẹẹniThe reply body.
start_timestringBẹẹniWhen the auto-reply starts. null when unscheduled (it replies from now on). ⭐ This used to be declared "Opaque - do not parse, compare or render as a date" (#664), out of a…
end_timestringBẹẹniWhen the auto-reply stops. null to run until switched off.

Awọn aṣiṣe ti ibudo ipari yii le da pada

401 · 403 · 404 · 422 · 429 · 503