Chatwoot/swagger/paths/inboxes/set_agent_bot.yml
Sojan Jose 2ebd38c3b7
Chore: API Improvements (#2956)
- API to fetch info of a single inbox
- Document passing custom_attributes in the API
- Ability to filter contacts with contact identifier in search API
2021-09-04 17:56:46 +05:30

30 lines
723 B
YAML

post:
tags:
- Inbox
operationId: updateAgentBot
summary: Add or remove agent bot
description: To add an agent bot pass agent_bot id, to remove agent bot from an inbox pass null
parameters:
- $ref: '#/parameters/account_id'
- name: id
in: path
type: number
description: ID of the inbox
required: true
- name: data
in: body
required: true
schema:
type: object
properties:
agent_bot:
type: number
required: true
description: 'Agent bot ID'
responses:
204:
description: Success
404:
description: Inbox not found, Agent bot not found
403:
description: Access denied