Skip to main content
POST
/
email-template-attachments
Upload a template attachment
curl --request POST \
  --url https://api.reply.io/v3/email-template-attachments \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-API-Key: <api-key>' \
  --form file='@example-file'
{
  "id": 42,
  "fileName": "proposal.pdf",
  "url": "https://storage.example.com/attachments/proposal.pdf",
  "size": 102400
}

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header

Body

multipart/form-data
file
file
required

The file to upload

Response

Attachment uploaded successfully

Attachment associated with an email template.

id
integer
required

Unique identifier for the attachment

fileName
string
required

Original file name of the attachment

url
string
required

URL to download the attachment

size
integer
required

File size in bytes