---
title: "Update Persist Anonymous Conversations"
method: PUT
path: "/api/products/{product_id}/persist-anonymous-conversations"
tags: ["products"]
---

# Update Persist Anonymous Conversations

`PUT /api/products/{product_id}/persist-anonymous-conversations`

## Request

- Base URL: `https://api.usecrow.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.usecrow.ai/api/products/{product_id}/persist-anonymous-conversations`
- Auth: none declared. Required headers: `authorization`
- TypeScript: <https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas/docs/api/products/:product_id/persist-anonymous-conversations/put.ts> (a function with typed inputs; its response is checked against the schema)

Update whether to persist anonymous user conversations across page refreshes.

When enabled (default): Anonymous conversation IDs are stored in localStorage
and restored on page refresh, maintaining conversation history.

When disabled: Conversations are only persisted during navigation within the app.
A page refresh will start a fresh conversation.

## Path parameters

- `product_id` string, required

## Headers

- `authorization` string, required

## Request body

- PersistAnonymousConversationsRequest
  - `persist_anonymous_conversations` boolean, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas.md) - [All operations](https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas/llms.txt) - [OpenAPI document](https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas/revisions/b2950af46532?raw)
