cURL
curl --request POST \ --url https://handauncle-backend-prod-205012263523.asia-south1.run.app/api/v1/user/conversations/{conversationId}/restore \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "id": "<string>", "lastMessageAt": "2023-11-07T05:31:56Z", "status": "active", "messageCount": 123, "userId": "<string>", "createdAt": "2023-11-07T05:31:56Z", "title": "<string>", "type": "chat", "inputType": "text", "prepromptKey": "<string>", "preview": "<string>", "pinned": true, "tags": [ "<string>" ], "metadata": { "firstMessage": "<string>", "tags": [ "<string>" ], "pinned": true, "model": "<string>" } }, "meta": { "timestamp": "2023-11-07T05:31:56Z", "requestId": "<string>" } }
Restore an archived conversation to active status. Supports both Auth0 JWT and device-based authentication.
Auth0 access token for registered users.
Conversation ID (24 character MongoDB ObjectId).
24
Conversation restored.
true
Show child attributes