curl --request POST \
--url 'https://api.widgetic.com/v1/widgets/batch' \
--header "Authorization: Bearer $WIDGETIC_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"widgetIds": [
"example"
]
}'
{
"success": true,
"data": {
"widgets": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Chart Widget",
"description": "Interactive chart widget for data visualization",
"type": "chart",
"content": {
"chartType": "bar",
"dataSource": "api"
},
"isPublic": false,
"isDraft": true,
"createdAt": "2025-09-15T10:23:00.000Z",
"updatedAt": "2025-09-16T08:12:45.000Z",
"thumbnailUrl": "https://cdn.widgetic.com/widgets/3fa85f64-5717-4562-b3fc-2c963f66afa6/thumbnail.png?t=1795536526532",
"thumbnailSvg": "Example thumbnailSvg",
"canvasId": "9f0c6b54-3e8f-4a2a-8b7d-1c5c6d9e0a1b",
"hasUnpublishedChanges": false,
"publishedAt": "2025-09-16T08:12:45.000Z",
"organizationId": "5e2d3f4a-1b6c-4a1f-8b9c-3c2d4e5f6a7b",
"managedUserId": "b7c8d9e0-1f2a-4b3c-8d4e-5f6a7b8c9d0e",
"managedUserExternalId": "user-8841"
}
],
"errors": [
{
"id": "<string>",
"error": "<string>"
}
]
},
"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"
}
}Widgets
Get widgets in a batch
Retrieves multiple widgets by their IDs in a single request. An id that is not found, or that is not yours, is reported in errors exactly like one that does not exist. Called with an editor session, only the widgets made for the session’s managed user are returned.
POST
/
widgets
/
batch
curl --request POST \
--url 'https://api.widgetic.com/v1/widgets/batch' \
--header "Authorization: Bearer $WIDGETIC_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"widgetIds": [
"example"
]
}'
{
"success": true,
"data": {
"widgets": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Chart Widget",
"description": "Interactive chart widget for data visualization",
"type": "chart",
"content": {
"chartType": "bar",
"dataSource": "api"
},
"isPublic": false,
"isDraft": true,
"createdAt": "2025-09-15T10:23:00.000Z",
"updatedAt": "2025-09-16T08:12:45.000Z",
"thumbnailUrl": "https://cdn.widgetic.com/widgets/3fa85f64-5717-4562-b3fc-2c963f66afa6/thumbnail.png?t=1795536526532",
"thumbnailSvg": "Example thumbnailSvg",
"canvasId": "9f0c6b54-3e8f-4a2a-8b7d-1c5c6d9e0a1b",
"hasUnpublishedChanges": false,
"publishedAt": "2025-09-16T08:12:45.000Z",
"organizationId": "5e2d3f4a-1b6c-4a1f-8b9c-3c2d4e5f6a7b",
"managedUserId": "b7c8d9e0-1f2a-4b3c-8d4e-5f6a7b8c9d0e",
"managedUserExternalId": "user-8841"
}
],
"errors": [
{
"id": "<string>",
"error": "<string>"
}
]
},
"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"
}
}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
Widgets batch result