Cookie Policy

Template Overview

  • Template ID: cookies-policy
  • Version: 1.0.0

To generate this document, pass the structured data described below into the data property of the /api/v1/documents/generate endpoint.


Data Payload Schema

FieldTypeRequirementDescription & Details
jurisdictionstringYesGoverning law Determines the cookie law, regulator and consent model referenced throughout. Options: "South Africa (POPIA)", "United Kingdom (PECR + UK GDPR)", "Nigeria (NDPA + GAID 2025)"
companyNamestringYesLegal name of your organisation
websiteUrlstringYesWebsite address Ex: www.lawyeredup.com
contactEmailstringYesContact email for privacy / cookie queries
effectiveDatestringNoLast updated / effective date (Format: YYYY-MM-DD.)
hasConsentBannerbooleanNoDoes your site use a cookie consent banner / preference centre?
cookieCategoriesarray of stringsYesCategories of cookies used on your site Strictly necessary cookies are always included as exempt from consent. Options: "Strictly necessary (security, session, load balancing)", "Functional / preferences (remember settings and choices)", "Analytics / performance (how visitors use the site)", "Advertising / targeting (relevant ads, measuring campaigns)", "Social media (sharing and embedded content)"
usesThirdPartyCookiesbooleanNoDo third parties set cookies through your site? Ex: Google Analytics, Meta Pixel, embedded YouTube.
thirdPartiesarray of objectsConditionalThird-party cookie providers Each entry: name (string), purpose (string), policyUrl (string). Required if usesThirdPartyCookies is true.
consentRecordMonthsnumberNoHow long do you keep consent records (months)? POPIA expects at least 12. Ex: 12
explainsBrowserControlsbooleanNoInclude guidance on controlling cookies via the browser?
retentionNotestringNoCookie retention / duration note Ex: Session cookies expire when you close your browser; persistent cookies last up to 12 months.

Example JSON Payload

Here is an example of a properly formatted data object for the Cookie Policy template.

{
  "templateId": "cookies-policy",
  "data": {
    "jurisdiction": "South Africa (POPIA)",
    "companyName": "Acme Corp",
    "websiteUrl": "www.lawyeredup.com",
    "contactEmail": "legal@acmecorp.com",
    "effectiveDate": "2026-06-01",
    "hasConsentBanner": true,
    "cookieCategories": [
      "Strictly necessary (security, session, load balancing)",
      "Functional / preferences (remember settings and choices)"
    ],
    "usesThirdPartyCookies": true,
    "thirdParties": [
      {
        "name": "Sample Name",
        "purpose": "Sample Purpose",
        "policyUrl": "https://www.acmecorp.com"
      }
    ],
    "consentRecordMonths": 12,
    "explainsBrowserControls": true,
    "retentionNote": "Session cookies expire when you close your browser; persistent cookies last up to 12 months"
  },
  "format": "pdf"
}