2021-05-11 14:50:52 +00:00
|
|
|
tags:
|
2022-04-05 10:35:49 +00:00
|
|
|
- Conversations
|
2021-05-11 14:50:52 +00:00
|
|
|
operationId: toggle-status-of-a-conversation
|
|
|
|
summary: Toggle Status
|
|
|
|
description: Toggles the status of the conversation between open and resolved
|
|
|
|
security:
|
|
|
|
- userApiKey: []
|
|
|
|
- agentBotApiKey: []
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
type: object
|
2021-11-17 13:25:15 +00:00
|
|
|
required:
|
|
|
|
- status
|
2021-05-11 14:50:52 +00:00
|
|
|
properties:
|
|
|
|
status:
|
|
|
|
type: string
|
2021-07-21 16:32:43 +00:00
|
|
|
enum: ["open", "resolved", "pending"]
|
2021-05-11 14:50:52 +00:00
|
|
|
description: The status of the conversation
|
|
|
|
responses:
|
|
|
|
200:
|
|
|
|
description: Success
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/conversation_status_toggle'
|
|
|
|
404:
|
|
|
|
description: Conversation not found
|
|
|
|
401:
|
|
|
|
description: Unauthorized
|