Go!Chat
Get thread messages
Get Started
Customer
Customer Document
Go!Chat
Go!KYT
Go!Press
Go!Scan
Go!Vid
Appendix
Go!Chat
Get thread messages
Gets the list of messages of the specified thread.
GET
/
api
/
v1
/
thread
/
{id}
/
messages
curl --request GET \
--url https://api.algoreg.com/api/v1/thread/{id}/messages \
--header 'Authorization: Bearer <token>'
{
"messages": [
{
"agent_id": "integer",
"attachments": [
{
"attachment_movements": {
"movements": [
{
"agent_id": "integer",
"customer_id": "string",
"file_id": "string"
}
],
"total": "integer"
},
"file_mime": "string",
"file_name": "string",
"file_not_dangerous": "boolean",
"file_size": "integer",
"file_type": "string",
"id": "string"
}
],
"bcc": "string",
"cc": "string",
"content": "string",
"created_at": "string",
"delivery": {},
"error_when_trying_to_send": "string",
"external_message_id": "string",
"from": "string",
"id": "string",
"mailbox_id": "string",
"origin": {},
"priority": "integer",
"raw_message": "string",
"read_by_agents": [
"integer"
],
"reply_to_external_message_id": "string",
"subject": "string",
"to": "string"
}
],
"total": "integer"
}
Path parameters
Query parameters
Response body
{
"messages": [
{
"agent_id": "integer",
"attachments": [
{
"attachment_movements": {
"movements": [
{
"agent_id": "integer",
"customer_id": "string",
"file_id": "string"
}
],
"total": "integer"
},
"file_mime": "string",
"file_name": "string",
"file_not_dangerous": "boolean",
"file_size": "integer",
"file_type": "string",
"id": "string"
}
],
"bcc": "string",
"cc": "string",
"content": "string",
"created_at": "string",
"delivery": {},
"error_when_trying_to_send": "string",
"external_message_id": "string",
"from": "string",
"id": "string",
"mailbox_id": "string",
"origin": {},
"priority": "integer",
"raw_message": "string",
"read_by_agents": [
"integer"
],
"reply_to_external_message_id": "string",
"subject": "string",
"to": "string"
}
],
"total": "integer"
}
curl --request GET \
--url https://api.algoreg.com/api/v1/thread/{id}/messages \
--header 'Authorization: Bearer <token>'
{
"messages": [
{
"agent_id": "integer",
"attachments": [
{
"attachment_movements": {
"movements": [
{
"agent_id": "integer",
"customer_id": "string",
"file_id": "string"
}
],
"total": "integer"
},
"file_mime": "string",
"file_name": "string",
"file_not_dangerous": "boolean",
"file_size": "integer",
"file_type": "string",
"id": "string"
}
],
"bcc": "string",
"cc": "string",
"content": "string",
"created_at": "string",
"delivery": {},
"error_when_trying_to_send": "string",
"external_message_id": "string",
"from": "string",
"id": "string",
"mailbox_id": "string",
"origin": {},
"priority": "integer",
"raw_message": "string",
"read_by_agents": [
"integer"
],
"reply_to_external_message_id": "string",
"subject": "string",
"to": "string"
}
],
"total": "integer"
}