Skip to main content

Get Call Log Entry by ID

GET 

/v1/users/{userId}/calls/{callId}

Retrieves a single call log entry by its unique identifier.

Response Data​

The call log entry includes:

  • Call Metadata: Timestamp, direction (inbound/outbound), duration
  • Caller/Callee Information: Phone number and identified name (if available)
  • Screening Results: AI assistant conversation outcome and disposition
  • Analysis Data: Fraud/scam detection results (if applicable)

Path Parameters​


    userId stringrequired

    UUID for the given user


    callId stringrequired

    UUID for the given call

Header Parameters​


    x-hiya-product-version string

    Product version. The standard "major.minor.patch" format is highly encouraged without any leading characters; "2.1.3" or "3.0.0" for example.


    x-hiya-account-user-id stringrequired

    The identifier of a logged-in user. Same identifier that is used for /users/{user_id}

Responses​

OK

Response Body

application/json

    statusstringrequired

    Current state of the call in the screening lifecycle

    Possible values: [Call_Screening]


    callIdstringrequired

    Unique call ID used to identify this particular call.

    Example: call_7f3b9c2a-1234-5678-9abc-def012345678

    timestampstringrequired

    The UTC timestamp of when the call started in ISO 8601 format (including milliseconds).

    Format: string<date-time>
    Example: 2024-12-21T14:30:00.000Z

    phonestringrequired

    E.164 formatted phone number for the other non-user party in the call

    Possible values: Value must match regular expression ^\+[1-9]\d{1,14}$

    Example: +14155551234

    directionstringrequired

    Determines if the call was incoming or outgoing (from the user's perspective)

    Possible values: [Incoming, Outgoing]

    Example: Incoming

    isContactbooleanrequired

    True if user was determined to be a contact at the time of the call

    Example: false

    isAnonymousCallerboolean

    If true and direction='Incoming', the phone field should be ignored because the caller hid their number

    Example: false

    liveConversationTokenstring

    Used by the client to connect to the screening conversation stream over websocket

    Example: conv_abc123xyz789

Example from Schema​

{
"status": "Call_Screening",
"callId": "call_7f3b9c2a-1234-5678-9abc-def012345678",
"timestamp": "2024-12-21T14:30:00.000Z",
"phone": "+14155551234",
"direction": "Incoming",
"isContact": false,
"isAnonymousCaller": false,
"liveConversationToken": "conv_abc123xyz789"
}