To be authenticated by the API as an authorized user, you must provide the 'KEY API'. A unique KEY API is automatically generated for each Cwork user, to find it, go to Tools> Preferences> Manage Groups and Users menu and double click on the desired user. The API KEY appears in a field. Copy this string.
Change the value of the USER_API_KEY variable by copying the string. Example :
⇨ USER_API_KEY = ' 1R22lUp54vwOvAo0eM4EkItnm '