Send outbound email
Changed onSends an outbound email through Primitive's outbound relay. By default the request returns once the relay accepts the message for delivery. Set wait: true to wait for the first downstream SMTP delivery outcome.
Host routing. /send-mail is served by the canonical API host (https://api.primitive.dev/v1) so the request body can carry inline attachments up to ~30 MiB raw. The legacy dashboard compatibility host (https://www.primitive.dev/api/v1) also accepts /send-mail, but Vercel request body limits apply before proxying. The typed SDKs route /send-mail to the canonical API host automatically.
Request
- Base URLhttps://api.primitive.dev/v1
- URLhttps://api.primitive.dev/v1/send-mail
- AuthHTTP bearer
Headers
Optional customer-supplied idempotency key. If omitted, Primitive derives one from the canonical request payload and echoes the effective value in the Idempotency-Key response header.
Request body
Example request
{
"headers": {
"X-Campaign-Id": "spring-sale",
"Auto-Submitted": "auto-generated"
}
}Response
Outbound relay result
Changes
- warning
added the new
agent_changedenum value to the/response property for the response status - warning
added the new
agent_changedenum value to the/response property for the response status - warning
added the new
agent_changedenum value to the/response property for the response status - warning
added the new
agent_changedenum value to the/response property for the response status - warning
added the new
agent_changedenum value to the/response property for the response status - warning
added the new
agent_changedenum value to the/response property for the response status - warning
added the new
agent_changedenum value to the/response property for the response status - warning
added the new
agent_changedenum value to the/response property for the response status - warning
added the new
agent_changedenum value to the/response property for the response status - warning
added the new
agent_changedenum value to the/response property for the response status - warning
added the new
agent_changedenum value to the/response property for the response status - warning
added the new
agent_limitenum value to the/response property for the response status - warning
added the new
agent_limitenum value to the/response property for the response status - warning
added the new
agent_limitenum value to the/response property for the response status - warning
added the new
agent_limitenum value to the/response property for the response status - warning
added the new
agent_limitenum value to the/response property for the response status - warning
added the new
agent_limitenum value to the/response property for the response status - warning
added the new
agent_limitenum value to the/response property for the response status - warning
added the new
agent_limitenum value to the/response property for the response status - warning
added the new
agent_limitenum value to the/response property for the response status - warning
added the new
agent_limitenum value to the/response property for the response status - warning
added the new
agent_limitenum value to the/response property for the response status - warning
added the new
already_memberenum value to the/response property for the response status - warning
added the new
already_memberenum value to the/response property for the response status - warning
added the new
already_memberenum value to the/response property for the response status - warning
added the new
already_memberenum value to the/response property for the response status - warning
added the new
already_memberenum value to the/response property for the response status - warning
added the new
already_memberenum value to the/response property for the response status - warning
added the new
already_memberenum value to the/response property for the response status - warning
added the new
already_memberenum value to the/response property for the response status - warning
added the new
already_memberenum value to the/response property for the response status - warning
added the new
already_memberenum value to the/response property for the response status - warning
added the new
already_memberenum value to the/response property for the response status - warning
added the new
directory_limitenum value to the/response property for the response status - warning
added the new
directory_limitenum value to the/response property for the response status - warning
added the new
directory_limitenum value to the/response property for the response status - warning
added the new
directory_limitenum value to the/response property for the response status - warning
added the new
directory_limitenum value to the/response property for the response status - warning
added the new
directory_limitenum value to the/response property for the response status - warning
added the new
directory_limitenum value to the/response property for the response status - warning
added the new
directory_limitenum value to the/response property for the response status - warning
added the new
directory_limitenum value to the/response property for the response status - warning
added the new
directory_limitenum value to the/response property for the response status - warning
added the new
directory_limitenum value to the/response property for the response status - warning
added the new
invitation_acceptedenum value to the/response property for the response status - warning
added the new
invitation_acceptedenum value to the/response property for the response status - warning
added the new
invitation_acceptedenum value to the/response property for the response status - warning
added the new
invitation_acceptedenum value to the/response property for the response status - warning
added the new
invitation_acceptedenum value to the/response property for the response status - warning
added the new
invitation_acceptedenum value to the/response property for the response status - warning
added the new
invitation_acceptedenum value to the/response property for the response status - warning
added the new
invitation_acceptedenum value to the/response property for the response status - warning
added the new
invitation_acceptedenum value to the/response property for the response status - warning
added the new
invitation_acceptedenum value to the/response property for the response status - warning
added the new
invitation_acceptedenum value to the/response property for the response status - warning
added the new
invitation_changedenum value to the/response property for the response status - warning
added the new
invitation_changedenum value to the/response property for the response status - warning
added the new
invitation_changedenum value to the/response property for the response status - warning
added the new
invitation_changedenum value to the/response property for the response status - warning
added the new
invitation_changedenum value to the/response property for the response status - warning
added the new
invitation_changedenum value to the/response property for the response status - warning
added the new
invitation_changedenum value to the/response property for the response status - warning
added the new
invitation_changedenum value to the/response property for the response status - warning
added the new
invitation_changedenum value to the/response property for the response status - warning
added the new
invitation_changedenum value to the/response property for the response status - warning
added the new
invitation_changedenum value to the/response property for the response status - warning
added the new
invitation_pendingenum value to the/response property for the response status - warning
added the new
invitation_pendingenum value to the/response property for the response status - warning
added the new
invitation_pendingenum value to the/response property for the response status - warning
added the new
invitation_pendingenum value to the/response property for the response status - warning
added the new
invitation_pendingenum value to the/response property for the response status - warning
added the new
invitation_pendingenum value to the/response property for the response status - warning
added the new
invitation_pendingenum value to the/response property for the response status - warning
added the new
invitation_pendingenum value to the/response property for the response status - warning
added the new
invitation_pendingenum value to the/response property for the response status - warning
added the new
invitation_pendingenum value to the/response property for the response status - warning
added the new
invitation_pendingenum value to the/response property for the response status - warning
added the new
invitation_sendingenum value to the/response property for the response status - warning
added the new
invitation_sendingenum value to the/response property for the response status - warning
added the new
invitation_sendingenum value to the/response property for the response status - warning
added the new
invitation_sendingenum value to the/response property for the response status - warning
added the new
invitation_sendingenum value to the/response property for the response status - warning
added the new
invitation_sendingenum value to the/response property for the response status - warning
added the new
invitation_sendingenum value to the/response property for the response status - warning
added the new
invitation_sendingenum value to the/response property for the response status - warning
added the new
invitation_sendingenum value to the/response property for the response status - warning
added the new
invitation_sendingenum value to the/response property for the response status - warning
added the new
invitation_sendingenum value to the/response property for the response status - warning
added the new
invitation_unconfirmedenum value to the/response property for the response status - warning
added the new
invitation_unconfirmedenum value to the/response property for the response status - warning
added the new
invitation_unconfirmedenum value to the/response property for the response status - warning
added the new
invitation_unconfirmedenum value to the/response property for the response status - warning
added the new
invitation_unconfirmedenum value to the/response property for the response status - warning
added the new
invitation_unconfirmedenum value to the/response property for the response status - warning
added the new
invitation_unconfirmedenum value to the/response property for the response status - warning
added the new
invitation_unconfirmedenum value to the/response property for the response status - warning
added the new
invitation_unconfirmedenum value to the/response property for the response status - warning
added the new
invitation_unconfirmedenum value to the/response property for the response status - warning
added the new
invitation_unconfirmedenum value to the/response property for the response status - warning
added the new
invitations_pendingenum value to the/response property for the response status - warning
added the new
invitations_pendingenum value to the/response property for the response status - warning
added the new
invitations_pendingenum value to the/response property for the response status - warning
added the new
invitations_pendingenum value to the/response property for the response status - warning
added the new
invitations_pendingenum value to the/response property for the response status - warning
added the new
invitations_pendingenum value to the/response property for the response status - warning
added the new
invitations_pendingenum value to the/response property for the response status - warning
added the new
invitations_pendingenum value to the/response property for the response status - warning
added the new
invitations_pendingenum value to the/response property for the response status - warning
added the new
invitations_pendingenum value to the/response property for the response status - warning
added the new
invitations_pendingenum value to the/response property for the response status - warning
added the new
member_changedenum value to the/response property for the response status - warning
added the new
member_changedenum value to the/response property for the response status - warning
added the new
member_changedenum value to the/response property for the response status - warning
added the new
member_changedenum value to the/response property for the response status - warning
added the new
member_changedenum value to the/response property for the response status - warning
added the new
member_changedenum value to the/response property for the response status - warning
added the new
member_changedenum value to the/response property for the response status - warning
added the new
member_changedenum value to the/response property for the response status - warning
added the new
member_changedenum value to the/response property for the response status - warning
added the new
member_changedenum value to the/response property for the response status - warning
added the new
member_changedenum value to the/response property for the response status - warning
added the new
project_changedenum value to the/response property for the response status - warning
added the new
project_changedenum value to the/response property for the response status - warning
added the new
project_changedenum value to the/response property for the response status - warning
added the new
project_changedenum value to the/response property for the response status - warning
added the new
project_changedenum value to the/response property for the response status - warning
added the new
project_changedenum value to the/response property for the response status - warning
added the new
project_changedenum value to the/response property for the response status - warning
added the new
project_changedenum value to the/response property for the response status - warning
added the new
project_changedenum value to the/response property for the response status - warning
added the new
project_changedenum value to the/response property for the response status - warning
added the new
project_changedenum value to the/response property for the response status - warning
added the new
recipient_changedenum value to the/response property for the response status - warning
added the new
recipient_changedenum value to the/response property for the response status - warning
added the new
recipient_changedenum value to the/response property for the response status - warning
added the new
recipient_changedenum value to the/response property for the response status - warning
added the new
recipient_changedenum value to the/response property for the response status - warning
added the new
recipient_changedenum value to the/response property for the response status - warning
added the new
recipient_changedenum value to the/response property for the response status - warning
added the new
recipient_changedenum value to the/response property for the response status - warning
added the new
recipient_changedenum value to the/response property for the response status - warning
added the new
recipient_changedenum value to the/response property for the response status - warning
added the new
recipient_changedenum value to the/response property for the response status
- warning
- warning
added the new
archive_busyenum value to the/response property for the response status - warning
added the new
archive_busyenum value to the/response property for the response status - warning
added the new
archive_busyenum value to the/response property for the response status - warning
added the new
archive_busyenum value to the/response property for the response status - warning
added the new
archive_busyenum value to the/response property for the response status - warning
added the new
archive_busyenum value to the/response property for the response status - warning
added the new
archive_busyenum value to the/response property for the response status - warning
added the new
archive_busyenum value to the/response property for the response status - warning
added the new
archive_busyenum value to the/response property for the response status - warning
added the new
archive_invalidenum value to the/response property for the response status - warning
added the new
archive_invalidenum value to the/response property for the response status - warning
added the new
archive_invalidenum value to the/response property for the response status - warning
added the new
archive_invalidenum value to the/response property for the response status - warning
added the new
archive_invalidenum value to the/response property for the response status - warning
added the new
archive_invalidenum value to the/response property for the response status - warning
added the new
archive_invalidenum value to the/response property for the response status - warning
added the new
archive_invalidenum value to the/response property for the response status - warning
added the new
archive_invalidenum value to the/response property for the response status - warning
added the new
archive_limit_exceededenum value to the/response property for the response status - warning
added the new
archive_limit_exceededenum value to the/response property for the response status - warning
added the new
archive_limit_exceededenum value to the/response property for the response status - warning
added the new
archive_limit_exceededenum value to the/response property for the response status - warning
added the new
archive_limit_exceededenum value to the/response property for the response status - warning
added the new
archive_limit_exceededenum value to the/response property for the response status - warning
added the new
archive_limit_exceededenum value to the/response property for the response status - warning
added the new
archive_limit_exceededenum value to the/response property for the response status - warning
added the new
archive_limit_exceededenum value to the/response property for the response status - warning
added the new
archive_unsafe_pathenum value to the/response property for the response status - warning
added the new
archive_unsafe_pathenum value to the/response property for the response status - warning
added the new
archive_unsafe_pathenum value to the/response property for the response status - warning
added the new
archive_unsafe_pathenum value to the/response property for the response status - warning
added the new
archive_unsafe_pathenum value to the/response property for the response status - warning
added the new
archive_unsafe_pathenum value to the/response property for the response status - warning
added the new
archive_unsafe_pathenum value to the/response property for the response status - warning
added the new
archive_unsafe_pathenum value to the/response property for the response status - warning
added the new
archive_unsafe_pathenum value to the/response property for the response status - warning
added the new
archive_unsupportedenum value to the/response property for the response status - warning
added the new
archive_unsupportedenum value to the/response property for the response status - warning
added the new
archive_unsupportedenum value to the/response property for the response status - warning
added the new
archive_unsupportedenum value to the/response property for the response status - warning
added the new
archive_unsupportedenum value to the/response property for the response status - warning
added the new
archive_unsupportedenum value to the/response property for the response status - warning
added the new
archive_unsupportedenum value to the/response property for the response status - warning
added the new
archive_unsupportedenum value to the/response property for the response status - warning
added the new
archive_unsupportedenum value to the/response property for the response status - warning
added the new
attachment_name_ambiguousenum value to the/response property for the response status - warning
added the new
attachment_name_ambiguousenum value to the/response property for the response status - warning
added the new
attachment_name_ambiguousenum value to the/response property for the response status - warning
added the new
attachment_name_ambiguousenum value to the/response property for the response status - warning
added the new
attachment_name_ambiguousenum value to the/response property for the response status - warning
added the new
attachment_name_ambiguousenum value to the/response property for the response status - warning
added the new
attachment_name_ambiguousenum value to the/response property for the response status - warning
added the new
attachment_name_ambiguousenum value to the/response property for the response status - warning
added the new
attachment_name_ambiguousenum value to the/response property for the response status - warning
added the new
attachment_not_archiveenum value to the/response property for the response status - warning
added the new
attachment_not_archiveenum value to the/response property for the response status - warning
added the new
attachment_not_archiveenum value to the/response property for the response status - warning
added the new
attachment_not_archiveenum value to the/response property for the response status - warning
added the new
attachment_not_archiveenum value to the/response property for the response status - warning
added the new
attachment_not_archiveenum value to the/response property for the response status - warning
added the new
attachment_not_archiveenum value to the/response property for the response status - warning
added the new
attachment_not_archiveenum value to the/response property for the response status - warning
added the new
attachment_not_archiveenum value to the/response property for the response status - warning
added the new
latest_message_mismatchenum value to the/response property for the response status - warning
added the new
latest_message_mismatchenum value to the/response property for the response status - warning
added the new
latest_message_mismatchenum value to the/response property for the response status - warning
added the new
latest_message_mismatchenum value to the/response property for the response status - warning
added the new
latest_message_mismatchenum value to the/response property for the response status - warning
added the new
latest_message_mismatchenum value to the/response property for the response status - warning
added the new
latest_message_mismatchenum value to the/response property for the response status - warning
added the new
latest_message_mismatchenum value to the/response property for the response status - warning
added the new
latest_message_mismatchenum value to the/response property for the response status - warning
added the new
latest_message_thread_unresolvedenum value to the/response property for the response status - warning
added the new
latest_message_thread_unresolvedenum value to the/response property for the response status - warning
added the new
latest_message_thread_unresolvedenum value to the/response property for the response status - warning
added the new
latest_message_thread_unresolvedenum value to the/response property for the response status - warning
added the new
latest_message_thread_unresolvedenum value to the/response property for the response status - warning
added the new
latest_message_thread_unresolvedenum value to the/response property for the response status - warning
added the new
latest_message_thread_unresolvedenum value to the/response property for the response status - warning
added the new
latest_message_thread_unresolvedenum value to the/response property for the response status - warning
added the new
latest_message_thread_unresolvedenum value to the/response property for the response status - warning
added the new
sent_mail_search_unavailableenum value to the/response property for the response status - warning
added the new
sent_mail_search_unavailableenum value to the/response property for the response status - warning
added the new
sent_mail_search_unavailableenum value to the/response property for the response status - warning
added the new
sent_mail_search_unavailableenum value to the/response property for the response status - warning
added the new
sent_mail_search_unavailableenum value to the/response property for the response status - warning
added the new
sent_mail_search_unavailableenum value to the/response property for the response status - warning
added the new
sent_mail_search_unavailableenum value to the/response property for the response status - warning
added the new
sent_mail_search_unavailableenum value to the/response property for the response status - warning
added the new
sent_mail_search_unavailableenum value to the/response property for the response status - warning
added the new
thread_busyenum value to the/response property for the response status - warning
added the new
thread_busyenum value to the/response property for the response status - warning
added the new
thread_busyenum value to the/response property for the response status - warning
added the new
thread_busyenum value to the/response property for the response status - warning
added the new
thread_busyenum value to the/response property for the response status - warning
added the new
thread_busyenum value to the/response property for the response status - warning
added the new
thread_busyenum value to the/response property for the response status - warning
added the new
thread_busyenum value to the/response property for the response status - warning
added the new
thread_busyenum value to the/response property for the response status - info
added the new optional request property
- info
added the new optional request property
- info
added the non-success response with the status
- info
added the non-success response with the status
- warning