emails

Not open yet: one received attachment.

The bytes as an inert download (always octet-stream, never the sender’s declared type), 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/receiving/{id}/attachments/{aid}

Request

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

Path parameters

idstring uuid required
aidstring required

Response

Success

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

Changes

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