This page describes how a customer can build a page on its own website where a caller - a third party whose calls have been recorded - can revoke their consent and have the recordings they are part of deleted, without contacting the customer. TelecomX does not host such a page; it is built by the customer (the data controller) with the API.
See also Datatilsynet's guidance Optagelse af telefonsamtaler for what a caller must be told and may ask for.
The list of recordings made on a record (GET /pbx/recordingconsent/records/RECORD_ID/recordings) can be shown before the caller confirms - it returns date and length, not the content.
Recordings made while consent is not required (or under the local call policy) are not linked to a consent record. To delete those, find them with the free-text filter of the recording list (it matches the caller and callee number) and delete them one by one with Delete recording. Personal recordings can only be listed and deleted by the employee who owns them.
# 1. After the SMS code check: the caller's records
GET https://api.telecomx.dk/pbx/recordingconsent/records?customer=12345678901234567890ABCD&callerNumber=4512345678
Authorization: Bearer <token of the integration employee>
# 2. The caller chose "revoke and delete everything" for one record
POST https://api.telecomx.dk/pbx/recordingconsent/records/1234567890ABCDEF12345678/invalidate
Authorization: Bearer <token of the integration employee>
Content-Type: application/json
{ "deleteRecordings": true }