API: 400 Bad request when getting opportunity by ID

I’m trying to use the API and I was able to get a token, but any request I send returns 400.

GET /api/2.0/crm/opportunity/1/
Content-Type: application/json
Accept: application/json
Authorization: [token]


<head><title>400 Bad Request</title></head>
<center><h1>400 Bad Request</h1></center>

Am I missing something?

I am not able to reproduce the issue with Community Server 11.5.4. Please specify the version of Community Server you are using and its type of installation (docker, deb/rpm, exe).


Could you provide a test account on your portal?

sure, but I can’t private message in this forum apparently.

You can send the login/password to 4test@onlyoffice.com. Please add the link to this thread to the email.