Guide to api flows for custom frontend integration

Hello.

In our team we’re integrating Mattermost to our product and enabling some of its features (direct chats, etc).

We’re building it with a custom frontend which is not react; and following the official API Docs: https://api.mattermost.com/

Although documentation is really nice, we’re missing a guide that explains how simple flows work; i.e. recovering channels and chats from an user, read its preferences, etc.

Currently we’re doing reverse enginering, trying to guess how this flows work.

We wonder to know if there is a guide that can help us.

Thank you in advance