mail

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

Create a mailbox.

Të gjitha pikat e skajshme mail

Autentifikimi

Drgoni një çelës API si një token mbajtës. Çelësi duhet të ketë lejen mail.manage; një çelës pa të refuzohet me 403, jo 404.

Ky pikëndalim nuk pranon id të organizatës. Çelësi juaj tashmë identifikon organizatën së cilës i përket dhe përgjigjja kufizohet vetëm për atë.

Provoje

Zëvendësoni çdo gjë brenda kllapave këndore me vlerat tuaja dhe vendbanuesin e çelësit me një çelës nga paneli juaj.

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

Jeni kyçur? Konsola e API-së në panelin tuaj plotëson ID-në tuaj reale të organizatës dhe çelësin tuaj, dhe ekzekuton kërkesën kundrejt API-së live, kështu që ju mund të shihni përgjigjen aktuale. Hapni këtë pikë fundore në konsolën e API-së

Detajet

Creates `local@domain` and returns it **with its password, once**. The password is never stored and cannot be read back — a lost one is replaced by `resetMailboxPassword`, not recovered. `password` is `null` when the backend reconciled to a mailbox that already existed and refused to rotate a live password; show that as "we could not display a password", never as a blank one. Requires `mail.manage`. Fails `409` on a duplicate address, and `422` when the service is not live yet or the domain is at its mailbox ceiling.

Parametrat

EmriLlojiKërkohetÇfarë është kjo
mailServiceId (path)UuidPoEmail service ID (UUIDv7).

Trupi i kërkesës

EmriLlojiKërkohetÇfarë është kjo
localstringPoThe part before the `@`.
sendbooleanJo
receivebooleanJo

Përgjigja

EmriLlojiKërkohetÇfarë është kjo
mailboxMailboxPoOne mailbox. Never carries a password — see `MailboxCreated`.
passwordobjectPoThe password, shown once. `null` when the backend reconciled to a mailbox that already existed and refused to rotate a live password.

Gabimet që ky pikëndalim mund të kthejë

401 · 403 · 404 · 409 · 422 · 429 · 503