Developer docs menu
Reference · Policies
List policies
/api/policiesReturns your organisation's policies, newest first, up to 200. There is no paging on this endpoint: use the status and category filters to narrow the list.
Parameters
statusquery · string, one of DRAFT, PUBLISHED, ARCHIVEDoptionalOnly policies in this state. Asking for ARCHIVED also includes archived policies.
categoryquery · stringoptionalOnly policies in this category, by category code (for example DATA_PROTECTION).
Example request
curl -s "https://www.quickpolicy.co.uk/api/policies?status=PUBLISHED" \
-H "Authorization: Bearer $QP_API_KEY"Response
200 OK with a JSON body. Responses can carry more fields than are listed here; ignore any you do not recognise.
policiesarray of objectNewest first, at most 200. No policy text; fetch one policy for that.
idstringtitlestringsummarystring, or nullcategorystringThe policy category code, for example DATA_PROTECTION.
statusstring, one of DRAFT, PUBLISHED, ARCHIVEDversionintegerGoes up by one on every saved change.
reviewFrequencyDaysintegerlastReviewedAtstring, or nullISO 8601 date and time, UTC.
nextReviewAtstring, or nullISO 8601 date and time, UTC.
createdAtstringISO 8601 date and time, UTC.
updatedAtstringISO 8601 date and time, UTC.
authoranyWho wrote it, by name only.
acknowledgementCountintegerAcknowledgements of the current version.
draftPublishStatestring, or nullFor drafts, the status of the latest publish request (for example PENDING); otherwise null.
visibilityobjectcanReadDraftPoliciesbooleancanViewArchivedPoliciesbooleandefaultStatusesarray of stringallowedStatusesarray of string
{
"policies": [
{
"id": "cm3pol0001",
"title": "Data Protection Policy",
"summary": null,
"category": "DATA_PROTECTION",
"status": "PUBLISHED",
"version": 3,
"reviewFrequencyDays": 365,
"lastReviewedAt": "2026-10-12T15:20:00.000Z",
"nextReviewAt": "2027-10-12T15:20:00.000Z",
"createdAt": "2026-09-01T10:00:00.000Z",
"updatedAt": "2026-10-12T15:20:00.000Z",
"author": {
"name": "Sam Patel"
},
"acknowledgementCount": 11,
"draftPublishState": null
}
],
"visibility": {
"canReadDraftPolicies": false,
"canViewArchivedPolicies": false,
"defaultStatuses": [
"PUBLISHED"
],
"allowedStatuses": [
"PUBLISHED"
]
}
}Errors
Every error has a JSON body with an error message. About errors
401The key is missing, wrong, deleted, switched off or past its expiry date.{"error":{"code":"UNAUTHORIZED","message":"The API key is missing, wrong, deleted or past its expiry date."}}403Your organisation's plan no longer includes API access. Checked on every request.{"error":{"code":"API_ACCESS_NOT_IN_PLAN","message":"Your organisation's plan no longer includes API access, so its API keys have stopped working."}}429The key has made more than 120 requests in a minute. Wait for the seconds in Retry-After.{"error":{"code":"RATE_LIMITED","message":"This key has made more than 120 requests in a minute. Wait 42 seconds and try again."}}403The key does not have read:policies or admin.{"error":{"code":"INSUFFICIENT_SCOPE","message":"This key needs the read:policies scope (or admin)."}}400The status or category is not one we recognise.{"error":{"code":"INVALID_FILTER","message":"Invalid status filter. Allowed values: DRAFT, PUBLISHED, ARCHIVED"}}500Something went wrong on our side.{"error":{"code":"INTERNAL_ERROR","message":"Failed to fetch policies"}}