Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

Finding user_id for hubot-auth

$
0
0

Hi @lwhitworth,

Apologies for the late response.

The user ID is not surfaced in the UI anywhere so the best way to figure out your user ID would be to make a request to our /api/v3/users/me which will return a JSON object containing your ID. You will need to add the Authorization header with the value BEARER <yourtokenhere>. You can find your token in your browser cookies when logged in on a Mattermost page.

You can make the request with a simple curl if you're familiar with using the commandline or you can use a tool like the Chrome extension Postman.


Viewing all articles
Browse latest Browse all 25778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>