Skip to main content
POST
Accepts a multipart/form-data upload and returns the file encoded as base64. Pass the returned attachment object directly into the attachments array of Send Campaign. Limits
  • Max file size: 10 MB per file
  • Allowed types: PDF, Word, Excel, plain text, CSV, JPEG, PNG, GIF, WebP

Headers

string
required
Bearer YOUR_API_KEY
string
Your project UUID. Not required if the API key already encodes the project.

Request Body

file
required
The file to upload (multipart/form-data)

Response

boolean
true on successful upload
object
Ready-to-use attachment object
string
Human-readable confirmation