> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daily.co/llms.txt
> Use this file to discover all available pages before exploring further.

# useMeetingSessionSummary

> Returns the current meeting session summary, including the session id once the call has started.

`useMeetingSessionSummary(): DailyMeetingSessionSummary | null`

Wraps [`meetingSessionSummary()`](/reference/daily-js/instance-methods/meeting-session-summary). The value is populated when the local participant joins and stays in sync via the [`meeting-session-summary-updated`](/reference/daily-js/events/messaging-events#meeting-session-summary-updated) event. It is `null` whenever there is no active meeting session: before joining, and again after the local participant leaves (`left-meeting`) or the call instance is destroyed (`call-instance-destroyed`).

The session `id` is useful for correlating a call with its recordings, logs, and REST API resources.

## Return value

Returns a `DailyMeetingSessionSummary` object while a meeting session is active, or `null` when there is no active session (before joining, and after `left-meeting` or `call-instance-destroyed`).

<ResponseField name="id" type="string">
  The meeting session's unique identifier, available once the session has started. Use it to correlate the call with its recordings, logs, and REST API resources.
</ResponseField>

## Example

```jsx theme={null}
import { useMeetingSessionSummary } from '@daily-co/daily-react';

export const UseMeetingSessionSummaryDemo = () => {
  const meetingSessionSummary = useMeetingSessionSummary();

  if (!meetingSessionSummary) {
    return <div>Waiting for the session to start</div>;
  }

  return <div>Session ID: {meetingSessionSummary.id}</div>;
};
```

## See also

<CardGroup>
  <Card title="Hooks" icon="code" iconType="solid">
    * [useMeetingSessionState()](/reference/daily-react/use-meeting-session-state)
    * [useMeetingState()](/reference/daily-react/use-meeting-state)
  </Card>

  <Card title="daily-js methods" icon="code" iconType="solid">
    * [meetingSessionSummary()](/reference/daily-js/instance-methods/meeting-session-summary)
  </Card>

  <Card title="Events" icon="bolt" iconType="solid">
    * [meeting-session-summary-updated](/reference/daily-js/events/messaging-events#meeting-session-summary-updated)
  </Card>
</CardGroup>
