Legacy Dev Forum Posts

 View Only

Sign Up

Send media file in message conversations using client credentials

  • 1.  Send media file in message conversations using client credentials

    Posted 06-05-2025 18:32

    Adrian_Santamaria | 2024-10-09 17:18:36 UTC | #1

    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.


    Adrian_Santamaria | 2024-10-16 08:39:46 UTC | #2

    Do you have any ideas?


    system | 2024-11-15 08:40:37 UTC | #3

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


    This post was migrated from the old Developer Forum.

    ref: 29788