Add message part as if sent from Bot

I want to add a message to a conversation as the Send As who is assigned to the API Token.

Ok. I have solved this myself through the discovery of an undocumented feature of the API.

If you want the message to appear as if it has come from the user name set for the API Token, set the actor_type to “bot” in the message part. There is no need to include the actor_id in the payload. Its that simple :slight_smile:

2 Likes

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

Thank you for sharing your findings with the community @RobAtOpinyin !