Reply to an inbound email
Changed onSends an outbound reply to the inbound email identified by id. Threading headers (In-Reply-To, References), recipient derivation (Reply-To, then From, then bare sender), and the Re: subject prefix are all derived server-side from the stored inbound row. The request body carries only the message body, optional From override, optional attachments, optional wait flag, and optional reply_all flag, which also copies every other To and Cc address of the inbound (never Bcc). Passing any header or explicit recipient override is rejected by the schema (additionalProperties: false).
Forwards through the same gates as /send-mail: the response status, error envelope, and idempotent_replay flag mirror the send-mail contract verbatim.
Request
- Base URL: https://api.primitive.dev/v1
- URL: https://api.primitive.dev/v1/emails/{id}/reply
- Auth: HTTP bearer
Request body
Response
Outbound relay result. When the request was answered with an existing send instead of making a new one, the response carries Idempotent-Replayed: true and data.idempotency, and nothing was sent for this request.
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
removed the
invalid_signup_codeenum value from the/response property for the response status - info
removed the
invalid_signup_codeenum value from the/response property for the response status - info
removed the
invalid_signup_codeenum value from the/response property for the response status - info
removed the
invalid_signup_codeenum value from the/response property for the response status - info
removed the
invalid_signup_codeenum value from the/response property for the response status - info
removed the
invalid_signup_codeenum value from the/response property for the response status - info
removed the
invalid_signup_codeenum value from the/response property for the response status - info
removed the
invalid_signup_codeenum value from the/response property for the response status - info
removed the
invalid_signup_codeenum value from the/response property for the response status - info
removed the
invalid_signup_codeenum value from the/response property for the response status
- info