Skip to main content
Call logs provide a history of calls made through your application. You can retrieve call logs using the CometChat Chat SDK’s call log APIs.
Call logs are managed by the CometChat Chat SDK, not the Calls SDK. Ensure you have the Chat SDK integrated to access call history.

Prerequisites

To use call logs, you need:
  1. CometChat Chat SDK integrated (@cometchat/chat-sdk-react-native)
  2. User authenticated with the Chat SDK

Retrieve Call Logs

Use the CallLogRequestBuilder from the Chat SDK to fetch call logs:

CallLogRequestBuilder Options

Call Status Values

Call Log Object

Each call log contains:

Filter by User

Get call logs for a specific user:

Filter by Group

Get call logs for a specific group:

Pagination

Fetch call logs in pages:

Transcripts

Available since v5.0.5 Use the Calls SDK’s CallLogRequestBuilder to fetch only calls that were transcribed. Opting in also makes the server attach each call’s transcripts to the log:
getTranscriptions() returns an empty array when the server omitted transcripts, so it never needs a null check. To page through a session’s transcripts directly, use TranscriptRequestBuilder.

Complete Example