Get conversation
curl --request GET \
--url https://beta.getsales.io/unibox/v1/api/conversations/{sid} \
--header 'Authorization: Bearer <token>' \
--header 'Team-SID: <api-key>'import requests
url = "https://beta.getsales.io/unibox/v1/api/conversations/{sid}"
headers = {
"Authorization": "Bearer <token>",
"Team-SID": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'Team-SID': '<api-key>'}
};
fetch('https://beta.getsales.io/unibox/v1/api/conversations/{sid}', 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://beta.getsales.io/unibox/v1/api/conversations/{sid}",
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>",
"Team-SID: <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://beta.getsales.io/unibox/v1/api/conversations/{sid}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Team-SID", "<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://beta.getsales.io/unibox/v1/api/conversations/{sid}")
.header("Authorization", "Bearer <token>")
.header("Team-SID", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://beta.getsales.io/unibox/v1/api/conversations/{sid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
request["Team-SID"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"operation": "get",
"item": {
"sid": "<string>",
"team_sid": "<string>",
"agent_sid": "<string>",
"channel_account_refs": [
{
"channel": "linkedin",
"account_sid": "<string>",
"provider_thread_sid": "<string>"
}
],
"channels": [
"linkedin"
],
"is_group": true,
"title": "<string>",
"origin": "synced",
"state": "needs_you",
"created_by": {
"actor_type": "user",
"actor_sid": "<string>",
"team_sid": "<string>",
"permissions": {},
"actor_name": "<string>",
"oauth_client_sid": "<string>",
"reason": "<string>",
"cluster_id": 123,
"trace_id": "<string>"
},
"sender_profile_sid": "<string>",
"primary_person_sid": "<string>",
"scenario_key": "<string>",
"origin_workflow_sid": "<string>",
"agent_mode_override": "autopilot_ok",
"automation_ref": {
"workflow_sid": "<string>",
"workflow_name": "<string>",
"ai_agent_mode": "copilot",
"playtable_sid": "<string>"
},
"active_plan_sid": "<string>",
"dialog": {
"goal": {},
"stage": "rapport",
"needs": [
"<string>"
],
"qualification_answers": {},
"exchanges_used": 1,
"engaged_at": "<string>",
"objective_reached_at": "<string>",
"from": "engage",
"entry_scenario": "<string>",
"replies_without_fact": 1,
"offered_at": "<string>",
"followups_sent": 1,
"came_back": 1,
"ended_at": "<string>",
"outcome": "said_yes",
"last_facts": [
"<string>"
],
"skipped": [
"engage"
],
"last_move": "<string>",
"last_move_reason": "<string>"
},
"lead_evidence": {
"their_link_at": "<string>",
"confirmed_time_at": "<string>",
"handoff_after_reply_at": "<string>"
},
"agent_level": {
"scenario_key": "<string>",
"setting": "autopilot",
"level": "autopilot",
"condition": "<string>",
"condition_kind": "lead",
"run_sid": "<string>",
"decided_at": "<string>"
},
"lead_timezone": "<string>",
"auto_messages_used": 1,
"unread_count": 1,
"needs_reply": true,
"snoozed_until": "<string>",
"last_message_preview": "<string>",
"last_message_at": "<string>",
"first_outbound_at": "<string>",
"last_inbound_at": "<string>",
"merged_into_sid": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"deleted_at": "<string>"
},
"included": {
"participants": [
{
"sid": "<string>",
"team_sid": "<string>",
"conversation_sid": "<string>",
"role": "counterpart",
"is_primary": true,
"display_name": "<string>",
"headline": "<string>",
"avatar_url": "<string>",
"ln_member_id": "<string>",
"ln_id": "<string>",
"sn_id": "<string>",
"recruiter_id": "<string>",
"ln_nickname": "<string>",
"email": "<string>",
"person_sid": "<string>",
"linked_at": "<string>",
"linked_by": {
"actor_type": "user",
"actor_sid": "<string>",
"team_sid": "<string>",
"permissions": {},
"actor_name": "<string>",
"oauth_client_sid": "<string>",
"reason": "<string>",
"cluster_id": 123,
"trace_id": "<string>"
},
"created_at": "<string>",
"updated_at": "<string>",
"deleted_at": "<string>"
}
],
"active_plan": {
"sid": "<string>"
},
"open_tasks": [
{
"sid": "<string>"
}
],
"messages_tail": [
{
"sid": "<string>"
}
],
"events_tail": [
{
"sid": "<string>"
}
],
"signals": {
"outbound_count": 1,
"inbound_count": 1,
"opened_count": 1,
"clicked_count": 1,
"bounced_count": 1,
"reactions_count": 1,
"pending_drafts_count": 1,
"queued_count": 1,
"classified_count": 1,
"escalated_count": 1,
"snoozed_count": 1,
"takeover_count": 1,
"open_hits_count": 1,
"click_hits_count": 1,
"first_outbound_at": "<string>",
"last_outbound_at": "<string>",
"first_inbound_at": "<string>",
"last_inbound_at": "<string>",
"last_open_at": "<string>",
"last_click_at": "<string>",
"bounced_at": "<string>",
"invite_sent_at": "<string>",
"accepted_at": "<string>",
"withdrawn_at": "<string>",
"last_classified_at": "<string>",
"escalated_at": "<string>",
"objective_reached_at": "<string>",
"booking_link_sent_at": "<string>",
"last_reaction_at": "<string>",
"next_task_due_at": "<string>",
"invited_us_at": "<string>",
"invitation_closed_at": "<string>",
"followed_us_at": "<string>",
"connection_removed_at": "<string>",
"blocked_us_at": "<string>",
"message_deleted_at": "<string>",
"complained_at": "<string>",
"reactivated_at": "<string>",
"note_delivered": true,
"escalated_open": true,
"multi_opened": true,
"last_message_direction": "inbound",
"bounce_type": "<string>",
"signals": [
{
"key": "awaiting_reply",
"since": "<string>",
"age_days": 1
}
]
},
"agent_hold": {
"reason": "<string>",
"since": "<string>"
},
"agent_work": {
"kind": "reading_reply",
"since": "<string>",
"guidance": "<string>",
"plan_sid": "<string>",
"step_id": 123
}
},
"includes": [
"<string>"
],
"meta": {
"trace_id": "<string>",
"span_id": "<string>",
"timestamp": "<string>",
"duration_ms": 1,
"team_sid": "<string>",
"actor_type": "<string>"
}
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "<string>",
"recoverable": true,
"suggestion": "<string>",
"field_errors": {},
"blockers": [
{
"type": "<string>",
"severity": "hard",
"description": "<string>",
"entity_sid": "<string>",
"resolution": "<string>",
"resolution_hint": "<string>",
"count": 123
}
],
"context": {}
},
"meta": {
"trace_id": "<string>",
"span_id": "<string>",
"timestamp": "<string>",
"duration_ms": 1,
"team_sid": "<string>",
"actor_type": "<string>"
}
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "<string>",
"recoverable": true,
"suggestion": "<string>",
"field_errors": {},
"blockers": [
{
"type": "<string>",
"severity": "hard",
"description": "<string>",
"entity_sid": "<string>",
"resolution": "<string>",
"resolution_hint": "<string>",
"count": 123
}
],
"context": {}
},
"meta": {
"trace_id": "<string>",
"span_id": "<string>",
"timestamp": "<string>",
"duration_ms": 1,
"team_sid": "<string>",
"actor_type": "<string>"
}
}conversations
Get conversation
One thread. participants, messages_tail and events_tail render it; active_plan and open_tasks fill the panel; signals, agent_hold and agent_work say what happened and what the AI SDR does.
Contract:
- MCP tool
get_conversation, registry packagemcp.unibox/conversations, mountunibox.inbox. - Operation
get, response envelopeget. - Flags: read only.
GET
/
api
/
conversations
/
{sid}
Get conversation
curl --request GET \
--url https://beta.getsales.io/unibox/v1/api/conversations/{sid} \
--header 'Authorization: Bearer <token>' \
--header 'Team-SID: <api-key>'import requests
url = "https://beta.getsales.io/unibox/v1/api/conversations/{sid}"
headers = {
"Authorization": "Bearer <token>",
"Team-SID": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'Team-SID': '<api-key>'}
};
fetch('https://beta.getsales.io/unibox/v1/api/conversations/{sid}', 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://beta.getsales.io/unibox/v1/api/conversations/{sid}",
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>",
"Team-SID: <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://beta.getsales.io/unibox/v1/api/conversations/{sid}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Team-SID", "<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://beta.getsales.io/unibox/v1/api/conversations/{sid}")
.header("Authorization", "Bearer <token>")
.header("Team-SID", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://beta.getsales.io/unibox/v1/api/conversations/{sid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
request["Team-SID"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"operation": "get",
"item": {
"sid": "<string>",
"team_sid": "<string>",
"agent_sid": "<string>",
"channel_account_refs": [
{
"channel": "linkedin",
"account_sid": "<string>",
"provider_thread_sid": "<string>"
}
],
"channels": [
"linkedin"
],
"is_group": true,
"title": "<string>",
"origin": "synced",
"state": "needs_you",
"created_by": {
"actor_type": "user",
"actor_sid": "<string>",
"team_sid": "<string>",
"permissions": {},
"actor_name": "<string>",
"oauth_client_sid": "<string>",
"reason": "<string>",
"cluster_id": 123,
"trace_id": "<string>"
},
"sender_profile_sid": "<string>",
"primary_person_sid": "<string>",
"scenario_key": "<string>",
"origin_workflow_sid": "<string>",
"agent_mode_override": "autopilot_ok",
"automation_ref": {
"workflow_sid": "<string>",
"workflow_name": "<string>",
"ai_agent_mode": "copilot",
"playtable_sid": "<string>"
},
"active_plan_sid": "<string>",
"dialog": {
"goal": {},
"stage": "rapport",
"needs": [
"<string>"
],
"qualification_answers": {},
"exchanges_used": 1,
"engaged_at": "<string>",
"objective_reached_at": "<string>",
"from": "engage",
"entry_scenario": "<string>",
"replies_without_fact": 1,
"offered_at": "<string>",
"followups_sent": 1,
"came_back": 1,
"ended_at": "<string>",
"outcome": "said_yes",
"last_facts": [
"<string>"
],
"skipped": [
"engage"
],
"last_move": "<string>",
"last_move_reason": "<string>"
},
"lead_evidence": {
"their_link_at": "<string>",
"confirmed_time_at": "<string>",
"handoff_after_reply_at": "<string>"
},
"agent_level": {
"scenario_key": "<string>",
"setting": "autopilot",
"level": "autopilot",
"condition": "<string>",
"condition_kind": "lead",
"run_sid": "<string>",
"decided_at": "<string>"
},
"lead_timezone": "<string>",
"auto_messages_used": 1,
"unread_count": 1,
"needs_reply": true,
"snoozed_until": "<string>",
"last_message_preview": "<string>",
"last_message_at": "<string>",
"first_outbound_at": "<string>",
"last_inbound_at": "<string>",
"merged_into_sid": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"deleted_at": "<string>"
},
"included": {
"participants": [
{
"sid": "<string>",
"team_sid": "<string>",
"conversation_sid": "<string>",
"role": "counterpart",
"is_primary": true,
"display_name": "<string>",
"headline": "<string>",
"avatar_url": "<string>",
"ln_member_id": "<string>",
"ln_id": "<string>",
"sn_id": "<string>",
"recruiter_id": "<string>",
"ln_nickname": "<string>",
"email": "<string>",
"person_sid": "<string>",
"linked_at": "<string>",
"linked_by": {
"actor_type": "user",
"actor_sid": "<string>",
"team_sid": "<string>",
"permissions": {},
"actor_name": "<string>",
"oauth_client_sid": "<string>",
"reason": "<string>",
"cluster_id": 123,
"trace_id": "<string>"
},
"created_at": "<string>",
"updated_at": "<string>",
"deleted_at": "<string>"
}
],
"active_plan": {
"sid": "<string>"
},
"open_tasks": [
{
"sid": "<string>"
}
],
"messages_tail": [
{
"sid": "<string>"
}
],
"events_tail": [
{
"sid": "<string>"
}
],
"signals": {
"outbound_count": 1,
"inbound_count": 1,
"opened_count": 1,
"clicked_count": 1,
"bounced_count": 1,
"reactions_count": 1,
"pending_drafts_count": 1,
"queued_count": 1,
"classified_count": 1,
"escalated_count": 1,
"snoozed_count": 1,
"takeover_count": 1,
"open_hits_count": 1,
"click_hits_count": 1,
"first_outbound_at": "<string>",
"last_outbound_at": "<string>",
"first_inbound_at": "<string>",
"last_inbound_at": "<string>",
"last_open_at": "<string>",
"last_click_at": "<string>",
"bounced_at": "<string>",
"invite_sent_at": "<string>",
"accepted_at": "<string>",
"withdrawn_at": "<string>",
"last_classified_at": "<string>",
"escalated_at": "<string>",
"objective_reached_at": "<string>",
"booking_link_sent_at": "<string>",
"last_reaction_at": "<string>",
"next_task_due_at": "<string>",
"invited_us_at": "<string>",
"invitation_closed_at": "<string>",
"followed_us_at": "<string>",
"connection_removed_at": "<string>",
"blocked_us_at": "<string>",
"message_deleted_at": "<string>",
"complained_at": "<string>",
"reactivated_at": "<string>",
"note_delivered": true,
"escalated_open": true,
"multi_opened": true,
"last_message_direction": "inbound",
"bounce_type": "<string>",
"signals": [
{
"key": "awaiting_reply",
"since": "<string>",
"age_days": 1
}
]
},
"agent_hold": {
"reason": "<string>",
"since": "<string>"
},
"agent_work": {
"kind": "reading_reply",
"since": "<string>",
"guidance": "<string>",
"plan_sid": "<string>",
"step_id": 123
}
},
"includes": [
"<string>"
],
"meta": {
"trace_id": "<string>",
"span_id": "<string>",
"timestamp": "<string>",
"duration_ms": 1,
"team_sid": "<string>",
"actor_type": "<string>"
}
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "<string>",
"recoverable": true,
"suggestion": "<string>",
"field_errors": {},
"blockers": [
{
"type": "<string>",
"severity": "hard",
"description": "<string>",
"entity_sid": "<string>",
"resolution": "<string>",
"resolution_hint": "<string>",
"count": 123
}
],
"context": {}
},
"meta": {
"trace_id": "<string>",
"span_id": "<string>",
"timestamp": "<string>",
"duration_ms": 1,
"team_sid": "<string>",
"actor_type": "<string>"
}
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "<string>",
"recoverable": true,
"suggestion": "<string>",
"field_errors": {},
"blockers": [
{
"type": "<string>",
"severity": "hard",
"description": "<string>",
"entity_sid": "<string>",
"resolution": "<string>",
"resolution_hint": "<string>",
"count": 123
}
],
"context": {}
},
"meta": {
"trace_id": "<string>",
"span_id": "<string>",
"timestamp": "<string>",
"duration_ms": 1,
"team_sid": "<string>",
"actor_type": "<string>"
}
}Authorizations
Access token issued by gs.service.id. Its access_identity claim carries team_sid, actor_sid and actor_type, and that team scope is authoritative.
Team scope for tokens that do not carry one. Ignored when the token already names a team.
Path Parameters
The thread to open.
Required string length:
18Pattern:
^ub_cv_Query Parameters
Eager-loads: participants, messages_tail (30 newest), events_tail (20 newest), active_plan, open_tasks, signals (the event summary and catalog signals), agent_hold (why the AI SDR is stuck, or null), agent_work (what it does now, or null). Else 422.
Available options:
participants, events_tail, messages_tail, active_plan, open_tasks, signals, agent_hold, agent_work