Skip to main content

Two-Way File Sharing with HTTP Chat API

In addition to text, you can also share documents, photos, videos, and audio files.

F
Written by Filiz Kahrıman
Updated over a year ago

Purpose and Features

Effective communication between the agents and the end-users is crucial. However, text-based communication can sometimes be insufficient. That's why we have enhanced our HTTP Chat API to enable bilateral file sharing. With HTTP Chat API, you can now share photos, documents, audio, and video or view incoming messages of this kind.

Benefits

The new feature we have added to our HTTP Chat API, bilateral file sharing, offers a range of benefits for both agents and end-users.

  • Enriched Communication with Various File Types: Now, you can share documents, photos, videos, and audio files in addition to text. This makes communication more effective and transparent.

  • Quick and Easy Sharing: File sharing can be done quickly and seamlessly through the HTTP Chat API. This helps improve communication between agents and end-users.

Instructions

To use this feature, you can utilize the following API:

POST /chat-api/put_message 
{
"token": "token-string",
"url": "public-https-url",
"type": "image" | "file" | "video" | "audio"
}

Token: Enter the token information of the chat initiated with HTTP Chat API.

URL: Enter the URL information of the file to be delivered to the customer agent.

Type: Specify the file type in this field.

API:

Customer Agent Screen:

Limit:

  • The size of a file cannot exceed 16 MB.

  • Supported File Types: msword, vnd.openxmlformats-officedocument.wordprocessingml.document, vnd.ms-excel, vnd.openxmlformats-officedocument.spreadsheetml.sheet, vnd.ms-powerpoint, vnd.openxmlformats-officedocument.presentationml.presentation, pdf, png, jpg, jpeg, mp4, 3gpp, mp3, wav, ogg, mpeg, csv, webp, x-wav


We wish your operation benefits from this new release and look forward to hearing your feedback!

Did this answer your question?