Get a conversation
이 페이지는 아직 한국어 언어로 제공되지 않습니다. 기본 언어(English)로 표시합니다.
Get a conversation
https://api.cekat.ai/api/conversations/{conversation_id}Returns a conversation with its labels, pipeline stage, collaborators, and the last message from the contact side and from a human agent.
Authorization
Your Cekat API key, from Settings → Developers & API in the Cekat dashboard.
Alternative to api_key: send the same key as Bearer YOUR_API_KEY.
Path parameters
Response
The conversation.
Show child attributes
open, pending, assigned, resolvedShow child attributes
Show child attributes
Agents added to the conversation as collaborators.
Show child attributes
Show child attributes
Show child attributes
Who sent the last message.
The last message sent by a human agent, if any.
Show child attributes
The request is invalid.
Show child attributes
Request ID. Include it when contacting Cekat support.
The API key is missing or invalid.
Show child attributes
Request ID. Include it when contacting Cekat support.
The resource was not found or does not belong to your business.
Show child attributes
Request ID. Include it when contacting Cekat support.
Rate limit exceeded. Wait and retry.
curl --request GET \
--url 'https://api.cekat.ai/api/conversations/3c90c3cc-0d44-4b50-8888-8dd25736052a' \
--header 'api_key: YOUR_API_KEY'
const response = await fetch('https://api.cekat.ai/api/conversations/3c90c3cc-0d44-4b50-8888-8dd25736052a', {
method: 'GET',
headers: { 'api_key': 'YOUR_API_KEY' },
});
const data = await response.json();
console.log(data);
import requests
url = "https://api.cekat.ai/api/conversations/3c90c3cc-0d44-4b50-8888-8dd25736052a"
headers = {"api_key": "YOUR_API_KEY"}
response = requests.get(url, headers=headers)
print(response.json())
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => 'https://api.cekat.ai/api/conversations/3c90c3cc-0d44-4b50-8888-8dd25736052a',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => ['api_key: YOUR_API_KEY'],
]);
$response = curl_exec($curl);
curl_close($curl);
echo $response;
{
"success": true,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"stage_status": "open",
"notes": "<string>",
"labels": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Jane Doe",
"color": "<string>"
}
],
"pipeline": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Jane Doe"
},
"collaborators": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Jane Doe"
}
],
"inbox_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"inbox_name": "example_name",
"platform_type": "<string>",
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contact_name": "Jane Doe",
"contact_phone": "6281234567890",
"created_at": "2026-01-15T09:30:00Z",
"resolved_at": "2026-01-15T09:30:00Z",
"handled_by_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"handled_by_name": "example_name",
"resolved_by_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"resolved_by_name": "example_name",
"additional_data": {},
"first_message": {
"message": "<string>"
},
"last_message": {
"message": "<string>",
"created_at": "2026-01-15T09:30:00Z",
"sent_by_type": "<string>"
},
"last_message_by_human": {
"message": "<string>",
"created_at": "2026-01-15T09:30:00Z",
"sent_by_type": "<string>"
}
}
}
{
"success": true,
"message": "<string>",
"statusCode": 1,
"error": {
"message": "<string>"
},
"correlationId": "<string>"
}
{
"success": true,
"message": "<string>",
"statusCode": 1,
"error": {
"message": "<string>"
},
"correlationId": "<string>"
}
{
"success": true,
"message": "<string>",
"statusCode": 1,
"error": {
"message": "<string>"
},
"correlationId": "<string>"
}
{
"message": "<string>"
}