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

# infoReceived

> The infoReceived event fires when a SIP INFO message arrives during a call.

Emitted when an info message is received from the remote party during a call.

> [!NOTE]
>
> If the incoming info message contains a `_transcription` property, it is emitted as a [`transcription`](https://docs-classic.cognigy.com/click-to-call/sdk/event-reference/transcription) event instead and won't trigger `infoReceived`.

## Category

Info Message

## Callback Parameters

| Parameter | Type | Description |
| - | - | - |
| `data` | `object` | The raw SIP INFO event data, containing `originator` (string) and `info` (object with `body` property). |

The `data` object has the following structure:

| Property | Type | Description |
| - | - | - |
| `originator` | `string` | Who sent the info message, for example, `'remote'`. |
| `info` | `object` | The SIP INFO message object. Use `info.body` to access the message body as a string. |

## Example

```typescript theme={null}
client.on('infoReceived', (data) => {
  console.log('Info received from:', data.originator);
  try {
    const parsed = JSON.parse(data.info.body);
    console.log('Parsed body:', parsed);
  } catch {
    console.log('Raw body:', data.info.body);
  }
});
```

## More Information

* [infoSent](https://docs-classic.cognigy.com/click-to-call/sdk/event-reference/info-sent.md)
* [transcription](https://docs-classic.cognigy.com/click-to-call/sdk/event-reference/transcription.md)
* [sendInfo](https://docs-classic.cognigy.com/click-to-call/sdk/api-reference/send-info.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.