sendFile
The client sent a file to the chat with the agent.
Request
POST {apiUrl}/sendFile
{
"userId": "<userId>",
"url": "http://someUrl",
"fileName": "example",
"size": 1
Request parameters:
Parameter | Type | Mandatory | Description |
---|---|---|---|
userId |
string |
Yes | Client ID assigned on JAICP. |
url |
string |
Yes | File download link. |
fileName |
string |
No | Name of the file to be downloaded. |
size |
integer |
No | File size in bytes. |
Answer
Response format:
200 (OK) // request successfully completed