POST /api/dialogs/attachments/confirm
{
"uploadId": "uuid"
}{
"fileId": "uuid",
"url": "https://attachments-ai.senler.ru/projects/xxx/dialogs/yyy/2025-12-27-uuid.jpg",
"storagePath": "projects/xxx/dialogs/yyy/2025-12-27-uuid.jpg",
"fileName": "screenshot.png",
"fileType": "image/png",
"fileSize": 1024000
}curl --location --request POST '/api/dialogs/attachments/confirm' \
--header 'Accept-Language;' \
--header 'Content-Type: application/json' \
--data-raw '{
"uploadId": "550e8400-e29b-41d4-a716-446655440000",
"channel_id": "550e8400-e29b-41d4-a716-446655440001"
}'{
"fileId": "550e8400-e29b-41d4-a716-446655440000",
"url": "https://attachments-ai.senler.ru/widget/2025/12/uuid.jpg",
"storagePath": "widget/2025/12/uuid.jpg",
"fileName": "screenshot.png",
"fileType": "image/png",
"fileSize": 1024000
}