Skip to main content
Get conversation
curl --request GET \
  --url https://api.dimedove.com/v1/apps/{app_id}/conversations/{conversation_id} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.dimedove.com/v1/apps/{app_id}/conversations/{conversation_id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.dimedove.com/v1/apps/{app_id}/conversations/{conversation_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.dimedove.com/v1/apps/{app_id}/conversations/{conversation_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 => [
"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.dimedove.com/v1/apps/{app_id}/conversations/{conversation_id}"

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.dimedove.com/v1/apps/{app_id}/conversations/{conversation_id}")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.dimedove.com/v1/apps/{app_id}/conversations/{conversation_id}")

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
{
  "id": "<string>",
  "created_at": 123,
  "object": "conversation",
  "external_user_id": "<string>",
  "title": "<string>",
  "generated_title": {
    "en-ca": "<generated title in English>",
    "fr-ca": "<generated title in French>"
  },
  "metadata": {},
  "items": []
}
{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<string>"
}
}
{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<string>"
}
}
{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<string>"
}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

app_id
string
required

The unique identifier of the app.

conversation_id
string
required

The unique identifier of the conversation.

Response

OK

id
string
required

Unique identifier for the conversation.

created_at
integer
required

Unix timestamp (in seconds) of when the conversation was created.

object
string
default:conversation

The object type. Always 'conversation'.

external_user_id
string | null

The external user identifier associated with this conversation, if one was provided at creation.

title
string | null

The custom title set for this conversation, if any.

generated_title
Generated Title · object | null

AI-generated conversation title in supported locales. Keys are locale codes (e.g. 'en-ca', 'fr-ca').

Example:
{
"en-ca": "<generated title in English>",
"fr-ca": "<generated title in French>"
}
metadata
Metadata · object | null

The latest metadata snapshot associated with this conversation, if any has been provided.

items
ConversationItemSchema · object[]

The list of messages in the conversation.