v1

latestOpenAPI 3.1.02026-07-241630614.2 KB

Upload a part of the file

The method allows you to upload part of the file. The request must be sent to the file service host. The full link indicating the session_token is returned when the session is opened.

post/upload/{session_token}

Path parameters

session_tokenstring required

It is a part of upload_url that comes after "https://drive.kommo.com/upload/" that you get when you create an upload session

Headers

Content-Typestring

Request headers

Request body

RAW_BODYstring binary

Response

200

OR

Example response

{
  "next_url": "https://drive-c.kommo.com/v1.0/sessions/upload/eyJhbGciOiJ362nj218I1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjc0MTg3MzYwMe82wiaWF0Ijo3NDE4NzM2MDAsIm5iZiI6NzQxODczNjAwLCJhY2NvdW50X2lkIjo3Nzc3Nzc3Nywic2Vzc2lvbl74837CI6Nzc3Nzc3NzcsInVzZXJfaWQiOjc3Nzc3NzcsInVzZXJfdHlwZSI6ImludGVybmFsIiwicGFydF9udW0iOjF9.8sdJVTZJ_MjuHhMGDkU7_eSi2q1u1EG-au_TZhmmXK8",
  "session_id": 26434413
}