Access is invite-only during beta. Once invited, create a key to personalize these examples. Production sending requires a separate review.
Send emails with Dart
Install the Dart SDK from GitHub and call emails.send.
emails.send posts to POST /api/v1/emails. Pass teamId on the constructor. GET /users/me does not return a team id.
Open pull requests on postshiba/sdks.
Cluster send accepts Idempotency-Key and sandbox.
Errors and throttling
Failed responses throw ApiException with error, field, message, and statusCode.
A 429 with error throttled means the cluster hit its hourly throttle or its 24-hour cap. Do not retry that send immediately. Immediate retries hit the same cap.
The client does not delay for you. In a queued job, catch ApiException and check e.error == "throttled" before sending again.
See Errors.