How can I create a post in my storyline using Yammer REST API?

AndriiC 0 Reputation points
2023-12-05T10:47:01.3633333+00:00

I have an application that uses Viva(Yammer) REST API to create posts in a community.

Now I want to provide an option for the app users to create the posts in their own storyline using the app. I have all issues related to the user authentication resolved.

I cannot find a way to do this using POST /messages.js endpoint.

I was able to post messages to a group or send private message to myself.

Posting a message while not specifying any parameters but the message body or with specifying only body and network_id returns error message with code no_access_to_group. Apparently that means that it doesn't try to create a Storyline message because I was able to create a test message in my storyline using yammer website.

What endpoint and parameters should I use to create a Storyline message for a current user using the Viva(Yammer) REST API?

Microsoft 365 and Office | Microsoft Viva | Other
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.