curl --request GET \
--url https://app.chatwoot.com/accounts/{account_id}/conversations/{conversation_id}/messages{
"meta": {
"labels": [
"<string>"
],
"additional_attributes": {
"browser": {
"device_name": "<string>",
"browser_name": "<string>",
"platform_name": "<string>",
"browser_version": "<string>",
"platform_version": "<string>"
},
"referer": "<string>",
"initiated_at": {
"timestamp": "<string>"
},
"browser_language": "<string>",
"conversation_language": "<string>"
},
"contact": {
"additional_attributes": {
"city": "<string>",
"country": "<string>",
"country_code": "<string>",
"created_at_ip": "<string>"
},
"custom_attributes": {},
"email": "<string>",
"id": 123,
"identifier": "<string>",
"name": "<string>",
"phone_number": "<string>",
"thumbnail": "<string>",
"blocked": true,
"type": "contact"
},
"agent_last_seen_at": "<string>",
"assignee_last_seen_at": "<string>"
},
"payload": [
{
"id": 123,
"content": "<string>",
"inbox_id": 123,
"conversation_id": 123,
"message_type": 0,
"content_type": "text",
"status": "sent",
"content_attributes": {
"in_reply_to": "<string>"
},
"created_at": 123,
"private": true,
"source_id": "<string>",
"sender": {
"additional_attributes": {
"city": "<string>",
"country": "<string>",
"country_code": "<string>",
"created_at_ip": "<string>"
},
"custom_attributes": {},
"email": "<string>",
"id": 123,
"identifier": "<string>",
"name": "<string>",
"phone_number": "<string>",
"thumbnail": "<string>",
"blocked": true,
"type": "contact"
}
}
]
}Returns all messages from a specific conversation
curl --request GET \
--url https://app.chatwoot.com/accounts/{account_id}/conversations/{conversation_id}/messages{
"meta": {
"labels": [
"<string>"
],
"additional_attributes": {
"browser": {
"device_name": "<string>",
"browser_name": "<string>",
"platform_name": "<string>",
"browser_version": "<string>",
"platform_version": "<string>"
},
"referer": "<string>",
"initiated_at": {
"timestamp": "<string>"
},
"browser_language": "<string>",
"conversation_language": "<string>"
},
"contact": {
"additional_attributes": {
"city": "<string>",
"country": "<string>",
"country_code": "<string>",
"created_at_ip": "<string>"
},
"custom_attributes": {},
"email": "<string>",
"id": 123,
"identifier": "<string>",
"name": "<string>",
"phone_number": "<string>",
"thumbnail": "<string>",
"blocked": true,
"type": "contact"
},
"agent_last_seen_at": "<string>",
"assignee_last_seen_at": "<string>"
},
"payload": [
{
"id": 123,
"content": "<string>",
"inbox_id": 123,
"conversation_id": 123,
"message_type": 0,
"content_type": "text",
"status": "sent",
"content_attributes": {
"in_reply_to": "<string>"
},
"created_at": 123,
"private": true,
"source_id": "<string>",
"sender": {
"additional_attributes": {
"city": "<string>",
"country": "<string>",
"country_code": "<string>",
"created_at_ip": "<string>"
},
"custom_attributes": {},
"email": "<string>",
"id": 123,
"identifier": "<string>",
"name": "<string>",
"phone_number": "<string>",
"thumbnail": "<string>",
"blocked": true,
"type": "contact"
}
}
]
}The numeric ID of the account
ID of the conversation
Success
Show child attributes
Labels associated with the conversation
Additional attributes of the conversation
Show child attributes
Show child attributes
Name of the device
Name of the browser
Name of the platform
Version of the browser
Version of the platform
Referrer URL
Browser language setting
Conversation language
Show child attributes
The object containing additional attributes related to the contact
Show child attributes
City of the contact
Country of the contact
Country code of the contact
IP address when the contact was created
The custom attributes of the contact
The email address of the contact
The ID of the contact
The identifier of the contact
The name of the contact
The phone number of the contact
The thumbnail of the contact
Whether the contact is blocked
The type of entity
contact Timestamp when the agent last saw the conversation
Timestamp when the assignee last saw the conversation
List of messages in the conversation
Show child attributes
The ID of the message
The text content of the message
The ID of the inbox
The ID of the conversation
The type of the message (0: incoming, 1: outgoing, 2: activity, 3: template)
0, 1, 2, 3 The type of the message content
text, input_select, cards, form, input_csat The status of the message
sent, delivered, read, failed The timestamp when message was created
The flag which shows whether the message is private or not
The source ID of the message
Show child attributes
The object containing additional attributes related to the contact
Show child attributes
City of the contact
Country of the contact
Country code of the contact
IP address when the contact was created
The custom attributes of the contact
The email address of the contact
The ID of the contact
The identifier of the contact
The name of the contact
The phone number of the contact
The thumbnail of the contact
Whether the contact is blocked
The type of entity
contact