YouTrack Standalone 2020.3 Help

REST API URL and Endpoints

REST API URL in YouTrack

YouTrack's REST API is available by the following URL:

{YouTrack-Service-URL}/api/

<YouTrack Service URL> is the Base URL of the YouTrack service in your network environment. For example, you have your company's server www.example.com and a YouTrack service. You can configure YouTrack to be accessible by www.example.com/youtrack or, let's say youtrack.example.com.

/api/ is the context path for the REST API of your YouTrack service.

For the sample Base URLs above, REST API URLs are as follows, respectively:

  • For www.example.com/youtrack:

    https://www.example.com/youtrack/api/

  • For youtrack.example.com:

    https://youtrack.example.com/api/

Concluding the example, the endpoint URLs to, let's say, get the profile of the current user are:

  • For www.example.com/youtrack:

    https://www.example.com/youtrack/api/admin/users/me

  • For youtrack.example.com:

    https://youtrack.example.com/api/admin/users/me

Last modified: 28 October 2020