> For the complete documentation index, see [llms.txt](https://docs.tryterra.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tryterra.co/unified-api.md). Agents can also search and read this documentation through its [MCP server](https://docs.tryterra.co/~gitbook/mcp).

# Unified API

- [Overview](https://docs.tryterra.co/unified-api/getting-started.md): How the Unified API gets your users' wearable and health app data to your backend, and the steps to build on it.
- [Quickstart](https://docs.tryterra.co/unified-api/quickstart.md): Connect a wearable and see its data arrive, in four steps from the Terra dashboard.
- [Environments](https://docs.tryterra.co/unified-api/understanding-terra-environments.md): Learn the three Terra environments, testing, staging and production, and the user limit in each.
- [Data sources and data types](https://docs.tryterra.co/unified-api/setting-up-data-sources.md): Choose which providers your users can connect, which data types Terra sends, and which permissions each provider asks for.
- [Supported integrations](https://docs.tryterra.co/unified-api/supported-integrations.md): See every integration Terra supports, its enum value, how it syncs, whether you need your own credentials, and which data types it sends.
- [User authentication](https://docs.tryterra.co/unified-api/authentication-flow.md): Connect an end user's wearable or health app to Terra, then store the user ID from the auth event.
- [Terra authentication widget](https://docs.tryterra.co/unified-api/implementation-terra-widget.md): Create a widget session from your backend and send the end user to the hosted screen where they pick a provider and log in.
- [Custom authentication UI](https://docs.tryterra.co/unified-api/implementation-custom-ui.md): Build your own connect buttons, generate a provider login link from your backend, and open it for the end user.
- [Authentication redirect pages](https://docs.tryterra.co/unified-api/customising-authentication-redirects.md): Set where Terra sends the end user after they connect a provider, and read the parameters added to that URL.
- [Health data events](https://docs.tryterra.co/unified-api/receiving-data-updates.md): Handle the data events Terra sends to your destination when a connected user's data syncs.
- [Historical data requests](https://docs.tryterra.co/unified-api/requesting-historical-data.md): Request a user's past data from the Unified API, either to your destination or in the response.
- [Writing data to providers](https://docs.tryterra.co/unified-api/write-data.md): Learn how to write data back to providers, and create a bi-directional data stream between your app and the various integrations you connect to
- [Synthetic users](https://docs.tryterra.co/unified-api/synthetic-users.md): Create test users that send realistic health data to your destinations, described in plain words, with no wearable needed.
- [Dedicated source API keys](https://docs.tryterra.co/unified-api/dedicated-data-source-api-keys.md): Set up your own developer credentials for Strava, Virtuagym, Huawei and Samsung Health instead of using Terra's managed keys.
- [Per-user OAuth apps](https://docs.tryterra.co/unified-api/per-user-oauth-apps.md): Let each end user connect Strava, Oura or WHOOP through their own OAuth app, and see what they set up at each provider.
- [Strength training data](https://docs.tryterra.co/unified-api/strength-training.md): Read per-set strength training data, including exercises, sets, reps and load, from the activity payload.
- [Troubleshooting](https://docs.tryterra.co/unified-api/debugging-faq.md): Find out why data events are not arriving for a user, and check the account, the provider sync and the mobile SDK setup.
- [Pricing](https://docs.tryterra.co/unified-api/pricing.md): Learn what the Quick Start plan costs, how Unified API credits are charged, and how add-on products are priced.
- [WHOOP](https://docs.tryterra.co/unified-api/whoop.md)
- [Dexcom](https://docs.tryterra.co/unified-api/dexcom.md)
