Chatwoot/swagger/paths/contact_inboxes/create.yml

31 lines
723 B
YAML
Raw Normal View History

2020-08-18 06:44:37 +00:00
post:
tags:
- Contact
operationId: contactInboxCreation
description: Create a contact inbox record for an inbox
summary: Create contact inbox
parameters:
- name: data
in: body
required: true
schema:
type: object
properties:
inbox_id:
type: number
description: The id of the inbox
required: true
source_id:
$ref: '#/parameters/source_id'
2020-08-18 06:44:37 +00:00
responses:
200:
description: Success
schema:
$ref: '#/definitions/contact_inboxes'
401:
description: Authentication error
schema:
$ref: '#/definitions/bad_request_error'
422:
description: Incorrect payload