Get upload limits
GET
/v1/uploads/limits
Check the max file size and allowed extensions before you push bytes, so an oversized or unsupported file is rejected instantly on your side instead of after a long transfer. POST /uploads re-checks both, so this is a convenience, not the real gate.
Authorizations
Bearer
JWT bearer token from POST /v1/auth/login.
Type
HTTP (bearer)
or
ApiKey
Scoped API key for non-interactive clients (issued by PBI #1426).
Type
API Key (header: X-Api-Key)
Responses
OK
application/json
The size and type constraints a browser should validate against before pushing bytes —
shared shape for GET /uploads/limits and GET /me/avatar/limits.
The file extensions accepted (e.g. .pdf, .png).
The maximum file size accepted, in bytes.
Format
"int64"Pattern
"^-?(?:0|[1-9]\\d*)$"