Mattermost Peer-to-Peer Forum

Direct Message channel API


#1

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?


#2

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.


#3

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