Send media file in message conversations using client credentials

Hello! We are trying to develop a solution to send media files in message conversations, but not from an agent but from a flow/bot.

So, we tried to implement what is explained in the Developer Center guide, inside an AWS Lambda that we would invoke from the flow/bot. However, 2 of the described methods (POST /api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages/media and POST /api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages, are available only using tokens with User Context, so Client Credentials do not work.

Is there another way to achieve this? There are many use cases when a customer requests documents via self-service bot, so we need a way to send them.

Do you have any ideas?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.