# Push Events

## Configuring your Listener

Sonoran CAD defaults to websocket delivery when an active [API websocket session](/cad/api-integration/websocket-api/push-events.md) exists for the target `serverId`. For the [FiveM resource](/cad/integration-plugins/in-game-integration/fivem-installation.md), this socket is setup automatically.

If no matching websocket session exists, Sonoran CAD falls back to `http://ip:gameport/sonorancad/event` **utilizing your existing game port**.

Server IP and port configuration is automatically added by the [FiveM resource](/cad/integration-plugins/in-game-integration/fivem-installation.md) on startup for HTTP fallback compatibility.

You can also [manually configure the server information in the admin panel](/cad/tutorials/customization/configuring-multiple-servers.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sonoransoftware.com/cad/api-integration/push-events.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
