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

# API Reference

> Build on Replo programmatically with the public API.

The Replo API lets you work with your Replo workspaces and projects programmatically from your own code, automations, or tools like n8n.

## Base URL

All public API endpoints are served from:

```text theme={null}
https://public-api.replo.app/api/v1/public
```

## Authentication

Create a public API key from your Replo Settings, then send it as a bearer token:

```bash theme={null}
curl "https://public-api.replo.app/api/v1/public/products?projectId=$REPLO_PROJECT_ID" \
  -H "Authorization: Bearer $REPLO_PUBLIC_API_KEY" \
  -H "Replo-Api-Version: $REPLO_API_VERSION"
```

Public API keys are scoped. If a key does not have access to a resource or action, Replo returns a 404.

## API version

Every request must include the `Replo-Api-Version` header. See [API versioning](/api-reference/versioning) for the current supported version and upgrade guidance.
