Read one conversation answer record
curl --request GET \
--url https://api.example.com/api/conversations/{route_name}/messages/{message_id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.example.com/api/conversations/{route_name}/messages/{message_id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.example.com/api/conversations/{route_name}/messages/{message_id}', 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.example.com/api/conversations/{route_name}/messages/{message_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <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://api.example.com/api/conversations/{route_name}/messages/{message_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<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://api.example.com/api/conversations/{route_name}/messages/{message_id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/conversations/{route_name}/messages/{message_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"client_address": "<string>",
"created_at": 123,
"door": "api",
"inbound_text": "<string>",
"message_id": "<string>",
"origin": "client",
"route_name": "<string>",
"thread_id": "<string>",
"updated_at": 123,
"answer": "<string>",
"answer_parts": [
{
"data": {
"options": {},
"values": {}
},
"footer": "<string>",
"header": {
"kind": "image",
"url": "<string>",
"caption": "<string>",
"filename": "<string>"
},
"location": {
"latitude": 123,
"longitude": 123,
"address": "<string>",
"name": "<string>"
},
"media": [
{
"kind": "image",
"url": "<string>",
"caption": "<string>",
"filename": "<string>"
}
],
"message": "",
"options": [
{
"text": "<string>",
"description": "<string>",
"id": "<string>",
"kind": "reply"
}
],
"pages": [
{
"fields": [
"<string>"
],
"title": "<string>"
}
],
"schema": {},
"sections": [
{
"rows": [
{
"text": "<string>",
"description": "<string>",
"id": "<string>",
"kind": "reply"
}
],
"title": "<string>"
}
],
"template": {
"language": "<string>",
"name": "<string>",
"body_parameters": [
"<string>"
],
"buttons": [
{
"payload": "<string>",
"kind": "quick_reply"
}
],
"header_media": {
"kind": "image",
"url": "<string>",
"caption": "<string>",
"filename": "<string>"
}
}
}
],
"answer_status": "answered",
"attempts": 123,
"callback_url": "<string>",
"caller_principal": "<string>",
"channel": "<string>",
"delivery_status": "pending_delivery",
"error": "<string>",
"inbound_attachments": [
{
"kind": "image",
"url": "<string>",
"caption": "<string>",
"filename": "<string>"
}
],
"inbound_event": {},
"inbound_form": {},
"inbound_kind": "message",
"inbound_locale": "<string>",
"inbound_location": {
"latitude": 123,
"longitude": 123,
"address": "<string>",
"name": "<string>"
},
"our_identity": "<string>",
"outbound_message_ids": [
"<string>"
],
"provider_message_id": "<string>",
"submitted_by": "<string>"
}
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}conversations
Read one conversation answer record
One conversation answer record by message_id under route_name.
A missing record or one on another route is a 404. An admin reads the whole record; a non-admin reads the caller-safe projection, which withholds the internal detail of the route key’s run.
GET
/
api
/
conversations
/
{route_name}
/
messages
/
{message_id}
Read one conversation answer record
curl --request GET \
--url https://api.example.com/api/conversations/{route_name}/messages/{message_id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.example.com/api/conversations/{route_name}/messages/{message_id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.example.com/api/conversations/{route_name}/messages/{message_id}', 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.example.com/api/conversations/{route_name}/messages/{message_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <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://api.example.com/api/conversations/{route_name}/messages/{message_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<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://api.example.com/api/conversations/{route_name}/messages/{message_id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/conversations/{route_name}/messages/{message_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"client_address": "<string>",
"created_at": 123,
"door": "api",
"inbound_text": "<string>",
"message_id": "<string>",
"origin": "client",
"route_name": "<string>",
"thread_id": "<string>",
"updated_at": 123,
"answer": "<string>",
"answer_parts": [
{
"data": {
"options": {},
"values": {}
},
"footer": "<string>",
"header": {
"kind": "image",
"url": "<string>",
"caption": "<string>",
"filename": "<string>"
},
"location": {
"latitude": 123,
"longitude": 123,
"address": "<string>",
"name": "<string>"
},
"media": [
{
"kind": "image",
"url": "<string>",
"caption": "<string>",
"filename": "<string>"
}
],
"message": "",
"options": [
{
"text": "<string>",
"description": "<string>",
"id": "<string>",
"kind": "reply"
}
],
"pages": [
{
"fields": [
"<string>"
],
"title": "<string>"
}
],
"schema": {},
"sections": [
{
"rows": [
{
"text": "<string>",
"description": "<string>",
"id": "<string>",
"kind": "reply"
}
],
"title": "<string>"
}
],
"template": {
"language": "<string>",
"name": "<string>",
"body_parameters": [
"<string>"
],
"buttons": [
{
"payload": "<string>",
"kind": "quick_reply"
}
],
"header_media": {
"kind": "image",
"url": "<string>",
"caption": "<string>",
"filename": "<string>"
}
}
}
],
"answer_status": "answered",
"attempts": 123,
"callback_url": "<string>",
"caller_principal": "<string>",
"channel": "<string>",
"delivery_status": "pending_delivery",
"error": "<string>",
"inbound_attachments": [
{
"kind": "image",
"url": "<string>",
"caption": "<string>",
"filename": "<string>"
}
],
"inbound_event": {},
"inbound_form": {},
"inbound_kind": "message",
"inbound_locale": "<string>",
"inbound_location": {
"latitude": 123,
"longitude": 123,
"address": "<string>",
"name": "<string>"
},
"our_identity": "<string>",
"outbound_message_ids": [
"<string>"
],
"provider_message_id": "<string>",
"submitted_by": "<string>"
}
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}Authorizations
Response
Success.
A conversation answer record as a read door serves it. An admin read carries every
field; the caller-scoped read withholds the route-key's internal detail — channel,
our_identity, provider_message_id, callback_url, error,
outbound_message_ids and attempts are present only for an admin caller and are
absent from the caller_view subset.
Show child attributes
Show child attributes

