Create a hosted privacy policy URL
create_privacy_policy_urlGenerate and host a privacy policy for a business, app, store or site and return its stable HTTPS URL. Free resource types and Agent API key holders get liveUrl at once; other types get a Stripe Checkout link ($29/year) for a human to pay, plus the pendingUrl that goes live after payment. Repeating a call with the same inputs (or the same idempotencyKey) within 24 hours returns the first result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ccpa | No | Include CCPA/CPRA (California) sections. | |
| gdpr | No | Include GDPR (EU/UK) sections. | |
| coppa | No | Include COPPA (children under 13) sections. | |
| Yes | Owner contact email. Receives the live link and manages the URL later. | ||
| caloppa | No | Include CalOPPA sections. | |
| companyName | Yes | Business, app or site name as it should appear in the policy. | |
| companySlug | No | URL slug (a-z, 0-9, hyphens). Defaults to a slug of companyName. | |
| resourceType | Yes | What the policy covers. See list_resource_types for which are free. | |
| idempotencyKey | No | Your own retry key. Defaults to a hash of the other inputs. |