Archive conversation
Changed onArchive a conversation to hide it from the main list.
Overview:
Archived conversations are preserved but hidden from the default conversation list. Use archiving to clean up your workspace without permanently deleting conversations.
Access:
Only the conversation's owner can archive it: the lookup filters on the caller's userId. It also has a branch for users the conversation is shared with at write access, but that branch can never match, so such users get 404 (a known defect). A missing, deleted or agent conversation is 404 too. Already-archived conversations return 400.
Retrieval:
View archived conversations using GET /conversations/show/archives. Restore one with PATCH /conversations/{conversationId}/unarchive.
Request
- Base URLhttps://app.pipeshub.com/api/v1
- URLhttps://app.pipeshub.com/api/v1/conversations/{conversationId}/archive
- Auth
- HTTP bearer
- or OAuth 2Authorization code: /api/v1/oauth2/authorizeClient credentialsToken URL: /api/v1/oauth2/token scopes: conversation:write
Path parameters
Conversation identifier
Response
Conversation archived successfully
Changes
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info