Get messages
List all messages of a conversation
GET
/
api
/
v1
/
accounts
/
{account_id}
/
conversations
/
{conversation_id}
/
messages
Get messages
curl --request GET \
--url https://chat.wiseapp360.com/api/v1/accounts/{account_id}/conversations/{conversation_id}/messages \
--header 'api_access_token: <api-key>'const options = {method: 'GET', headers: {api_access_token: '<api-key>'}};
fetch('https://chat.wiseapp360.com/api/v1/accounts/{account_id}/conversations/{conversation_id}/messages', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://chat.wiseapp360.com/api/v1/accounts/{account_id}/conversations/{conversation_id}/messages"
headers = {"api_access_token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://chat.wiseapp360.com/api/v1/accounts/{account_id}/conversations/{conversation_id}/messages",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"api_access_token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://chat.wiseapp360.com/api/v1/accounts/{account_id}/conversations/{conversation_id}/messages"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("api_access_token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://chat.wiseapp360.com/api/v1/accounts/{account_id}/conversations/{conversation_id}/messages")
.header("api_access_token", "<api-key>")
.asString();{
"meta": {
"labels": [
[
"support"
]
],
"additional_attributes": {
"source": "api",
"segment": "enterprise"
},
"contact": {
"payload": [
{
"additional_attributes": {
"source": "api",
"segment": "enterprise"
},
"availability_status": "open",
"email": "agent@example.com",
"id": 1,
"name": "Sample resource",
"phone_number": "+15551234567",
"blocked": true,
"identifier": "Sample text",
"thumbnail": "Sample text",
"custom_attributes": {
"attribute_key": "attribute_value",
"signed_up_at": "dd/mm/yyyy"
},
"last_activity_at": 1,
"created_at": 1
}
]
},
"assignee": {
"id": 1,
"account_id": 1,
"availability_status": "available",
"auto_offline": true,
"confirmed": true,
"email": "agent@example.com",
"available_name": "Sample resource",
"name": "Sample resource",
"role": "agent",
"thumbnail": "Sample text",
"custom_role_id": 1
},
"agent_last_seen_at": "2026-05-20T12:00:00Z",
"assignee_last_seen_at": "2026-05-20T12:00:00Z"
},
"payload": [
{
"id": 1,
"content": "Sample text",
"account_id": 1,
"inbox_id": 1,
"conversation_id": 1,
"message_type": 0,
"created_at": 1,
"updated_at": 1,
"private": true,
"status": "sent",
"source_id": 1,
"content_type": "text"
}
]
}{
"error": "Unauthorized"
}{
"error": "Resource not found"
}Autorizações
Parâmetros de caminho
⌘I
Get messages
curl --request GET \
--url https://chat.wiseapp360.com/api/v1/accounts/{account_id}/conversations/{conversation_id}/messages \
--header 'api_access_token: <api-key>'const options = {method: 'GET', headers: {api_access_token: '<api-key>'}};
fetch('https://chat.wiseapp360.com/api/v1/accounts/{account_id}/conversations/{conversation_id}/messages', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://chat.wiseapp360.com/api/v1/accounts/{account_id}/conversations/{conversation_id}/messages"
headers = {"api_access_token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://chat.wiseapp360.com/api/v1/accounts/{account_id}/conversations/{conversation_id}/messages",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"api_access_token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://chat.wiseapp360.com/api/v1/accounts/{account_id}/conversations/{conversation_id}/messages"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("api_access_token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://chat.wiseapp360.com/api/v1/accounts/{account_id}/conversations/{conversation_id}/messages")
.header("api_access_token", "<api-key>")
.asString();{
"meta": {
"labels": [
[
"support"
]
],
"additional_attributes": {
"source": "api",
"segment": "enterprise"
},
"contact": {
"payload": [
{
"additional_attributes": {
"source": "api",
"segment": "enterprise"
},
"availability_status": "open",
"email": "agent@example.com",
"id": 1,
"name": "Sample resource",
"phone_number": "+15551234567",
"blocked": true,
"identifier": "Sample text",
"thumbnail": "Sample text",
"custom_attributes": {
"attribute_key": "attribute_value",
"signed_up_at": "dd/mm/yyyy"
},
"last_activity_at": 1,
"created_at": 1
}
]
},
"assignee": {
"id": 1,
"account_id": 1,
"availability_status": "available",
"auto_offline": true,
"confirmed": true,
"email": "agent@example.com",
"available_name": "Sample resource",
"name": "Sample resource",
"role": "agent",
"thumbnail": "Sample text",
"custom_role_id": 1
},
"agent_last_seen_at": "2026-05-20T12:00:00Z",
"assignee_last_seen_at": "2026-05-20T12:00:00Z"
},
"payload": [
{
"id": 1,
"content": "Sample text",
"account_id": 1,
"inbox_id": 1,
"conversation_id": 1,
"message_type": 0,
"created_at": 1,
"updated_at": 1,
"private": true,
"status": "sent",
"source_id": 1,
"content_type": "text"
}
]
}{
"error": "Unauthorized"
}{
"error": "Resource not found"
}