Files
leadchat/swagger/paths/inboxes/create.yml
Sojan Jose 941fbb0d72 Chore: Web widget Inbox Tech Debts (#738)
* Chore: Webwidget Inbox Tech Debts

* Additional customization options creating Web Widget
* Changes to edit Page for Web Widget
* Remove the WebWidget API end points
* Minor chores

Address: #680, #502

Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
2020-04-19 23:40:28 +05:30

35 lines
911 B
YAML

post:
tags:
- Widget
operationId: widgetInboxCreation
summary: Create a website inbox
description: You can create more than one website inbox in each account
parameters:
- name: data
in: body
required: true
schema:
type: object
properties:
website:
type: object
properties:
website_name:
type: string
description: The name of the inbox
website_url:
type: string
description: URL at which the widget will be loaded
widget_color:
type: string
description: A Hex-color string used to customize the widget
responses:
200:
description: Success
schema:
$ref: '#/definitions/inbox'
404:
description: Inbox not found
403:
description: Access denied