Policies

Get policy by ID

Changed on

Returns a single policy by its ID, including assigned reviewer IDs.

get/policies/{id}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/policies/{id}
  • Auth
    HTTP bearer

Path parameters

idinteger required
Example:42

Numeric ID of the policy

Response

Policy retrieved successfully

messagestring

Example response

{
  "message": "OK",
  "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
    ]
  }
}

Changes