CLI
curl --request GET \
--url 'https://api.minimo.it/public/v1/inbox/threads?needsAttention=true&pageSize=10' \
--header 'Authorization: Bearer {{BEARER_TOKEN}}'const res = await fetch('https://api.minimo.it/public/v1/inbox/threads?needsAttention=true&pageSize=10', {
method: 'GET',
headers: {
'Authorization': 'Bearer {{BEARER_TOKEN}}',
},
});
const { data } = await res.json();
console.log(data);import requests
res = requests.get(
'https://api.minimo.it/public/v1/inbox/threads?needsAttention=true&pageSize=10',
headers={'Authorization': 'Bearer {{BEARER_TOKEN}}'},
)
print(res.json())<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.minimo.it/public/v1/inbox/threads",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.minimo.it/public/v1/inbox/threads"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.minimo.it/public/v1/inbox/threads")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.minimo.it/public/v1/inbox/threads")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"threads": [
{
"threadId": 1234,
"status": "open",
"unreadMessages": 2,
"pinned": false,
"channels": [
"whatsapp"
],
"contact": {
"contactId": 5678,
"name": "Mario Rossi",
"email": null,
"phone": "393331234567"
},
"assignedTo": null,
"needsHuman": true,
"ai": {
"state": "active",
"since": null
},
"snoozedUntil": null,
"updatedAt": "2026-11-13T09:00:00.000Z",
"lastMessage": {
"messageId": 90112,
"direction": "inbound",
"channel": "whatsapp",
"subject": null,
"preview": "Can I talk to a person?",
"at": "2026-11-13T09:00:00.000Z"
}
}
],
"pagination": {
"currentPage": 1,
"nextPage": null,
"prevPage": null,
"totalPages": 1,
"totalRecords": 1
},
"counters": {
"open": 27,
"closed": 2,
"snoozed": 2,
"unassigned": 26,
"unread": 3,
"needsTakeover": 3,
"needsAttention": 4,
"mine": 0
}
}
}{
"status": "FAIL",
"message": "WHATSAPP_WINDOW_CLOSED",
"userMessage": "WhatsApp allows free text only within 24 hours of the contact's last WhatsApp message. Send an approved template instead."
}Threads
List Threads
Inbox threads, pinned first then newest activity first, with the inbox filters and the tab counters
GET
/
public
/
v1
/
inbox
/
threads
CLI
curl --request GET \
--url 'https://api.minimo.it/public/v1/inbox/threads?needsAttention=true&pageSize=10' \
--header 'Authorization: Bearer {{BEARER_TOKEN}}'const res = await fetch('https://api.minimo.it/public/v1/inbox/threads?needsAttention=true&pageSize=10', {
method: 'GET',
headers: {
'Authorization': 'Bearer {{BEARER_TOKEN}}',
},
});
const { data } = await res.json();
console.log(data);import requests
res = requests.get(
'https://api.minimo.it/public/v1/inbox/threads?needsAttention=true&pageSize=10',
headers={'Authorization': 'Bearer {{BEARER_TOKEN}}'},
)
print(res.json())<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.minimo.it/public/v1/inbox/threads",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.minimo.it/public/v1/inbox/threads"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.minimo.it/public/v1/inbox/threads")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.minimo.it/public/v1/inbox/threads")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"threads": [
{
"threadId": 1234,
"status": "open",
"unreadMessages": 2,
"pinned": false,
"channels": [
"whatsapp"
],
"contact": {
"contactId": 5678,
"name": "Mario Rossi",
"email": null,
"phone": "393331234567"
},
"assignedTo": null,
"needsHuman": true,
"ai": {
"state": "active",
"since": null
},
"snoozedUntil": null,
"updatedAt": "2026-11-13T09:00:00.000Z",
"lastMessage": {
"messageId": 90112,
"direction": "inbound",
"channel": "whatsapp",
"subject": null,
"preview": "Can I talk to a person?",
"at": "2026-11-13T09:00:00.000Z"
}
}
],
"pagination": {
"currentPage": 1,
"nextPage": null,
"prevPage": null,
"totalPages": 1,
"totalRecords": 1
},
"counters": {
"open": 27,
"closed": 2,
"snoozed": 2,
"unassigned": 26,
"unread": 3,
"needsTakeover": 3,
"needsAttention": 4,
"mine": 0
}
}
}{
"status": "FAIL",
"message": "WHATSAPP_WINDOW_CLOSED",
"userMessage": "WhatsApp allows free text only within 24 hours of the contact's last WhatsApp message. Send an approved template instead."
}A thread is the whole conversation with one contact: email, WhatsApp, SMS and Telegram together, the same
threads your team sees in the inbox. See Inbox for the concepts.
Use Cases
- Find who needs a person:
needsAttention=truelists the threads where the AI handed over or is paused while the contact waits - Build your own inbox view: the same filters and tab counters as the app
- Look up a contact’s thread:
searchmatches the contact’s name, email or phone
Permissions
The API key needs the Inbox permission (Developer › API keys). Every call is scoped to the key’s workspace.assigned=me means the user who created the key; counters.mine is there when the key belongs to a user.
Related
- Get Thread: read the messages of a thread
- MCP: agents connected to Minimo’s MCP server use
minimo_inbox_list-threads, which returns the same objects (Inbox for your AI agent)