2020-03-11 10:49:13 +00:00
|
|
|
patch:
|
|
|
|
tags:
|
2022-04-05 10:35:49 +00:00
|
|
|
- Inboxes
|
2020-04-07 04:49:19 +00:00
|
|
|
operationId: updateInbox
|
|
|
|
summary: Update Inbox
|
|
|
|
description: Add avatar and disable auto assignment for an inbox
|
2020-03-11 10:49:13 +00:00
|
|
|
parameters:
|
2021-09-04 12:26:46 +00:00
|
|
|
- $ref: '#/parameters/account_id'
|
2020-03-11 10:49:13 +00:00
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
type: number
|
|
|
|
description: ID of the inbox
|
|
|
|
required: true
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
type: object
|
2021-11-17 13:25:15 +00:00
|
|
|
required:
|
|
|
|
- enable_auto_assignment
|
2020-03-11 10:49:13 +00:00
|
|
|
properties:
|
2020-04-20 06:25:06 +00:00
|
|
|
name:
|
|
|
|
type: string
|
|
|
|
description: The name of the inbox
|
2020-03-11 10:49:13 +00:00
|
|
|
enable_auto_assignment:
|
|
|
|
type: boolean
|
|
|
|
description: 'Enable Auto Assignment'
|
2020-04-07 04:49:19 +00:00
|
|
|
avatar:
|
2021-11-17 13:25:15 +00:00
|
|
|
type: string
|
|
|
|
format: binary
|
2020-04-07 04:49:19 +00:00
|
|
|
description: 'Image file for avatar'
|
2020-04-20 06:25:06 +00:00
|
|
|
channel:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
website_url:
|
|
|
|
type: string
|
|
|
|
description: URL at which the widget will be loaded
|
|
|
|
welcome_title:
|
|
|
|
type: string
|
|
|
|
description: Welcome title to be displayed on the widget
|
|
|
|
welcome_tagline:
|
|
|
|
type: string
|
|
|
|
description: Welcome tagline to be displayed on the widget
|
|
|
|
agent_away_message:
|
|
|
|
type: string
|
|
|
|
description: A message which will be sent if there is not agent available. This is not available if agentbot is connected
|
|
|
|
widget_color:
|
|
|
|
type: string
|
|
|
|
description: A Hex-color string used to customize the widget
|
2020-03-11 10:49:13 +00:00
|
|
|
responses:
|
|
|
|
200:
|
|
|
|
description: Success
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
description: 'Updated inbox object'
|
|
|
|
$ref: '#/definitions/inbox'
|
|
|
|
404:
|
|
|
|
description: Inbox not found
|
|
|
|
403:
|
|
|
|
description: Access denied
|