Conversation
Assign Agent
POST https://widget.blinger.io/api/external/v1/conversation/:id/assign-agent
Path Parameters
id
string
ID of the conversation.
Headers
Authorization
string
Authorization token.
Request Body
agentId
string
ID of the agent.
{
"status": 200,
"data": {
"id": "e1d247c8-5cd8-4f93-b9d7-15fd3259ac22",
"assignedAgent": {
"id": "c671d030-584e-4422-8710-9215c04b6a64",
"serviceUserId": "12345",
"name": "Vadim Belorusov",
"status": "online",
"avatar": {
"id": "76d94b6b-a45c-4d62-8010-bd2f52d8c846",
"type": "image",
"meta": {
"width": 400,
"height": 400
},
"info": {
"ext": "jpeg",
"name": "5d1db8373db3a",
"path": "/c2/b1/62/be16b35869e9491a6761c013cbae7548f23b17abb225eaa82efd214264779825.jpeg",
"size": 5106,
"mimeType": "image/jpeg"
},
"url": {
"120x120": "http://static.widget.blinger.io/120x120/c2/b1/62/be16b35869e9491a6761c013cbae7548f23b17abb225eaa82efd214264779825.jpeg",
"520x400": "http://static.widget.blinger.io/520x400/c2/b1/62/be16b35869e9491a6761c013cbae7548f23b17abb225eaa82efd214264779825.jpeg",
"default": "http://static.widget.blinger.io/c2/b1/62/be16b35869e9491a6761c013cbae7548f23b17abb225eaa82efd214264779825.jpeg"
},
"createdAt": 1562198400,
"updatedAt": 1562198400
},
"active": true,
"createdAt": 1562228791,
"updatedAt": 1562228791
},
"locked": false,
"createdAt": 1562228238,
"updatedAt": 1562241579
}
}Send Text Message
POST https://widget.blinger.io/api/external/v1/conversation/:id/send-text-message
Path Parameters
id
string
ID of the conversation.
Headers
Authorization
string
Authorization token.
Request Body
uuid
string
Unique generated ID of the message.
text
string
Simple text message.
Send File Message
POST https://widget.blinger.io/api/external/v1/conversation/:id/send-file-message
Path Parameters
id
string
ID of the conversation.
Headers
Authorization
string
Authorization token.
Request Body
file
string
Url of the file.
uuid
string
Unique generated ID of the message
Request Review
POST https://widget.blinger.io/api/external/v1/conversation/:id/request-review
Path Parameters
id
string
ID of the conversation
Headers
Authorization
string
Authorization token.
Last updated
Was this helpful?