Policies
Create a new policy
Creates a new policy. The author_id and last_updated_by are set from the JWT token automatically.
post/policies
Request body
Example request
{
"title": "Data Governance Policy",
"content_html": "<h1>Data Governance</h1><p>This policy outlines...</p>",
"status": "draft",
"tags": [
"Data governance",
"Privacy"
],
"next_review_date": "2026-07-01T00:00:00.000Z",
"assigned_reviewer_ids": [
2,
5
]
}Response
Policy created successfully
Example response
{
"message": "Created",
"data": {
"id": 42,
"organization_id": 1,
"title": "AI Ethics Policy",
"content_html": "<h1>AI Ethics Policy</h1><p>...</p>",
"status": "draft",
"author_id": 1,
"last_updated_by": 1,
"assigned_reviewer_ids": [
2,
5
]
}
}