YouTrack Request Headers

I am looking to implement a public service that utilizes the YouTrack issuesCount api.

At you specify that the authorization header is mandatory.

But if I do:

curl --header "Content-Type: application/json" -X POST --data "{\"query\":\"project: RIDER #Unresolved\"}" ""

in bash, I get a `{"count":8869,"$type":"IssueCountResponse"}` response which is correct. But I did not send a header for authorization as you can clearly see.

Is this a Bug in YouTrack or an error in your documentation?



I'm Lena from the YouTrack Team. 

When you don't use the token, you act on behalf of the guest user: 

In the guest user can access the issues (you don't need to log in to read the public issues). 

We also ask you not to use our cooperative YouTrack ( for testing purposes. Please create your own cloud instance and perform testing there. It's free:




Hi Lena,


Thanks for the response. Using `` was just for the example for here as you would not have been able to access our own firewall restricted self-hosted instance of youtrack. Stanislav explained about the guest user also.





Happy to hear that. Note that we at JetBrains don't need access to your instance. However, you can use this self-hosted instance of YouTrack to test REST API as well. 


Please sign in to leave a comment.