WoyraDocs
Get an API key

Usage per mailbox for a period

GET/v1/mailboxes/usage

Mailboxes · Requires an API key

Stored bytes at the end of the period, messages sent and received in it, and whether the seat was active at all: a provisioned mailbox nobody used is not billable. Computed from facts that are never rewritten, so a period that has closed reports the same numbers every time it is asked. Requires mailboxes:manage.

Parameters

NameInDescription
mailbox_idrequiredqueryRepeat for each mailbox, up to 500.
period_startrequiredquery
period_endrequiredquery

Example

curl https://api.woyra.io/v1/mailboxes/usage \
  -H "Authorization: Bearer $WOYRA_KEY"

Response

200 One row per mailbox.

FieldTypeDescription
object"list"
dataarray of MailboxUsage

Errors

StatusCodes
400invalid_request, unsupported_version

Also in Mailboxes