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:
|
2021-09-04 12:26:46 +00:00
|
|
|
- $ref: '#/parameters/account_id'
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
type: number
|
|
|
|
description: ID of the contact
|
|
|
|
required: true
|
2021-01-14 15:06:04 +00:00
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
type: object
|
2021-11-17 13:25:15 +00:00
|
|
|
required:
|
|
|
|
- inbox_id
|
2021-01-14 15:06:04 +00:00
|
|
|
properties:
|
|
|
|
inbox_id:
|
|
|
|
type: number
|
2021-05-20 15:16:45 +00:00
|
|
|
description: The ID of the inbox
|
2021-05-11 17:08:46 +00:00
|
|
|
source_id:
|
2021-11-17 13:25:15 +00:00
|
|
|
type: string
|
|
|
|
description: Contact Inbox 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
|