update_legal_document
Update your app's privacy policy or terms of service documents.
Description
This tool allows you to update the legal documents associated with your app. These documents are hosted by AppStore Copilot and can be linked from your app and app store listings.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
projectId | string | Yes | The project ID |
documentType | string | Yes | "privacy" or "terms" |
content | string | Yes | Document content in Markdown format |
Example Usage
Natural Language Promptstext
"Update my privacy policy to include data collection info""Set the terms of service for my app""Add GDPR compliance section to privacy policy"
Response
{"success": true,"documentType": "privacy","url": "https://appstorecopilot.com/legal/proj_abc123/privacy","updatedAt": "2024-01-15T10:30:00Z"}
Hosted URLs
Legal documents are automatically hosted at predictable URLs that you can link from your app and App Store Connect listings.