{
"success": true,
"data": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"url": "Example url",
"mime_type": "image/png",
"file_name": "Example file_name",
"file_size": 42,
"width": 42,
"height": 42,
"storage_key": "Example storage_key",
"context_type": "Example context_type",
"source": "Example source",
"widget_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"conversation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"managed_user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"managed_user_external_id": "Example managed_user_external_id",
"purpose": "Example purpose",
"library_folder_path": "Example library_folder_path"
}
],
"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"
}
}{
"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"
}
}{
"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"
}
}List uploads
The files of the workspace the caller works in, newest first: the workspace’s shared files (every member’s, and those of members who have since left). The workspace is the one a person signed in on widgetic.com switched to, or the one an API key or a connection belongs to; an editor session names none and lists the files of the account. Deleted files are not listed. Returns at most limit files and has no further pages: a client that needs more narrows the list instead, for example to one managed user’s files with managedUserId or managedUserExternalId (only a partner has managed users, so those two need an active partner API key). The files that visitors sent through a widget’s upload adapter (source is widget-visitor-upload) are not part of this list, so that a popular widget does not push the account’s own files out of it; naming one widget with widgetId lists what visitors sent to that widget as well.
{
"success": true,
"data": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"url": "Example url",
"mime_type": "image/png",
"file_name": "Example file_name",
"file_size": 42,
"width": 42,
"height": 42,
"storage_key": "Example storage_key",
"context_type": "Example context_type",
"source": "Example source",
"widget_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"conversation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"managed_user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"managed_user_external_id": "Example managed_user_external_id",
"purpose": "Example purpose",
"library_folder_path": "Example library_folder_path"
}
],
"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"
}
}{
"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"
}
}{
"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.