Trying to call this with Postman or Python/requests, i get a 401 answer :
Error: 401 - <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>401 Unauthorized</title>
</head><body>
<h1>Unauthorized</h1>
<p>This server could not verify that you
are authorized to access the document
requested. Either you supplied the wrong
credentials (e.g., bad password), or your
browser doesn't understand how to supply
the credentials required.</p>
</body></html>
Yes indeed, the screenshot is on the get set up (to check if at least get would be successful). I’m trying with post/get as i change the endpoint i’m trying to access.
You need these two scopes to access any of the classic/legacy endpoints that are documented as part of the “HTTP API”:
Classic API (read only)
Classic API (write only)
The first one will allow you to GET the api endpoints in /export/...
The second one will allow you to POST the api endpoint in /api/... to create a booking (I had misread your original question and thought you want to import data into some other system from Indico).
That said, these APIs are all VERY legacy and may not support all room booking functionality (I think I wrote most of these old APIs over 10 years ago). Unless that bookRoom endpoint is sufficient for you,.it may be better to look at the requests sent when using the room booking web interface and replicate these (using the “Everything (all methods)” scope).