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:
Parameter | Type | Mandatory | Description |
---|---|---|---|
userId | string | Yes | Client ID assigned on Tovie Platform. |
url | string | Yes | File download link. |
fileName | string | No | Name of the file to be downloaded. |
size | integer | No | File size in bytes. |
Response
Response format:
200 (OK) // request successfully completed