Skip to main content
GET
Get an upload permission

Authorizations

x-cominty-token
string
header
required

A Cominty Platform API secret. A key created now starts with sk-cmt-. Send it as is, or as Bearer sk-cmt-..., with at most one Bearer prefix. A key created before the prefix existed has no sk-cmt- and still works.

Query Parameters

mimetype
string
required

Media type of the file.

filename
string
required

File name. At most 255 characters, and it cannot contain a slash.

Maximum string length: 255
Pattern: ^[^/]+$

Response

Successful Response

url
string
required

Storage URL to POST the file to. Do not send x-cominty-token there.

fields
Fields · object
required

Form fields to include with the file in the storage upload.