Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

API token obtained from the Tokens endpoint. Include as Authorization: Bearer <token>.

Body

application/json
file_name
string
required
file_size
integer
required
category
enum<string>

Optional; inferred from the file otherwise.

Available options:
repository,
documentation

Response

Signed upload target.

upload_id
string<uuid>
required
signed_url
string
required

PUT the file bytes here.

token
string
required
storage_path
string
required
file_type
string
required
resumable
object

Present only for large files that should use the resumable (TUS) protocol.