Skip to main content
POST
/
uploads
Error
A valid request URL is required to generate request examples
{
  "success": true,
  "data": {
    "fileId": "<string>",
    "filename": "<string>",
    "contentType": "<string>",
    "sizeBytes": 123
  },
  "message": "<string>",
  "errors": [
    {
      "field": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Flowyte secret API key (Authorization: Bearer flowyte_sk_live_…). Scope-gated; is scoped to your organization — a key can never reach another tenant. The listed scopes in each operation's apiKey requirement are the scopes that key must hold. The tokenUrl is nominal: keys are minted in the dashboard.

Body

multipart/form-data
file
file
required

Max 25 MB. Accepted: application/pdf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/plain, text/markdown, text/csv, text/html.

Response

Upload result. The fileId is valid 24h unattached, then GC'd.

success
boolean
required
data
object
required
message
string
errors
object[]