Skip to main content
GET
/
v1
/
fetch-conversation
/
{conversation_id}
Fetch a single conversation by ID
curl --request GET \
  --url https://api.salescaptain.com/v1/fetch-conversation/{conversation_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Conversation fetched successfully!",
  "conversation": {
    "data": {
      "contact_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "contact_name": "John Doe",
      "contact_number": "+1234567890",
      "contact_email": "[email protected]",
      "conversation_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "conversation_profile_id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
      "conversation_profile_number": "+1987654321",
      "conversation_profile_email": "[email protected]",
      "last_message": "Hey, I need help with my order",
      "assigned_to": "d4e5f6a7-b8c9-0123-def1-234567890123",
      "updated_at": "2026-03-17T10:30:00.000Z",
      "created_at": "2026-03-15T08:00:00.000Z",
      "seen_by": "e5f6a7b8-c9d0-1234-ef12-345678901234",
      "is_chat_opened": true
    }
  }
}

Authorizations

Authorization
string
header
required

Authentication token required for accessing protected endpoints. The token should be obtained from the main SalesCaptain authentication service.

Path Parameters

conversation_id
string<uuid>
required

Unique identifier for the conversation

Example:

"b2c3d4e5-f6a7-8901-bcde-f12345678901"

Response

Conversation fetched successfully

message
string
Example:

"Conversation fetched successfully!"

conversation
object