# Integration changelog

Source: https://ethicsportal.eu/developers/changelog/

## Versioning and compatibility

The API has one current contract. URLs carry no version. The `info.version` field in the [OpenAPI schema](https://ethicsportal.eu/openapi.json) identifies the contract with semantic versioning: the minor version rises for additions and the major version for a breaking change. Every change is listed on this page with its date.

### Changes that do not break clients

These can ship at any time, recorded here:

* New endpoints, operations and scopes.
* New optional request fields.
* New response fields, including fields inside nested objects.
* New values in fields that list a fixed set of values, such as a report `status`.
* New webhook event types, and new fields in webhook payloads.
* New error codes, response headers and `_url` links.

### Build your client to tolerate them

* Ignore response and webhook fields you do not recognise.
* Handle an unknown value in a fixed-value field without failing.
* Acknowledge webhook events whose `type` you do not handle with a `2xx` response, and ignore them.
* Follow `_url` links and `Link` headers instead of building URLs.
* Treat IDs and cursors as opaque strings.

### Breaking changes

A breaking change removes or renames a field, endpoint or event type, changes a field’s type or meaning, makes an optional request field required, or asks for a different scope. The confidential-data boundary never changes: no version adds report content to the API.

We avoid breaking changes. If one is needed:

1. The new behaviour ships next to the old one.
2. The old one is marked deprecated in the OpenAPI schema, and its responses carry `Deprecation` and `Sunset` headers ([RFC 9745](https://www.rfc-editor.org/rfc/rfc9745), [RFC 8594](https://www.rfc-editor.org/rfc/rfc8594)).
3. We email everyone whose tokens still use it: the owner of a personal token, or the administrators of the organisation that owns an organisation token.
4. It keeps working for at least six months after that email.

If breaking changes ever become frequent, new behaviour will be opt-in through an `EthicsPortal-Version` date header. Requests without the header will keep the contract they use today.

## MCP server

10 November 2026\. An AI assistant can connect to EthicsPortal through the [MCP server](https://ethicsportal.eu/developers/mcp/) and call the API’s operations as tools, after a person approves the connection with OAuth. It started as a pilot for chosen organisations. Existing API tokens and webhooks work as before. In the audit trail, an entry written through a connection has the actor kind `mcp`.

11 November 2026\. A person with no account or no organisation can [start from an assistant](https://ethicsportal.eu/developers/mcp/#start-without-an-organisation): they sign up on the consent screen, and the assistant creates their first organisation. The same day, the MCP server opened to every organisation that has API access.

14 November 2026\. Only four tools are [marked destructive](https://ethicsportal.eu/developers/mcp/#tools) now: the ones that lose something that cannot be restored. Before, every tool that sent `PATCH` or `DELETE` was, so Codex refused `update_channel_configuration` under the approval policy `never`. The OpenAPI schema marks the four operations with `x-mcp-destructive`. The server also offers the [prompt](https://ethicsportal.eu/developers/mcp/#prompt) `set_up_channel`, its resource metadata names its documentation, privacy notice and terms, and a request without a token gets a plain-text body that names the [setup page](https://ethicsportal.eu/ai-assistant/).

14 November 2026\. A member of other organisations may leave every organisation unticked on the consent screen when the app asks for `organizations:create`. The connection then reaches only the organisations the app creates.

17 November 2026\. A client can identify itself with a [Client ID Metadata Document](https://ethicsportal.eu/developers/mcp/#identify-the-client): its `client_id` is the `https` address of its own metadata, and it does not register first. The authorization server metadata now has `client_id_metadata_document_supported: true`. Dynamic Client Registration works as before. Out-of-band redirect addresses such as `urn:ietf:wg:oauth:2.0:oob` were never accepted, and the page that would show such a code no longer exists.

## 2.1.0: cancelled deliveries can be retried

Released on 30 November 2026.

* Changing an endpoint’s URL, signing secret, event selection or enabled state cancels deliveries that were waiting for a retry. The retry operation now accepts those cancelled deliveries as well as failed ones and sends them with the endpoint’s current URL and secret. Before, it answered `409 not_retryable` and the events could not be sent again.

## 2.0.0: the viewer role is now auditor

Released on 29 November 2026.

* The read-only role has a new name. In the invitation and member `role` fields, the value `viewer` is now `auditor`, so the values are `admin`, `member` and `auditor`. Existing members with this role are listed as `auditor`. The role’s permissions are unchanged.
* This is a breaking change. A request that sends `viewer` is rejected with `422 validation_failed`. Send `auditor` instead. No API client used this value, so it changed without the deprecation period described above.

## 1.5.0: voice recordings removed

Released on 26 November 2026.

* EthicsPortal no longer records voice messages. The channel configuration field `voice_recording_enabled` is deprecated: responses always return `false`, and a request that sends it is accepted and the value ignored. It will be removed from the contract no earlier than 26 May 2027.

## 1.4.0: the DPIA as a document

Released on 23 November 2026.

* `GET /organizations/:organization_id/whistleblower/documents/dpia.docx` downloads an editable data protection impact assessment (Article 35 GDPR), pre-filled from the channel’s settings. It is in English, French or Polish; other languages get English. It needs `documents:read`, and a personal token must belong to an administrator or viewer.
* The document list includes the type `dpia` only for channels in EU member states. For other channels the download answers `not_found`.

## 1.3.0: write to support

Released on 14 November 2026.

* `POST /me/support_messages.json` sends a message to the EthicsPortal team in the person’s support chat, the same thread as **Contact support** in the web application. The team answers there and by email. A personal token sends it without a scope. An organisation token has no person to answer, so it gets `forbidden`. As an MCP tool it is `send_support_message`. Use it to ask for the verification of the company details.

## 1.2.0: a pause answers 503

Released on 12 November 2026.

* If EthicsPortal pauses the API for every organisation, each request answers `503` with the code `temporarily_unavailable` and `Retry-After: 300`. Before, it answered `404`. Tokens and webhooks are kept during a pause. [Errors](https://ethicsportal.eu/developers/pagination-and-errors/#errors).
* The [MCP server](https://ethicsportal.eu/developers/mcp/) and its OAuth addresses answer `503` in the same way while assistant connections are paused.
* API access that is suspended for one organisation still answers `not_found`.

## 1.1.0: feedback from any token, and a feedback link in every error

Released on 10 November 2026.

* [Product feedback](https://ethicsportal.eu/developers/administration/#product-feedback) needs no scope. Any valid token can send it, and an organisation token can send it too. The `feedback:write` scope no longer exists. It was removed from the tokens that held it, and their other scopes are unchanged.
* Every error response carries `error.feedback_url`, the address of the feedback operation. [Errors](https://ethicsportal.eu/developers/pagination-and-errors/#errors).

## 1.0.1: audit trail entries appear after a minute

Released on 10 November 2026\. Both audit trail endpoints now return an entry once it is a minute old. Before, an entry whose write finished late could appear behind a timestamp a collector had already passed, and resuming with `created_after` skipped it. [Read the audit trail](https://ethicsportal.eu/developers/administration/#read-the-audit-trail).

## Initial contract

Version 1.0.0, released on 10 November 2026\. The first API and webhook contract, available to every organisation.

* Organisation, whistleblowing channel and report metadata reads.
* Personal tokens that act with their owner’s current role in every organisation, and organisation tokens that belong to one organisation and keep working when staff change.
* Fixed scopes per token: `reports:read`, `channel:read`, `channel:write`, `webhooks:read`, `webhooks:write`, and `organizations:create` for personal tokens. A missing scope returns `insufficient_scope` and names it in `WWW-Authenticate`.
* Lists are objects with `data` and `next_cursor`, so they can gain fields without breaking clients.
* `Idempotency-Key` on every POST makes retries after a lost response safe.
* The audit trail, members, invitations and organisation renaming, with `audit_log:read`, `members:read`, `members:write` and `organizations:write`.
* Document downloads (`documents:read`), billing status (`billing:read`), and accepting or declining your own invitations with a personal token (`invitations:respond`).
* Product feedback with a personal token (`feedback:write`).
* Subscription checkout and billing portal links (`billing:write`), completed by a person on Stripe’s pages.
* `ETag` on every JSON read with `If-None-Match` support, and `_url` links so clients can navigate from `/identity.json` without building URLs.
* Organisation creation and channel configuration with strict JSON writes and field-only validation errors. New organisations still need their DPA accepted in the application.
* Organisation-owned, signed lifecycle and deadline webhooks, with retries, stable event IDs and scheduled retry times in delivery history. Everything on the webhook screen is also available through the API.
* Token activity with separately sampled successful requests and refusals, plus a limit of 20 active tokens per user and per organisation.
* Webhook failure warnings with administrator notifications. Failures do not automatically disable webhooks.
* Explicit exclusion of report content, identities, attachments, messages, notes, category, closure outcome and retaliation.
