You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Is it possible to upload file attachments with Chat REST API?

Received Response
51
Views
4
Comments
edited Jun 8, 2022 12:09PM in General Technical Discussions 4 comments

Summary

Trying to meet the requirement of enable uploading file attachments on custom chat application by using Chat REST API

Content

I'm working on development of an application that integrates with OSvC Chat REST API to engage chat sessions. It works fine but I have a requirement to enable uploading of file attachments from customers.

By doing my researchs cannot found, in Chat REST API documentation, references to file uploading.

I found that it is possible to upload a file attachment to an incident using it rest service, so I decided to explore a way to get the ID of the incident created when the chat session starts but chat's incident id isn'n exposed on chats rest service and the incident created with a chat session isn't saved on DB until chat session ending. The creation of a Chat rule to force incident saving was not tried yet.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!