Skip to main content
POST
Upload a media file

Authorizations

Authorization
string
header
required

API key issued in the dashboard. Server-side only: never ship it to a browser, and never pass it as a query parameter.

Body

application/json
file
file
required

Response

object
string
required
Example:

"upload"

url
string
required

This is what you get when you upload a media file to our storage. You can use the url you get without any changes when creating landing pages, widgets, or any other entity that needs media. IMPORTANT: files don't live forever if they're not used. After a certain amount of time, these files are deleted, so try to use them as soon as possible.

Example:

"https://cdn.teasy.link/uploads/6f1c.../3a9d....webp"