Rate limits and plan limits

Request rate limits and their headers, retrying 429 and 503, plan limits and modules, the Free plan, daily sends, and reading usage.

Every tenant runs under a plan that sets its request rate and its count limits; every plan offers every module. This page covers what each limit counts, what answers when you reach it, and how to read where you stand with GET /v1/usage.

Request rate

Requests count against two fixed one-minute windows from the plan:

  • one for the whole tenant (apiCallsPerMinute), every credential together;
  • one per credential (apiCallsPerMinutePerKey): each API key, account token, OAuth grant or console user on its own, so one busy key cannot starve the others.

A request counts on both windows or on neither. Over either, it is refused with 429 rate_limited and a Retry-After header in seconds.

A counted request answers the state of whichever window has fewer requests left:

HeaderMeaning
RateLimit-LimitRequests the window allows.
RateLimit-RemainingRequests the window still admits.
RateLimit-ResetSeconds until the window ends.
Retry-AfterOn a 429 or 503: seconds to wait before trying again.

The RateLimit-* headers are absent:

  • on plans without request limits;
  • on the 429 refusing a key whose own window is already spent before the request is read (it carries only Retry-After);
  • while the rate limiter's store is unreachable, when requests are let through uncounted.

Retry 429 and 503

AnswerCauseRetry
429 rate_limitedThe tenant's or the credential's window is spent.After Retry-After, when the window ends.
429 too_many_requestsThe credential has too many requests in flight at once.After Retry-After.
429 provider_throttledThe mail or calendar provider asked Workwae to slow down.After Retry-After when the provider named a wait.
503 overloadedThe API is shedding load.After Retry-After.

rate_limited, too_many_requests and overloaded are answered before the request does anything, so retrying is safe.

The SDK retries for you

The TypeScript SDK retries 429 and 503 answers twice by default. It waits for Retry-After, or backs off exponentially with jitter when there is none, and throws instead when Retry-After exceeds maxDelayMs (60 seconds). Tune it with createClient({ retry: { maxRetries, maxDelayMs } }).

Concurrency and abuse limits

Beyond the plan, each API process limits how much of it one caller takes:

  • Past 16 requests in flight for one credential, a request answers 429 too_many_requests. A download counts until its body is sent.
  • When the process is overloaded, a request answers 503 overloaded.
  • A client address that fails authentication too often in a minute has its bearer tokens refused with rate_limited until the minute ends, except API keys that authenticated recently.
  • POST /v1/accounts/{accountId}/sync allows 30 requests per account per minute; past it, 429 rate_limited.

Downloads are sent chunked, without Content-Length. Sizes are in the message's size, each attachment's size and an export's bytes.

Plan limits

Count limits are in plan.limits; null means unlimited. They are abuse ceilings: usage between what the base fee includes (plan.limits.included) and the limit is billed as overage.

LimitCountsPast it
maxAccountsAccounts not deleted, whatever their status.Connecting another account answers 403 plan_limit_accounts. Connected accounts keep syncing.
sendsPerDaySends queued per UTC day.403 plan_limit_sends. See Daily sends.
emailValidationsPerDayAddresses the email validation provider checks per UTC day. Results reused from the cache are free.A validation whose addresses to check do not all fit answers 403 plan_limit_validations; nothing is checked. Refused until 00:00 UTC.
webhookEndpointsWebhook endpoints.Adding another answers 403 plan_limit_webhooks. Existing endpoints keep delivering.
storageBytesStored message content, in bytes.Storing more answers 403 plan_limit_storage.
bodyStorageAllowedWhether body storage is available at all.Setting body storage to cache or full answers 403 plan_limit_storage.
apiCallsPerMinute, apiCallsPerMinutePerKeyRequests per minute.429 rate_limited. See Request rate.

A hosted or headless connect flow stopped by the account limit returns to your redirectUri with status=error&error=plan_limit_accounts.

A tenant without an assigned plan runs under the platform defaults (plan.id is null). A canceled subscription falls back to them too.

The Free plan

Where billing is on, a workspace without a subscription is on the Free plan (plan.name is Free) and is billed nothing, so what it includes (plan.limits.included) is a hard cap, not an allowance with overage. Past one, the request is refused until it renews or the workspace subscribes:

IncludedCountsPast it
mailAccounts, calendarContactsAccounts, meetingAccountsLive accounts by what they sync, as daily usage counts them.403 plan_limit_accounts for whatever raises a count: a new account, or turning on syncing or a module. A count already past its cap, such as after a cancellation, stays.
sendsPerMonthSends queued in the UTC calendar month.403 plan_limit_sends.
storageBytesStored message content (plan.limits.storageBytes is already the lower of this and the platform's limit).403 plan_limit_storage.
validationCreditsEmail validation credits, granted once a UTC month.402 validation_credits_exhausted. Credit packs need a plan: buying one answers 409 validation_credit_pack_unavailable.
aiClassificationsPerMonthReplies read by AI in the UTC calendar month.Replies are no longer read.
aiDraftsPerMonthDrafts written by AI in the UTC calendar month.POST /v1/ai/draft answers 403 plan_limit_ai.

A billed plan has no such cap: usage past its included amounts is billed. The defaults are set by the operator of the deployment.

The Free plan covers one workspace per owner. Another workspace of the same owner that has no plan needs a plan: its plan.name in usage is No plan and every cap above is zero, so what adds an account, a send, an AI call or an email validation answers 402 plan_required instead of the codes above. Reading, settings, members, billing and export keep working, as do the accounts already connected. The Free workspace is the owner's first one without a plan; a workspace that subscribes (or is deleted) hands the slot to their next one, and a canceled subscription is back on Free only if the owner has no other Free workspace. Choosing a plan under Billing in the console makes the workspace usable.

Daily sends

sendsPerDay counts messages as they are queued, per UTC day:

  • Past it, a send answers 403 plan_limit_sends until 00:00 UTC.
  • In a mail merge, the entries beyond what the day has left fail with plan_limit_sends; the others are queued.
  • current.sendsToday in usage is the count the limit checks.

The MCP send policy can set its own dailySendLimit per credential, up to 10,000, on top of the plan's.

Past-due payment

When a tenant's payment is past due beyond the grace period, new sends and new accounts answer 402 billing_past_due until an invoice is paid. Sends already queued or scheduled still go out, and sync and reads continue.

Modules

Every plan offers every module: mail, calendar, contacts, tracking, ai, meetings and sharedMailboxes. A workspace's owner turns each on or off in the console under Billing, Settings; the change applies at once (with a subscription, turning one off takes effect at the end of the billing period). Tracking is free. Tracking, AI and shared mailboxes ride on mail: without it they are off too.

Without a module (one the workspace has turned off):

  • Its routes answer 403 plan_module_unavailable: Mail (mailboxes, messages, threads, drafts, sends, mail merges, identities, templates, suppression lists, search), Calendar, Contacts, meeting apps and connections, shared mailboxes, AI drafts, and tracking asked for on a send.
  • Its settings have no effect: no mail, calendar or contacts sync, no mail, calendar or contacts scopes on connect, no tracking defaults on sends, no reply classification.
  • Without mail, no mail events are produced by sync or tracking hits (a send queued earlier still goes out). Webhook endpoint filters naming mail events stay valid; they just receive nothing.
  • Without mail, IMAP and SMTP accounts (POST /v1/imap-accounts, the hosted IMAP form, mailAccess: "imap") cannot be connected: they answer plan_module_unavailable. CalDAV and CardDAV exist only on IMAP accounts, so there is no calendar-only IMAP connection; one connected earlier keeps syncing its calendar and contacts.
  • A grant made without mail scopes needs a reconnect once the workspace has mail again: the account's mail sync reports that the grant does not include mail access.
  • Shared-mailbox accounts added before sharedMailboxes was turned off keep syncing and sending like any other account. Only adding new ones, and asking for the shared mailbox scope on connect, is refused.

Read usage

GET /v1/usage (read scope) returns the effective plan and the tenant's usage against it.

curl "https://api.workwae.com/v1/usage?from=2026-10-01&to=2026-10-18" \
  -H "Authorization: Bearer $WORKWAE_API_KEY"

from and to are UTC days, both included:

  • Leave both out for the last 30 days, ending today. from alone runs to today; to alone covers the 30 days ending on it.
  • The range spans at most 366 days.
  • A range that starts after it ends, or after today when to is omitted, answers 400 invalid_range.
FieldMeaning
planThe effective plan: id (null for the platform defaults), name and limits. limits.included is what the base fee covers, including how many mailAccounts, calendarContactsAccounts and meetingAccounts (null: all); limits.pricing is null when the plan is not billed.
currentWhere the tenant stands now: accounts (not deleted, what maxAccounts counts), webhookEndpoints, sendsToday (queued today, what sendsPerDay counts), emailValidationsToday (provider checks today, what emailValidationsPerDay counts), validationCredits (the prepaid email validation credits: included, includedExpiresAt and purchased; null where credits are not enforced) and storedBytes (the last storage listing plus content stored since).
daysOne entry per UTC day that had usage, oldest first. Days without usage are absent. Today's counters are live.

Each day counts:

FieldCounts
liveAccountsHighest number of active accounts sampled that day, whatever they sync.
mailAccountsHighest number of live accounts syncing mail. AI and shared mailboxes bill on this count.
calendarContactsAccountsHighest number of live accounts syncing calendar, contacts or both; an account with both counts once.
meetingAccountsHighest number of live accounts with a Zoom or Webex connection.
apiCallsCalls per scope (read, write, send, admin).
sendsMessages delivered. sendsPerDay counts messages as they are queued, which can be earlier.
webhookDeliveriesSuccessful webhook deliveries.
aiClassificationsAnswers from the AI gateway that classified a reply (including an out-of-office reply's return date).
aiDraftsAnswers from the AI gateway that wrote text: drafts.
emailValidationsAddresses the email validation provider checked. Results reused from the cache are not counted.
storedBytesObject storage from that day's listing; null until the listing has run.

On this page