Skip to main content
POST
Inboxes are currently in private beta and only available to a limited number of users. The response shape might change before GA.Get early access if you’re interested in testing this feature.Once you have access, upgrade your Resend SDK to use the new methods:
Sends a reply from the inbox address. The reply goes to the Reply-To addresses of the message. Without them, it goes to the sender. A reply to a message the inbox sent goes to that message’s to recipients. Attachments can have at most 25 MB of content in total. Files sent with path do not count toward it. The whole email can be at most 40 MB.

Path Parameters

Body Parameters

At least one of html or text is required. cc and bcc combined can have at most 49 addresses, and the whole reply at most 50 recipients.
string | string[] | null
CC recipient email address.
string | string[] | null
BCC recipient email address.
string
The HTML body of the reply.
string
The plain-text body of the reply.
string
The subject of the reply. 1 to 2000 characters, with no line breaks. Defaults to the thread subject with a Re: prefix.
array | null
Files to attach, as on Send Email.
object | null
Custom headers to add to the email. You cannot set In-Reply-To, References, or Reply-To.

Headers

string
Add an idempotency key to prevent duplicated emails.
  • Should be unique per API request
  • Idempotency keys expire after 24 hours
  • Have a maximum length of 256 characters
  • A retry with the same key returns the first successful response, with the idempotent-replayed: true header
  • A failed request is not stored, so you can retry it with the same key
  • Reusing the key with a different body, or while the first request is still running, returns a 409
Learn more

Response Fields

string
The ID of the sent email. Use it with the emails endpoints.