Skip to content

Get file metadata​

GET
/files/{uuid}

Returns file metadata and CDN URL by UUID. Requires chats:read scope.

Authorizations​

BearerAuth

API key in format lm_xxxxxxxxxxxxxxxx. Get your key at app.looma.chat/integrations.

Type
HTTP (bearer)

Parameters​

Path Parameters

uuid*

File UUID (32 hex characters)

Type
string
Required
Pattern
"^[a-f0-9]{32}$"

Responses​

File metadata

application/json
JSON
{
"success": true,
"data": {
"uuid": "a1b2c3d4e5f67890a1b2c3d4e5f67890",
"url": "string",
"name": "photo.jpg",
"size": 0,
"mime_type": "image/jpeg",
"is_image": true
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

Looma.chat — AI-пошук і чат для інтернет-магазинів