2ebd38c3b7
- 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
36 lines
868 B
YAML
36 lines
868 B
YAML
post:
|
|
tags:
|
|
- Contact
|
|
operationId: contactInboxCreation
|
|
description: Create a contact inbox record for an inbox
|
|
summary: Create contact inbox
|
|
parameters:
|
|
- $ref: '#/parameters/account_id'
|
|
- name: id
|
|
in: path
|
|
type: number
|
|
description: ID of the contact
|
|
required: true
|
|
- 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'
|
|
responses:
|
|
200:
|
|
description: Success
|
|
schema:
|
|
$ref: '#/definitions/contact_inboxes'
|
|
401:
|
|
description: Authentication error
|
|
schema:
|
|
$ref: '#/definitions/bad_request_error'
|
|
422:
|
|
description: Incorrect payload
|