Mattermost, Inc.

How to get message from Mattermost API

i use React with Mattermost API
i can send message to Mattermost API but i can’t get message from Mattermost API
please help me

What API payload are you using and what error message are you getting?

I use API v4
I want to know how to receive messages in real time.

Hi, @punjan

I don’t quite get what you mean by “receive messages in real time”. Maybe you can provide some extra context around the requirement that you have here?

As you know, we have the list of available APIs in the Mattermost API that you can execute. For example, the Get posts for a channel might be the one that you are looking for.