Skip to main content

sendFile

The client sent a file to the chat with the agent.

Request

POST {apiUrl}/sendFile

Request body:

{
"userId": "<userId>",
"url": "http://someUrl",
"fileName": "example",
"size": 1

Request parameters:

ParameterTypeMandatoryDescription
userIdstringYesClient ID assigned on Tovie Platform.
urlstringYesFile download link.
fileNamestringNoName of the file to be downloaded.
sizeintegerNoFile size in bytes.

Response

Response format:

200 (OK)    // request successfully completed