How to get user ID in the new API with only user auth token?

As per the new API docs

Optional Query String Parameters

Name Type Description
id string User ID. Multiple user IDs can be specified. Limit: 100.
login string User login name. Multiple login names can be specified. Limit: 100.

You can specify a login or id as a query string argument to perform a search/lookup