diff --git a/helpers/Dojo/DojoBackendHelper.ts b/helpers/Dojo/DojoBackendHelper.ts
index bde35222d821e5d1da4024f17c0de00d79cf8837..61043cec5c402a77e87c01778b86b8c528c91836 100644
--- a/helpers/Dojo/DojoBackendHelper.ts
+++ b/helpers/Dojo/DojoBackendHelper.ts
@@ -3,10 +3,14 @@ import ClientsSharedConfig from '../../config/ClientsSharedConfig';
 
 
 class DojoBackendHelper {
-    public getApiUrl(route: ApiRoute, options?: Partial<{ assignmentNameOrUrl: string, exerciseIdOrUrl: string, gitlabProjectId: string, tagName: string }>): string {
+    public getApiUrl(route: ApiRoute, options?: Partial<{ userId: number, assignmentNameOrUrl: string, exerciseIdOrUrl: string, gitlabProjectId: string, tagName: string }>): string {
         let url = `${ ClientsSharedConfig.apiURL }${ route }`;
 
         if ( options ) {
+            if ( options.userId ) {
+                url = url.replace('{{userId}}', encodeURIComponent(options.userId.toString()));
+            }
+            
             if ( options.assignmentNameOrUrl ) {
                 url = url.replace('{{assignmentNameOrUrl}}', encodeURIComponent(options.assignmentNameOrUrl));
             }