Forum Discussion

ADennis450's avatar
ADennis450
Visitor
2 years ago

Where do I get my user id?

Hi am trying to hit the API endpoint /api/v2/users/{userId}/projects/{projectId}/runs in order retrieve test run information. However, I don't know what my user id is? Where can I find that information?

1 Reply

  • gtaub's avatar
    gtaub
    Occasional Contributor

    from what i have been told, you can replace the parameter userId with the word me. projectId would need to be pulled using a different API call that will provide the list of projects in bitbar. otherwise, if you use the same project name in testing you can open the project you want under projects and in the URL you will find the project id right after the domain.