It seems that similar request was posted here:
Hello everyone.
I have just installed ONLYOFFICE Workspace Community from RPM/DEB packages using the provided script:
I have just installed it successfully on Ubuntu 22.04 and everything works/runs fine
with the following commands:
wget https://download.onlyoffice.com/install/workspace-install.sh
bash workspace-install.sh
EXPECT the API
If i go to https://mydomain.com/api/2.0
I am seeing this Runtime Error:
[Screenshot from 2025-06-20 03-06-59]
Does anyone how i can enable the API an…
I will close the linked topic and respond here.
I can see that you are trying to send some requests to the API of Workspace. Please note that you do not need JWT for these requests. The runtime error you see is simply says that there is no such address, consider in as an endpoint for your POST/GET requests. It requires authentication, not JWT.
Here was an example with some methods:
Here is the way to download the file with given in this thread methods:
First, we need to get the authentication token. For that you can use POST api/2.0/authentication method. After sending the request to API, you will receive such response:
{
"count": 1,
"status": 0,
"statusCode": 201,
"response": {
"token": "<your_token>",
"expires": "2024-05-30T12:47:54.7762210Z"
}
}
From this part we have to fetch the <your_token> value which will be used for further…