Skip to main content
POST
Upload attachment

Authorizations

Authorization
string
header
required

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

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 kilobytes (rounded up).