Chatwoot/swagger/paths/application/conversation/assignments.yml
Sojan Jose c54aae21ff
chore: Move agent availability to Account level (#3074)
- Move agent availability to the account level
2021-10-07 13:21:46 +05:30

27 lines
664 B
YAML

tags:
- Conversation Assignment
operationId: assign-a-conversation
summary: Assign Conversation
description: Assign a conversation to an agent or a team
parameters:
- name: data
in: body
required: true
schema:
type: object
properties:
assignee_id:
type: number
description: Id of the assignee user
team_id:
type: number
description: Id of the team. If the assignee_id is present, this param would be ignored
responses:
200:
description: Success
schema:
$ref: '#/definitions/user'
404:
description: Conversation not found
401:
description: Unauthorized