curl --request GET \
--url 'https://api.widgetic.com/v1/uploads/limits' \
--header "Authorization: Bearer $WIDGETIC_API_KEY"
{
"success": true,
"data": {
"multipart_max_bytes": 42,
"multipart_mime_types": [],
"tus_enabled": true,
"tus_max_bytes": 42,
"tus_chunk_size_bytes": 42,
"tus_mime_types": []
},
"meta": {
"page": 1,
"size": 20,
"total": 135,
"limit": 20,
"offset": 0,
"hasNextPage": true,
"hasPreviousPage": false,
"nextCursor": "<string>",
"warnings": [
"<string>"
]
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Composition not found",
"timestamp": "2026-10-15T10:00:00.000Z",
"param": "name",
"docUrl": "<string>",
"suggestedAction": "<string>",
"retryAfter": 60,
"details": {},
"correlationId": "req_123e4567-e89b-12d3-a456-426614174000"
}
}Uploads
Get upload limits
The size limit and the accepted file types of the upload endpoints. Read them from here rather than hard-coding thresholds: they are configuration and can change. The limits are the same for every account, whatever its plan: multipart_max_bytes for a file sent in one request (10 MB) and tus_max_bytes for a resumable upload (250 MB).
GET
/
uploads
/
limits
curl --request GET \
--url 'https://api.widgetic.com/v1/uploads/limits' \
--header "Authorization: Bearer $WIDGETIC_API_KEY"
{
"success": true,
"data": {
"multipart_max_bytes": 42,
"multipart_mime_types": [],
"tus_enabled": true,
"tus_max_bytes": 42,
"tus_chunk_size_bytes": 42,
"tus_mime_types": []
},
"meta": {
"page": 1,
"size": 20,
"total": 135,
"limit": 20,
"offset": 0,
"hasNextPage": true,
"hasPreviousPage": false,
"nextCursor": "<string>",
"warnings": [
"<string>"
]
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Composition not found",
"timestamp": "2026-10-15T10:00:00.000Z",
"param": "name",
"docUrl": "<string>",
"suggestedAction": "<string>",
"retryAfter": 60,
"details": {},
"correlationId": "req_123e4567-e89b-12d3-a456-426614174000"
}
}Authorizations
Send your API key as a bearer token: Authorization: Bearer <your API key>. Make a key in the dashboard under Settings → API keys; a workspace key starts with wdg_org_ and works in the workspace it was made in. See API keys and Authentication.
Response
The current limits