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

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

File to upload. Must be non-empty.

Response

File uploaded

Uploaded file attachment usable across email templates, sequence steps, and direct emails.

id
integer
required

Attachment identifier — pass this in attachmentIds arrays on email-template, sequence-step, and inbox-message endpoints.

fileName
string
required

Original file name as supplied by the upload.

size
integer
required

File size in bytes.