---
title: "Record or withdraw consent to AI image processing"
method: PUT
path: "/api/safety/ai-consent"
---

# Record or withdraw consent to AI image processing

`PUT /api/safety/ai-consent`

## Request

- Base URL: `https://api.peelaway.io`
- URL: `https://api.peelaway.io/api/safety/ai-consent`
- Auth: API key in cookie `better-auth.session_token`

JSON {version:'2026-09-15',accepted:boolean}. Mobile must obtain consent before transmitting photos or prompts to image providers.

## Response `200`

{version,accepted,acceptedAt}

## Other responses

- `400`: Consent version is not current

---

[API](https://skmtc.dev/peelaway/apis/peelaway-image-api.md) · [All operations](https://skmtc.dev/peelaway/apis/peelaway-image-api/llms.txt) · [OpenAPI document](https://skmtc.dev/peelaway/apis/peelaway-image-api/revisions/8ce45533c9d0?raw)
