Skip to main content
GET
Get a drive 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.

Path Parameters

drive_pid
string
required

Identifier of the drive that receives the file.

Query Parameters

mimetype
string
required

Media type of the file.

filename
string
required

File name. It cannot contain a slash.

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 send with the file to the storage URL.