Forward a message
https://anjal.app/v1/inboxes/{id}/forward/{messageId}Prepends a "Forwarded message" header block and sends the combined body.
Path parameters
idrequired string | Inbox UUID |
messageIdrequired string | Message UUID |
Header parameters
Idempotency-Keystring | Unique value for this send (e.g. a UUID). A retry with the same key and identical request returns the stored response (header `Idempotent-Replayed: true`) and sends nothing. Same key with a different request: 409 `IDEMPOTENCY_KEY_REUSED`. Same key while the first is still running: 409 `IDEMPOTENCY_IN_PROGRESS`. Blank: 400 `IDEMPOTENCY_KEY_INVALID`. Keys are per account and expire after 24 hours; a failed send (non-2xx) frees the key. |
Request body
Content-Type: application/json
torequired string | string[] | |
subjectstring | |
plainBodystring | |
htmlBodystring | |
labelsstring[] | string | Labels as an array or a comma-separated string. Stored lowercase and deduplicated; at most 32 labels of at most 64 characters, no commas. |
trackOpensboolean | Add an open-tracking pixel (HTML body only). See `SendExtras`. default: false |
Responses
errorrequired string | |
codestring |
Authentication
Send your API key in the X-API-Key header (or Authorization: Bearer <key>). Any prefix accepted by this endpoint — tk_, wk_, ak_, or sa_ — is documented in the key prefix table.