API fixes: test-email needs its key, zeroFill for the daily summary, complete error answers
POST /v1/test-emailnow checks its Motor Block key, as these docs and the OpenAPI always said. Without a usable key it answers401withcode: "api_key_required", before it looks at the body. It only validates the shape of the request and sends nothing, and we found no calls to it without a key in the last 30 days, so we are aligning it with the documented contract now rather than giving notice for undocumented behaviour.- Daily summary:
zeroFill=true.GET /api/public/v1/motor-blocks/{id}/daily-summary?zeroFill=truereturns one row per day of the window. Days without sends have zero counts andnullrates (no sends, so no rate), and the response carrieszeroFilled: true. Without the parameter nothing changes. - Internal blocks are no longer listed.
GET /api/public/v1/motor-blocksandmotorBlockIdsinwhoamino longer include internal warm-up senders that Motorical runs inside some accounts. They were never yours to manage. - Every operation documents its error answers (
401,403,429where they apply), each with the shared error body andX-Request-Id. The onboarding routes (/api/auth,/api/domains) now also answer every error withcode,messageandrequestId, and their codes are on Errors. - The recipient limit on
POST /v1/sendis shown from the live value, not typed by hand. - Rate-limit headers: the two sets (
X-RateLimit-*for request limits,RateLimit-*for send quotas) are deliberate and both stay; see Rate limits. whoamibilling period now resolves for accounts whose plan was set by an administrator on top of a real subscription.
OpenAPI is now version 1.9.0.
Documentation changed