Skip to main content
PUT
/
branches
/
{branchId}
/
storage
/
upload
Upload storage file
curl --request PUT \
  --url https://api.specular.dev/branches/{branchId}/storage/upload \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "key": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication with API key (format: Bearer sk_xxx)

Path Parameters

branchId
string
required

Query Parameters

key
string
required

File key/path to upload

Response

File uploaded

File uploaded

success
boolean
key
string