Archive a conversation
Moves a conversation to archive. Can be restored later.
Parameters
No parameters.
Returns
Returns the archived Conversation object.
post
/api/conversations/{id}/archive
curl -X POST https://{workspace}.kitchen.co/api/conversations/{id}/archive \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Requested-With: XMLHttpRequest' \
-H 'Authorization: Bearer {API_KEY}'
Response
{
"archived_at": "2024-03-07T10:47:02+00:00",
"created_at": "2024-03-07T07:47:02+00:00",
"id": "convr_1lbg89ha9ttb5dmxuldku3nx",
"latest_message_created_at": null,
"latest_message": null,
"messages_count": 0,
"status": "open",
"title": "New Conversation",
"updated_at": "2024-03-07T10:47:02+00:00",
"visibility": "shared"
}