We're Hiring!

Mattermost, Inc.

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?

1 Like

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.

1 Like

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