Add methods to post messages/attachments in JS API

We’re integrating a host-page screen recorder with the embedded widget. After submit we have a share URL for the same thread and a video field, but setChatInputMessage can’t put it in the conversation. The setChatInputMessage method seems to fill the input field for initial chat message only. It would be great if you can enhance the API with new methods to set/send message or attachment.

Thanks for the detailed suggestion! I’ll pass this along to our team for consideration as a potential enhancement to the JS API, particularly for sending messages or attachments to an existing conversation.

While I can’t provide an ETA at this time, we’ll share any updates here. You can also keep an eye on our Developers page for any API-related updates.

Thanks again for the feedback!

1 Like

That would be a really useful addition for anyone building custom integrations with the widget. Being able to send attachments directly into an existing conversation would make this workflow much smoother. It would save developers from having to rely on workarounds for something fairly common. Hopefully the team can add it to the JS API soon.

1 Like

I’ll make sure your feedback is included when we share the feature request with our team.

1 Like

Thanks folks! Looking forward to it.