POST /api/v1/emails/send-global
Same as “Send email”, plus records global_endpoint_sends usage. Use to separate analytics for this path.
| Header | Type | Required | Description |
|---|---|---|---|
| Authorization | string | yes | Bearer <api_key> or x-api-key |
| Idempotency-Key | string | no | Unique per logical request (recommended) |
| Parameter | Type | Required | Description |
|---|---|---|---|
| to | string | yes | Recipient email |
| subject | string | yes | Subject line |
| content | string | yes | Text body (used to generate plain text) |
| htmlContent | string | no | HTML body (tracking auto-injected) |
| policyKey | string | no | Policy to apply (e.g., transactional, bulk) |
| idempotencyKey | string | no | Idempotency key when header cannot be set |
X-Request-Id: unique id for this requestIdempotency-Key: echoes idempotency key used (when provided)Idempotency-Replayed: truewhen a previous result is returnedX-RateLimit-*headers when a per-minute cap is configured
200success401invalid API key403missing scopesend_email429per‑minute rate limit exceeded (seeRetry-After)500provider/internal error
