Sending files in a chat Follow

Comments

14 comments

  • Avatar
    Victor

    Is there any way to send image attachment via REST chat api?

  • Avatar
    Ramin Shokrizadeh

    Hi Victory,

    The Chat REST APIs are not designed to support ongoing chats, they focus on past chats. We have no immediate plans in the next 6 months to offer APIs to trigger actions during an ongoing chat.

    Can you walk me through the use case you are trying to support?

    Thanks,
    Ramin

  • Avatar
    Victor

    Hi Ramin,

    Do you mean it's impossible for make a realtime-chat with Zendesk REST API and websocket right now.
    I thought these APIs:
    https://developer.zendesk.com/rest_api/docs/chat/chats
    https://developer.zendesk.com/rest_api/docs/chat/apis#streaming-api
    can support live-chat? Can it?

    Also, I also notice other API clients here: https://developer.zendesk.com/rest_api/docs/api-clients/introduction. Can these API clients support live-chat ?

  • Avatar
    Ramin Shokrizadeh

    Hi Victor,

    The streaming API is designed for reporting of real time data in aggregate, not to do certain actions in a specific chat.

    Currently, there are no API clients that support the Chat REST APIs and the clients listed on that page are for the Support product only.

    Thanks,
    Ramin

  • Avatar
    Ellen van Beek

    Hi, 

    Is there a way to only enable File Sending from the agent point of view and not as a visitor? 

    Thank you. 

  • Avatar
    Ramin Shokrizadeh

    Hi Ellen,

    There is no way to support this with the native widget. You can look into building a custom widget that does not support file sending using the Web SDK: https://api.zopim.com/web-sdk/

    Web SDK is only available to customers on the Enterprise plan and requires development work on your end. 

    Thanks,

    Ramin

  • Avatar
    vivek mishra

    Hi Ramin, 

    How can we enable file sharing option in chat sample provided by zendesk for android platform?

    This would be for visitors.

  • Avatar
    Ramin Shokrizadeh

    @Vivek it should be there in sample app automatically. If it doesn't work, try turning off and on file sending in your account as an admin and reload the app. If you are still having trouble, please email chat@zendesk.com and we can troubleshoot further. 

  • Avatar
    Diego

    I need the same than Ellen.
    I am creating an APP to send files from an image bank.

    But i can't find a way to do it through API.

    For example, through API can send a text message using

    ZAFClient.invoke('chat.sendChat', "Text Message");

    There is a way to send a picture?

    Thanks

  • Avatar
    Ramin Shokrizadeh

    Hi Diego,

    The apps framework currently does not have an API endpoint to send files or images. For now, you might need to send the URL to the file from the image bank app instead of the file itself.

    There are no plans in 2018 to add an attachment API to the Chat apps APIs.

    Thanks,

    Ramin

  • Avatar
    Us Kumangxxx

    Hi

    can we send file using conversation API ?

  • Avatar
    Ramin Shokrizadeh

    Hi Us,

    Currently, there is no API to trigger a file sending event using the Conversations API.

    -Ramin

     

  • Avatar
    Us Kumangxxx

    Hi, so image sending is not possible at all in Conversation API ?

     

  • Avatar
    Ramin Shokrizadeh

    Correct. At this time, it isn't supported.

Please sign in to leave a comment.

Powered by Zendesk