Skip to main content
PUT
/
v1
/
legal
/
{type}
Upsert legal content for a type
curl --request PUT \
  --url https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/legal/{type} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>"
}
'
{
  "type": "<string>",
  "orgSlug": "<string>",
  "content": "<string>",
  "updatedBy": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

User session JWT or instance API key (iak_*). Send as Authorization: Bearer <token>.

Path Parameters

type
string
required

Legal document type slug (e.g. cgu, privacy-policy, secure-chat).

Maximum string length: 64
Pattern: ^[a-z0-9-]+$

Body

application/json
content
string
required

Raw HTML content of the legal document.

Maximum string length: 500000

Response

Legal document upserted.

type
string
orgSlug
string
content
string
updatedBy
string