Kommo Sessions API

The Sessions API from Kommo — 1 operation(s) for sessions.

GitHub OpenAPI

Operations 1

POST /v1.0/sessions Create a file upload session #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/kommo:kommo-sessions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

kommo-sessions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: files-api Sessions API
  version: '1.0'
servers:
- url: https://{your-drive}.kommo.com
  variables:
    your-drive:
      default: your-drive
security:
- sec0: []
tags:
- name: Sessions
paths:
  /v1.0/sessions:
    post:
      summary: Create a file upload session
      description: The method allows you to create a session to upload a file or version of a file. If the method is used to upload a new version of a file, then the uploaded version will automatically become the active version of the file. The request must be sent to the file service host.
      operationId: create-session
      parameters:
      - name: Content-Type
        in: header
        description: Request headers
        schema:
          type: string
          default: application/json
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - file_name
              - file_size
              properties:
                file_name:
                  type: string
                  description: Name of the uploaded file
                file_size:
                  type: integer
                  description: Size of the uploaded file (in bytes)
                  format: int32
                file_uuid:
                  type: string
                  description: The UUID of the file the new version of the file is being uploaded for. If UUID is not specified, a new file will be created.
                content_type:
                  type: string
                  description: MIME type of file
                with_preview:
                  type: boolean
                  description: When this flag is set, a preview will be generated for the file.
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Upload session successfully created:
                  value: "{\n  \"max_file_size\": 314572800,\n  \"max_part_size\": 524288,\n  \"session_id\": 26136001,\n  \"upload_url\": \"https://drive-c.kommo.com/v1.0/sessions/upload/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjc0MTg3MzYwMCwiaWF0Ijo3NDE4NzM2MDAsIm5iZiI6NzQxODczNjAwLCJhY2NvdW50X2lkIjo3Nzc3Nzc3Nywic2Vzc2lvbl9pZCI6Nzc3Nzc3NzcsInVzZXJfaWQiOjc3Nzc3NzcsInVzZXJfdHlwZSI6ImludGVybmFsIiwicGFydF9udW0iOjF9.8sdJVTZJ_MjuHhMGDkU7_eSi2q1u1EG-au_TZhmmXK8\"\n}"
              schema:
                type: object
                properties:
                  max_file_size:
                    type: integer
                    example: 314572800
                    default: 0
                  max_part_size:
                    type: integer
                    example: 524288
                    default: 0
                  session_id:
                    type: integer
                    example: 26136001
                    default: 0
                  upload_url:
                    type: string
                    example: https://drive-c.kommo.com/v1.0/sessions/upload/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjc0MTg3MzYwMCwiaWF0Ijo3NDE4NzM2MDAsIm5iZiI6NzQxODczNjAwLCJhY2NvdW50X2lkIjo3Nzc3Nzc3Nywic2Vzc2lvbl9pZCI6Nzc3Nzc3NzcsInVzZXJfaWQiOjc3Nzc3NzcsInVzZXJfdHlwZSI6ImludGVybmFsIiwicGFydF9udW0iOjF9.8sdJVTZJ_MjuHhMGDkU7_eSi2q1u1EG-au_TZhmmXK8
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Incorrect data transmitted:
                  value: '{}'
              schema:
                type: object
                properties: {}
        '401':
          description: '401'
          content:
            text/plain:
              examples:
                Authentication failed:
                  value: ''
        '403':
          description: '403'
          content:
            text/plain:
              examples:
                You do not have rights to call this method:
                  value: ''
      tags:
      - Sessions
components:
  securitySchemes:
    sec0:
      type: oauth2
      flows: {}
x-readme-fauxas: true
x-provenance:
  method: searched
  source: https://developers.kommo.com/reference
  harvested: '2026-11-15'
  tool: harvest-readme-openapi.py
  note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
  assembled_from:
  - https://developers.kommo.com/reference/create-session.md
  - https://developers.kommo.com/reference/delete-files.md
  - https://developers.kommo.com/reference/edit-file.md
  - https://developers.kommo.com/reference/file-uuid.md
  - https://developers.kommo.com/reference/get-files.md
  - https://developers.kommo.com/reference/get-version.md
  - https://developers.kommo.com/reference/restore-files.md
  - https://developers.kommo.com/reference/upload-file.md
  - https://es-developers.kommo.com/reference/adjuntar-archivos-a-entidad.md
  - https://es-developers.kommo.com/reference/cargar-parte-del-archivo.md
  - https://es-developers.kommo.com/reference/desvincular-archivos-de-entidad.md
  - https://es-developers.kommo.com/reference/editar-un-archivo.md
  - https://es-developers.kommo.com/reference/eliminar-archivos.md
  - https://es-developers.kommo.com/reference/obtener-archivo-por-uuid.md
  - https://es-developers.kommo.com/reference/obtener-archivos-adjuntos-a-entidad.md
  - https://es-developers.kommo.com/reference/obtener-entidades-asociadas-a-archivo.md
  - https://es-developers.kommo.com/reference/obtener-lista-de-archivos.md
  - https://es-developers.kommo.com/reference/restaurar-archivos.md
  - https://pt-developers.kommo.com/reference/anexar-arquivos-a-uma-entidade.md
  - https://pt-developers.kommo.com/reference/carregar-uma-parte-do-arquivo.md
  - https://pt-developers.kommo.com/reference/desanexar-arquivos-de-uma-entidade.md
  - https://pt-developers.kommo.com/reference/editar-um-arquivo.md
  - https://pt-developers.kommo.com/reference/excluir-arquivos.md
  - https://pt-developers.kommo.com/reference/obter-arquivos-anexados-a-uma-entidade.md
  - https://pt-developers.kommo.com/reference/obter-entidades-associadas-a-um-arquivo.md
  - https://pt-developers.kommo.com/reference/obter-um-arquivo-por-uuid.md
  - https://pt-developers.kommo.com/reference/obter-uma-lista-de-arquivos.md
  - https://pt-developers.kommo.com/reference/restore-files.md
  merge:
    pages: 28
    deduped: 27
    conflicts_kept_first: 16