EndpointsMedia
Upload media
Uploads a raw image file (multipart/form-data). The returned media id can then be used to
create a logo or
design a variant.
AuthorizationbearerAuth
Authorization
bearerAuth AuthorizationBearer <token>
OAuth2 access token — how to obtain one is described under Setup → Authentication.
In: header
Header Parameters
Accept*"application/json"
The API only responds with JSON — this header is mandatory on every request (see Setup → Headers).
Default
"application/json"Value in
- "application/json"
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
Request example
curl -X POST "https://example.com/media" \ -H "Accept: application/json" \ -F file="string"{ "data": { "id": 0, "file_name": "string", "mime_type": "string", "size": 0, "url": "http://example.com" }}