docs/system-admin-guide/api-and-webhooks/README.md
Configure all API-related settings and add and manage webhooks to your OpenProject environment.
Navigate to Administration → API and webhooks.
Here, you can manage whether users can create personal API tokens, this setting allows users to access the OpenProject APIs using an API token created from the user's "Account settings" page. You can set the maximum page size the API will respond with. It will not be possible to perform API requests that return more values on a single page. You can also enable write access to read-only attributes, which will allow administrators to write static read-only attributes during creation, such as createdAt and author. This can be useful during data imports.
If the docs page is enabled you can get an interactive view of the APIv3 documentation.
To enable CORS headers being returned by the OpenProject APIv3,
enable the check box on this page. This will also enable it for dependent authentication endpoints, such as OAuth endpoints /oauth/token and the like.
You will then have to enter the allowed values for the Origin header to which OpenProject will allow access.
This is necessary since authenticated resources of OpenProject cannot be accessible to all origins with the * header value.
For more information on the concepts of Cross-Origin Resource Sharing (CORS), please see:
You can set up webhooks for OpenProject in order to integrate OpenProject with other applications. A scenario is for example to signal the creation of a time log in OpenProject to a billing application.
Press the green + Webhook button to add a new webhook to OpenProject.
You can configure the following options for webhooks: