emails

One attachment: the bytes exactly as they were sent, as an inert download, or its JSON view with a download link when the request asks for JSON.

Send Accept: application/json, or Content-Type: application/json as the Resend SDKs do, for the JSON view. Any other request gets the bytes. The id is the attachment uuid; the position (0, 1, …) is accepted too.

get/emails/{id}/attachments/{aid}

Request

  • Base URL: https://api.agentisend.com
  • URL: https://api.agentisend.com/emails/{id}/attachments/{aid}
  • Auth: HTTP bearer

Path parameters

idstring uuid required
aidstring required

Response

Success

idstring uuid required
filenamestring required
content_typestring nullable required
size_bytesinteger nullable required
sizeinteger nullable required
content_idstring nullable required
content_disposition'inline' | 'attachment' required
pathstring nullable required
bytes_availableboolean required
download_urlstring uri nullable required
expires_atstring date-time nullable required
object'attachment' required

Changes

No recorded changes to this operation across all 1 revision of this API.