Policies
List Policies
Retrieve a paginated list of policies. Returns policy data including title, content, and summary. Results are filtered by the organization associated with the API key.
Authorization
bearerAuth AuthorizationBearer <token>
Bearer token authentication for API access.
In: header
Query Parameters
page?integer
Page number for pagination
limit?integer
Number of items per page (max 100)
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/policies"{ "policies": [ { "id": 123, "title": "Privacy Policy", "content": "This is the content of the policy", "isActive": true } ], "totalPages": 5, "currentPage": 1, "totalCount": 250}{ "success": false, "message": "Invalid or expired token", "error": { "status": 401, "message": "Invalid or expired token" }}{ "success": false, "message": "Internal server error", "error": { "status": 500, "message": "Internal server error" }}Delete Policy DELETE
Delete an existing policy entry. Only policies belonging to the organization associated with the API key can be deleted. This performs a soft delete.
Update Policy PUT
Update an existing policy entry. Only policies belonging to the organization associated with the API key can be updated.