POST
/
v3
/
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

Unique identifier for the attachment

fileName
string

Original file name of the attachment

url
string

URL to download the attachment

size
integer

File size in bytes