---
updatedAt: 2025-06-08T15:30:54.000Z
agentTools:
  projectIndex: https://es-developers.kommo.com/llms.txt
---

# Obtener un archivo por UUID

Un método que te permite recibir un archivo.

**¿No sabes cuál es el nombre de tu unidad?**

Consulta este [artículo corto](https://es-developers.kommo.com/reference/primeros-pasos) para averiguarlo.

**Limitaciones**

Este método está disponible para integraciones con el alcance **Acceso a archivos**.

**Encabezado de tipo de datos cuando la solicitud es exitosa/en caso de un error**\
Content-Type: application/json.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "files-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://{your-drive}.kommo.com",
      "variables": {
        "your-drive": {
          "default": "your-drive"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {}
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1.0/files/{file_uuid}": {
      "get": {
        "summary": "Obtener un archivo por UUID",
        "description": "Un método que te permite recibir un archivo.",
        "operationId": "obtener-archivo-por-uuid",
        "parameters": [
          {
            "name": "file_uuid",
            "in": "path",
            "description": "UUID del archivo",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Solicitud exitosa": {
                    "value": "{\n  \"_links\": {\n    \"download\": {\n      \"href\": \"https://drive-c.kommo.com/download/aff5603a-28b1-4c17-8e98-16e473b323b3/367b9f38-5f01-4cea-947e-dfab47aea522/picture.png\"\n    },\n    \"download_version\": {\n      \"href\": \"https://drive-c.kommo.com/download/aff5603a-28b1-4c17-8e98-16e473b323b3/367b9f38-5f01-4cea-947e-dfab47aea522/43de3be7-307b-4766-a23e-5e88211b9a8d/picture.png\"\n    },\n    \"self\": {\n      \"href\": \"https://drive-c.kommo.com/v1.0/files/367b9f38-5f01-4cea-947e-dfab47aea522\"\n    }\n  },\n  \"created_at\": 1671687247,\n  \"created_by\": { \"type\": \"internal\", \"id\": 7758337 },\n  \"deleted_at\": null,\n  \"deleted_by\": null,\n  \"has_multiple_versions\": false,\n  \"is_trashed\": false,\n  \"metadata\": { \"extension\": \"png\", \"mime_type\": \"image/png\" },\n  \"name\": \"product\",\n  \"previews\": null,\n  \"sanitized_name\": \"product\",\n  \"session_id\": 26136001,\n  \"size\": 7526,\n  \"source_id\": null,\n  \"type\": \"file\",\n  \"updated_at\": 1671687247,\n  \"updated_by\": { \"type\": \"internal\", \"id\": 7758337 },\n  \"uuid\": \"367b9f38-5f01-4cea-947e-dfab47aea522\",\n  \"version_uuid\": \"43de3be7-307b-4766-a23e-5e88211b9a8d\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "_links": {
                      "type": "object",
                      "properties": {
                        "download": {
                          "type": "object",
                          "properties": {
                            "href": {
                              "type": "string",
                              "example": "https://drive-c.kommo.com/download/aff5603a-28b1-4c17-8e98-16e473b323b3/367b9f38-5f01-4cea-947e-dfab47aea522/picture.png"
                            }
                          }
                        },
                        "download_version": {
                          "type": "object",
                          "properties": {
                            "href": {
                              "type": "string",
                              "example": "https://drive-c.kommo.com/download/aff5603a-28b1-4c17-8e98-16e473b323b3/367b9f38-5f01-4cea-947e-dfab47aea522/43de3be7-307b-4766-a23e-5e88211b9a8d/picture.png"
                            }
                          }
                        },
                        "self": {
                          "type": "object",
                          "properties": {
                            "href": {
                              "type": "string",
                              "example": "https://drive-c.kommo.com/v1.0/files/367b9f38-5f01-4cea-947e-dfab47aea522"
                            }
                          }
                        }
                      }
                    },
                    "created_at": {
                      "type": "integer",
                      "example": 1671687247,
                      "default": 0
                    },
                    "created_by": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "example": "internal"
                        },
                        "id": {
                          "type": "integer",
                          "example": 7758337,
                          "default": 0
                        }
                      }
                    },
                    "deleted_at": {},
                    "deleted_by": {},
                    "has_multiple_versions": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "is_trashed": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "extension": {
                          "type": "string",
                          "example": "png"
                        },
                        "mime_type": {
                          "type": "string",
                          "example": "image/png"
                        }
                      }
                    },
                    "name": {
                      "type": "string",
                      "example": "product"
                    },
                    "previews": {},
                    "sanitized_name": {
                      "type": "string",
                      "example": "product"
                    },
                    "session_id": {
                      "type": "integer",
                      "example": 26136001,
                      "default": 0
                    },
                    "size": {
                      "type": "integer",
                      "example": 7526,
                      "default": 0
                    },
                    "source_id": {},
                    "type": {
                      "type": "string",
                      "example": "file"
                    },
                    "updated_at": {
                      "type": "integer",
                      "example": 1671687247,
                      "default": 0
                    },
                    "updated_by": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "example": "internal"
                        },
                        "id": {
                          "type": "integer",
                          "example": 7758337,
                          "default": 0
                        }
                      }
                    },
                    "uuid": {
                      "type": "string",
                      "example": "367b9f38-5f01-4cea-947e-dfab47aea522"
                    },
                    "version_uuid": {
                      "type": "string",
                      "example": "43de3be7-307b-4766-a23e-5e88211b9a8d"
                    }
                  }
                }
              }
            }
          },
          "204": {
            "description": "204",
            "content": {
              "application/json": {
                "examples": {
                  "No se encontraron archivos": {
                    "value": "No content"
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Fallo en la autenticación": {
                    "value": "{\n  \"title\": \"Unauthorized\",\n  \"type\": \"https://httpstatus.es/401\",\n  \"status\": 401,\n  \"detail\": \"Nombre de usuario o contraseña incorrectos\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "title": {
                      "type": "string",
                      "example": "Unauthorized"
                    },
                    "type": {
                      "type": "string",
                      "example": "https://httpstatus.es/401"
                    },
                    "status": {
                      "type": "integer",
                      "example": 401,
                      "default": 0
                    },
                    "detail": {
                      "type": "string",
                      "example": "Nombre de usuario o contraseña incorrectos"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "403",
            "content": {
              "application/json": {
                "examples": {
                  "No tienes los permisos necesarios para llamar a este método": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```