> For the complete documentation index, see [llms.txt](https://moonsama.gitbook.io/moonsama-metaverse/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://moonsama.gitbook.io/moonsama-metaverse/gameplay/electronics/internet-communication.md).

# Internet Communication

Electronics within the Moonsama Metaverse offer two-way interactions with the internet.

## Outgoing Webhooks

Broadcast actuators can be set to broadcast their message to the internet using HTTP requests.

1. Attach a broadcast actuator on a circuit board
2. Set the mode to Webhook
3. Set a target URL and HTTP method
4. Optionally set HTTP headers
5. Optionally set a request body

## Incoming Webhooks

Internet sensors can listen to messages sent through HTTP requests to the Metaverse API.

1. Attach a sensor to a circuit board
2. Set the mode to Webhook
3. Generate credentials
4. Use the credentials to authenticate your request to the Metaverse API
