Mattermost Peer-to-Peer Forum

Direct Message channel API


How can I get the channel_id of a direct message channel where I have the access token of one of the user and the user_id of another?


Hi @Mouli,

A response from a community member:

Use the access token and GET /api/v4/users/me . Response has id . Apply algorithm shown here.


@amy.blais you also link the usage of that algorithm?