Namespaces

Get namespace usage

Counts the messages the namespace sent and received in the window that count toward usage, by channel, with the same statuses as GET /v1/organizations/usage. A message counts toward the namespace it was sent or received in: that of the sender, mailbox, or key it used. The organization is billed for every namespace; read this to charge your own customer.

get/v1/namespaces/{id}/usage

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/namespaces/{id}/usage
  • Auth: API key in header x-api-key

Path parameters

idstring required

Query parameters

afterstring nullable
beforestring nullable

Response

NamespaceUsage

namespaceIdstring required
periodStartstring required
periodEndstring required
emailCountnumber required
totalMessagesnumber required

Changes

No recorded changes to this operation across all 1 revision of this API.