Skip to main content
POST
Upload campaign media

Authorizations

Authorization
string
header
required

Your project's secret key (pk_…, without the pub segment). Server-side only — never ship it to a browser. Get it from Settings → Projects in the dashboard.

Body

multipart/form-data
file
file
required

The image file (PNG, JPEG, WebP, or GIF).

Response

The stored media object.

media
object
required