Skip to main content
GET conversations/{conversationId} Path parameters
ParameterTypeRequiredDescription
conversationIdstringYesThe ID of the conversation to retrieve.
Example Request (cURL)
curl -X GET "https://api.visitoai.com/api/v1.0/conversations/68451506b0fe88f337300001" \
  -H "Authorization: Bearer YOUR_API_KEY_HERE"
Example Response
{
  "data": [
    {
      "id": "684b99ebf416816bd65e3001",
      "content": "hello",
      "role": "user",
      "createdAt": "2025-11-13T03:24:27.016Z"
    },
    {
      "id": "684b99edf416816bd65e3002",
      "content": "Hi! I'm your virtual assistant.",
      "role": "assistant",
      "createdAt": "2025-11-13T03:24:29.056Z"
    },
    {
      "id": "684b99edf416816bd65e3003",
      "content": "I'm here to help you with anything you need.",
      "role": "assistant",
      "createdAt": "2025-11-13T03:24:29.982Z"
    }
  ]
}