Get Messages
curl --request POST \
--url https://api.monaco.com/v1/messages/list \
--header 'Content-Type: application/json' \
--data '
{
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cursor": "<string>",
"channels": [
"email"
],
"page_size": 25
}
'import requests
url = "https://api.monaco.com/v1/messages/list"
payload = {
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cursor": "<string>",
"channels": ["email"],
"page_size": 25
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
contact_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
account_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
cursor: '<string>',
channels: ['email'],
page_size: 25
})
};
fetch('https://api.monaco.com/v1/messages/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.monaco.com/v1/messages/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'contact_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'account_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'cursor' => '<string>',
'channels' => [
'email'
],
'page_size' => 25
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.monaco.com/v1/messages/list"
payload := strings.NewReader("{\n \"contact_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"cursor\": \"<string>\",\n \"channels\": [\n \"email\"\n ],\n \"page_size\": 25\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.monaco.com/v1/messages/list")
.header("Content-Type", "application/json")
.body("{\n \"contact_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"cursor\": \"<string>\",\n \"channels\": [\n \"email\"\n ],\n \"page_size\": 25\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.monaco.com/v1/messages/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"contact_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"cursor\": \"<string>\",\n \"channels\": [\n \"email\"\n ],\n \"page_size\": 25\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"conversation_id": "thread_abc123",
"channel": "email",
"direction": "inbound",
"subject": "Demo follow-up",
"preview": "Thanks for the demo yesterday...",
"timestamp": "2026-03-01T10:00:00Z",
"contact_id": "con_abc123"
}
],
"has_more": false,
"meta": {
"timestamp": "2026-04-21T12:00:00Z"
}
}{
"error": {
"code": "not_found",
"message": "Resource not found"
}
}Messages
Get Messages
Returns conversation history of email and LinkedIn messages for a contact or account, merged into one recency-ordered feed.
Each row carries a conversation_id and channel. Pass both to get_conversation for the full thread.
POST
/
v1
/
messages
/
list
Get Messages
curl --request POST \
--url https://api.monaco.com/v1/messages/list \
--header 'Content-Type: application/json' \
--data '
{
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cursor": "<string>",
"channels": [
"email"
],
"page_size": 25
}
'import requests
url = "https://api.monaco.com/v1/messages/list"
payload = {
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cursor": "<string>",
"channels": ["email"],
"page_size": 25
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
contact_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
account_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
cursor: '<string>',
channels: ['email'],
page_size: 25
})
};
fetch('https://api.monaco.com/v1/messages/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.monaco.com/v1/messages/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'contact_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'account_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'cursor' => '<string>',
'channels' => [
'email'
],
'page_size' => 25
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.monaco.com/v1/messages/list"
payload := strings.NewReader("{\n \"contact_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"cursor\": \"<string>\",\n \"channels\": [\n \"email\"\n ],\n \"page_size\": 25\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.monaco.com/v1/messages/list")
.header("Content-Type", "application/json")
.body("{\n \"contact_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"cursor\": \"<string>\",\n \"channels\": [\n \"email\"\n ],\n \"page_size\": 25\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.monaco.com/v1/messages/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"contact_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"cursor\": \"<string>\",\n \"channels\": [\n \"email\"\n ],\n \"page_size\": 25\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"conversation_id": "thread_abc123",
"channel": "email",
"direction": "inbound",
"subject": "Demo follow-up",
"preview": "Thanks for the demo yesterday...",
"timestamp": "2026-03-01T10:00:00Z",
"contact_id": "con_abc123"
}
],
"has_more": false,
"meta": {
"timestamp": "2026-04-21T12:00:00Z"
}
}{
"error": {
"code": "not_found",
"message": "Resource not found"
}
}Body
application/json
Scope to a single contact's message history
Scope to a single account's message history
Opaque token from a previous response's next_cursor; omit for the first page
Channels to include; omit or null returns all channels
Available options:
email, linkedin Example:
["email"]
Required range:
1 <= x <= 100