Create a conversation

Using this method you will be able to create a conversation

post
Create a Conversation

https://api.imber.live/conversation/
This endpoint allows you to create a conversation.
Request
Response
Request
Headers
Authentication
required
string
Authentication token to track down who is emptying our stocks.
Body Parameters
workSpaceId
optional
string
ID of workspace
user
optional
string
ID of user that started this conversation
status
optional
number
Status of conversation (Described in table below)
type
optional
number
Conversation type (Described in table below)
Response
200: OK
Conversation successfully created.
{
"success": true,
"data": {
"unread": {
"user": 0,
"operator": 0
},
"assigned": [],
"isLocked": false,
"mentions": [],
"_id": "600f19bc1d1a6c65a3915e4b",
"workSpaceId": "5f00a44d8e844b5a746f90b3",
"user": "600f19aeaef265f3e3e6f53a",
"status": 0,
"type": 1,
"containerId": "5f00a44d8e844b5a746f90b1",
"createdAt": "2021-01-25T19:19:24.968Z",
"updatedAt": "2021-01-25T19:19:24.968Z",
"__v": 0
}
}

Status

Number

Description

0

Incoming

1

Accepted

2

Resolved

3

Suspended

4

Transfered

Type

Number

Description

0

Start from user

1

Start from user with trigger

2

Start from operator

3

Bot included