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

# REST API and webhooks

> Earth Care Network's public REST API and outbound webhooks are coming. Today, agents and scripts work through the MCP server, with the same permissions as the portal.

> [!NOTE]
>
> **Coming soon.** A public REST API with scoped keys, and outbound webhooks
> that tell your other tools when something happens (a member joins, a form is
> answered, a payment arrives). Both are being built and aren't open yet.

## What to use today

> [card] [The MCP server](https://docs.earthcare.network/mcp/overview.md)
>
> The supported way for agents and scripts to read and write an enterprise.
> It uses the same roles and checks as the portal, and an API key works from
> any language.

> [card] [Automations and connected apps](https://docs.earthcare.network/relationships/automations.md)
>
> Start a routine when something happens, and reach the apps your
> enterprise already uses, such as Slack and Gmail.

## The portal's own API

The portal talks to a JSON API under `/api/v1/`. It changes with the product,
isn't versioned for outside use and isn't documented here. Build on the MCP
server instead: its tools are listed in the [tools reference](https://docs.earthcare.network/mcp/tools.md),
generated from the live server.

## Self-hosting

Earth Care Network is hosted at earthcare.network. These docs don't cover
running your own copy.


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