Skip to main content
GET
/
call
/
{callId}
Get call details
curl --request GET \
  --url https://app.freyavoice.ai/api/v2/call/{callId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "message": "<string>",
    "result": {
      "call": {
        "id": "<string>",
        "workspaceId": "<string>",
        "externalCallId": "<string>",
        "assistantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "assistantName": "<string>",
        "assistantEntityType": "workflow",
        "assistantWorkflowId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "phoneNumberId": "<string>",
        "phoneNumber": "<string>",
        "simulationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "campaign": {
          "id": "<string>",
          "name": "<string>",
          "assistantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "phoneNumberId": "<string>",
          "description": "<string>"
        },
        "customerNumber": "<string>",
        "startedAt": "<string>",
        "endedAt": "<string>",
        "duration": 123,
        "status": "<string>",
        "type": "<string>",
        "modality": "voice",
        "endedReason": "<string>",
        "transcript": "<string>",
        "messages": [
          {
            "role": "<string>",
            "message": "<string>",
            "duration": 123,
            "secondsFromStart": 123,
            "timestamp": "<string>",
            "endTime": 123,
            "messageId": "<string>",
            "was_blocked": true,
            "wasBlocked": true,
            "blocked_content": "<string>",
            "blockedContent": "<string>"
          }
        ],
        "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>"
          }
        },
        "unresolvedFeedbacksCount": 123,
        "resolvedFeedbacksCount": 123,
        "unresolvedAiFeedbacksCount": 123,
        "unresolvedUserFeedbacksCount": 123,
        "reviewStatus": "<string>",
        "reviewAssignees": [
          {
            "userId": "<string>",
            "userName": "<string>"
          }
        ],
        "isArchived": false,
        "assertionsSummary": {
          "passed": 123,
          "failed": 123,
          "total": 123
        },
        "entityVersionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "entityVersionNumber": 123,
        "updatedAt": "<string>",
        "analysis": "<unknown>",
        "createdAt": "<string>",
        "artifact": "<unknown>",
        "problems": [
          {
            "title": "<string>",
            "id": "<string>",
            "workspaceId": "<string>",
            "callId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "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>",
            "agentEntityType": "<string>",
            "agentWorkflowId": "<string>",
            "resolvedByName": "<string>",
            "assignees": [
              {
                "userId": "<string>",
                "assignedAt": "<string>",
                "userName": "<string>"
              }
            ],
            "commentsCount": 123,
            "isArchived": false
          }
        ],
        "assertionResults": [
          {
            "id": "<string>",
            "name": "<string>",
            "assertion": "<string>",
            "success": true,
            "reason": "<string>",
            "relevantMessages": {},
            "timeTaken": 123,
            "metadata": {}
          }
        ],
        "successCriteriaResult": {
          "id": "<string>",
          "name": "<string>",
          "assertion": "<string>",
          "success": true,
          "reason": "<string>",
          "relevantMessages": {},
          "timeTaken": 123,
          "metadata": {}
        }
      }
    }
  }
}

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

Query Parameters

workspaceId
string<uuid>
required

Workspace ID

Response

Call details

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