How do I get the user_id, because the links I find don't seem to work

I have the client ID. How would I go about sending with the request? yes, I am very new to this part of programming.