> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.vapi.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.vapi.ai/_mcp/server.

# Recording Consent & Compliance Management

1. **Recording Consent Plans**: Ensure legal compliance with call recording regulations using the new [`CompliancePlan.recordingConsentPlan`](https://api.vapi.ai/api#:~:text=CompliancePlan.recordingConsentPlan). This feature helps you meet GDPR, CCPA, and other privacy regulations by properly obtaining user consent before recording calls.

2. **Verbal Consent Collection**: Implement active consent collection with [`RecordingConsentPlanVerbal`](https://api.vapi.ai/api#:~:text=RecordingConsentPlanVerbal) where users explicitly agree or decline recording:
   * `message`: Custom consent message (e.g., "This call may be recorded for quality purposes. Say 'I agree' to consent.")
   * `voice`: Optional dedicated voice for consent messages for better user experience
   * `declineTool`: Execute specific tools when users decline consent
   * `declineToolId`: Reference existing tools for decline handling

3. **Stay-on-Line Consent**: Use passive consent collection with [`RecordingConsentPlanStayOnLine`](https://api.vapi.ai/api#:~:text=RecordingConsentPlanStayOnLine) where staying on the call implies consent:
   * `message`: Informational message about recording (e.g., "For quality purposes, this call may be recorded. Please hang up if you do not consent.")
   * `waitSeconds`: Configurable wait time (1-6 seconds) before proceeding
   * `voice`: Optional separate voice for consent announcements

4. **Recording Consent Tracking**: Monitor consent status throughout the call lifecycle with [`Call.compliance.recordingConsent`](https://api.vapi.ai/api#:~:text=Call.compliance.recordingConsent):
   * `type`: The type of consent obtained
   * `grantedAt`: Timestamp when consent was granted (null if not granted)

5. **Enhanced End-of-Call Reports**: Recording consent information is now included in [`ServerMessageEndOfCallReport.compliance`](https://api.vapi.ai/api#:~:text=ServerMessageEndOfCallReport.compliance), providing complete compliance audit trails for your records.

## Compliance Features

#### Legal Compliance

Meet GDPR, CCPA, and other privacy regulations with built-in consent management and audit trails.

#### Flexible Consent Methods

Choose between verbal consent requiring explicit agreement or stay-on-line consent with implied agreement.

#### Custom Messaging

Customize consent messages to match your brand voice and legal requirements with up to 1000 characters.

#### Audit Trails

Complete compliance records with timestamps and consent status in call artifacts and end-of-call reports.