API- User ID

I’m a bit of a noob, so how do I find a specific user’s user ID?

This one:

userId integer The user ID on the Discourse platform
Name Located in Description Required Schema
userId path ID of the User

Or to refine the question, how do I track a flight based on someone’s username?
Like what would be the API parameters.

Usually I would just fetch the session (server), and it’ll return all the users in that server and make a filtering algorithm.

Parameters, you will need the sessionID , which you can get on the /sessions endpoint, and then plug that into the /flights endpoint

1 Like