Skip to main content
GET
/
call
/
{callId}
Get call details
curl --request GET \
  --url https://app2.freyavoice.ai/api/v2/call/{callId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "message": "<string>",
    "result": {
      "call": {
        "id": "<string>",
        "workspaceId": "<string>",
        "assistantId": "<string>",
        "assistantName": "<string>",
        "workflowId": "<string>",
        "workflowName": "<string>",
        "phoneNumberId": "<string>",
        "phoneNumber": "<string>",
        "simulationId": "<string>",
        "campaign": {
          "id": "<string>",
          "name": "<string>",
          "assistantId": "<string>",
          "phoneNumberId": "<string>",
          "description": "<string>"
        },
        "customerNumber": "<string>",
        "startedAt": "<string>",
        "endedAt": "<string>",
        "duration": 123,
        "status": "<string>",
        "type": "<string>",
        "endedReason": "<string>",
        "transcript": "<string>",
        "messages": [
          {
            "role": "<string>",
            "message": "<string>",
            "duration": 123,
            "secondsFromStart": 123,
            "timestamp": "<string>",
            "endTime": 123
          }
        ],
        "summary": "<string>",
        "cost": 123,
        "recordingUrl": "<string>",
        "tags": [
          {
            "tag": "<string>",
            "source": "<string>",
            "value": 123,
            "confidence": 0.5,
            "metadata": {}
          }
        ],
        "customer": {
          "number": "<string>",
          "identity": {
            "firstName": "<string>",
            "lastName": "<string>",
            "email": "<string>"
          }
        },
        "unresolvedProblemsCount": 123,
        "resolvedProblemsCount": 123,
        "unresolvedAiProblemsCount": 123,
        "unresolvedUserProblemsCount": 123,
        "reviewStatus": "<string>",
        "reviewAssignees": [
          {
            "userId": "<string>",
            "userName": "<string>"
          }
        ],
        "isArchived": false,
        "analysis": "<unknown>",
        "createdAt": "<string>",
        "updatedAt": "<string>",
        "artifact": "<unknown>",
        "logs": [
          "<unknown>"
        ],
        "problems": [
          {
            "problem": "<string>",
            "id": "<string>",
            "workspaceId": "<string>",
            "callId": "<string>",
            "agentId": "<string>",
            "description": "<string>",
            "type": "system",
            "severity": 0.5,
            "status": "open",
            "assignedTo": "<string>",
            "createdBy": "ai",
            "messageId": "<string>",
            "resolved": false,
            "resolvedAt": "<string>",
            "resolvedBy": "<string>",
            "solutionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "createdAt": "<string>",
            "updatedAt": "<string>",
            "callStartedAt": "<string>",
            "customerNumber": "<string>",
            "agentName": "<string>",
            "resolvedByName": "<string>",
            "assignees": [
              {
                "userId": "<string>",
                "assignedAt": "<string>",
                "userName": "<string>"
              }
            ],
            "commentsCount": 123,
            "isArchived": false
          }
        ]
      }
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

callId
string<uuid>
required

Call ID

Minimum string length: 1

Query Parameters

workspaceId
string<uuid>
required

Workspace ID

Minimum string length: 1

Response

Call details

success
enum<boolean>
required
Available options:
true,
false
data
object
required