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

Documentation Index

Fetch the complete documentation index at: https://docs.reply.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authenticate every request with a Bearer token. Pass your Reply API key in the Authorization header:

Authorization: Bearer <your-api-key>

Get your API key from the Reply dashboard: Settings → API Key.

Body

multipart/form-data
file
file
required

The file to upload

Response

Attachment uploaded successfully

Attachment associated with an email template.

id
integer
read-only

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