Overview
For the curious, you can find your user id under "analytics_id" in the /me endpoint of the v1 API.
To do this, you must first login to your CircleCI account. After that, if you visit the following link in browser address, you will see the following output (see example).
Example:
https://circleci.com/api/v1.1/me
{
"enrolled_betas" : [ ],
"in_beta_program" : false,
"selected_email" : "imanemail@youremail.com",
"avatar_url" : "https://avatars.githubusercontent.com/u/124843?v=4",
"basic_email_prefs" : "smart",
"sign_in_count" : 6,
"github_oauth_scopes" : [ "user:email", "repo" ],
"email_authentication" : null,
"analytics_id" : "154f5od2-ea78-5de5-bc25-6883746c20fz",If you are not logged in, you will see the following error:
{
"message" : "You must log in first."
}PLEASE NOTE: v1.1 API is deprecated, so we are unable to provide support for any issues relating to these endpoints
Comments
Please sign in to leave a comment.