POST/api/v1/privacy/incidents/{id}/notify

Record that the supervisory authority has been notified (GDPR Art. 33/34)

Stamps authority_notified_at (clears the 72h SLA flag), appends the jurisdiction to reported_to[], auto-advances draft/open to notified, and writes an audit-log entry under action=notify. Idempotent: re-calling with the same authority + notification_reference returns the existing row.

Authentication

Send Authorization: Bearer YOUR_API_KEY on every request. Generate API keys at /dashboard/api-keys.

Parameters

id in pathrequired
string

Request body required

Example

{
  "authority_jurisdiction": "string",
  "notification_reference": "string",
  "authority_notified_at": "2026-05-29T20:54:19.749Z",
  "data_subjects_notified_at": "2026-05-29T20:54:19.749Z"
}
Schema
{
  "application/json": {
    "schema": {
      "type": "object",
      "required": [
        "authority_jurisdiction"
      ],
      "properties": {
        "authority_jurisdiction": {
          "type": "string",
          "maxLength": 200
        },
        "notification_reference": {
          "type": "string",
          "maxLength": 200
        },
        "authority_notified_at": {
          "type": "string",
          "format": "date-time"
        },
        "data_subjects_notified_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}

Response

All status codes

200Notification recorded (or idempotent no-op when re-submitted with identical authority + reference)

Code samples

cURL

curl -X POST \
  https://evalguard.ai/api/v1/privacy/incidents/{id}/notify \
  -H "Authorization: Bearer $EVALGUARD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "authority_jurisdiction": "string", "notification_reference": "string", "authority_notified_at": "2026-05-29T20:54:19.749Z", "data_subjects_notified_at": "2026-05-29T20:54:19.749Z" }'

TypeScript

import { EvalGuard } from "@evalguard/sdk";

const client = new EvalGuard({ apiKey: process.env.EVALGUARD_API_KEY });

const response = await client.request({
  method: "POST",
  path: "/api/v1/privacy/incidents/{id}/notify",
  body: {
    "authority_jurisdiction": "string",
    "notification_reference": "string",
    "authority_notified_at": "2026-05-29T20:54:19.749Z",
    "data_subjects_notified_at": "2026-05-29T20:54:19.749Z"
  },
});
console.log(response);

Python

from evalguard import EvalGuard
import os

client = EvalGuard(api_key=os.environ["EVALGUARD_API_KEY"])

response = client.request(
    method="POST",
    path="/api/v1/privacy/incidents/{id}/notify",
    body={
    "authority_jurisdiction": "string",
    "notification_reference": "string",
    "authority_notified_at": "2026-05-29T20:54:19.749Z",
    "data_subjects_notified_at": "2026-05-29T20:54:19.749Z"
},
)
print(response)

Go

package main

import (
	"context"
	"fmt"
	"os"

	"github.com/evalguard/evalguard-go"
)

func main() {
	client := evalguard.NewClient(os.Getenv("EVALGUARD_API_KEY"))
	resp, err := client.Request(context.Background(), "POST", "/api/v1/privacy/incidents/{id}/notify", map[string]any{"authority_jurisdiction": "string", "notification_reference": "string", "authority_notified_at": "2026-05-29T20:54:19.749Z", "data_subjects_notified_at": "2026-05-29T20:54:19.749Z"})
	if err != nil { panic(err) }
	fmt.Println(resp)
}

Other Compliance endpoints