# Overview

> What partners get from YOU(th): events, FHIR, a read API and SDKs, and how they fit together.

YOU(th) runs health checkups and turns them into biomarkers and measurements. These docs are for
partners who connect their own systems to it: a clinic's software that files results, an insurer's
app that shows them, a coaching platform that starts work when a checkup is done, a company that
sells YOU(th) beside its own product.

## What you get

- **Access codes.** You [order codes](/docs/access-codes), hand one to each customer, hear when it
  is redeemed, and end the access with one call. No personal data crosses.
- **Events.** A [webhook](/docs/webhooks) tells your system when something happens in your
  organization, such as a redeemed access code. Each delivery is signed, and carries ids only.
- **FHIR.** A checkup is a [FHIR bundle](/docs/data/fhir) and a member a `Patient`, ready to store
  in a system that speaks FHIR.
- **A read API for checkups, as a preview.** Your backend will
  [read a checkup or a member](/docs/webhooks/catch-up) with a short-lived
  [token](/docs/authentication), and list the checkups it missed after an outage. It is not
  available yet, and neither are the checkup and member events.
- **A sandbox.** A [second organization](/docs/sandbox) of yours, which only your testers join, to
  build and test against the live hosts.
- **SDKs.** The [SDKs](/docs/sdks) bring the face video and voice checkups into your own web page or
  Flutter app.

## How it fits together

1. A customer redeems one of your access codes.
2. YOU(th) sends your webhook receiver a signed `AccessCode.redeemed` delivery, with the code's id
   and where to read it.
3. Your receiver [verifies the signature](/docs/webhooks/verify) and answers at once.
4. Your backend gets a token with its integration's key, and reads the code from the delivery's
   `resource_url`.

```json
{
  "event_id": "evt_3b9f2c1a7d4e4f6a8c5b0e1d2f3a4b5c",
  "event_type": "AccessCode.redeemed",
  "occurred_at": "2026-12-12T09:30:00.375000Z",
  "access_code_id": "0193b1c2-7a4e-7c1d-9f0a-2b6d5e8f1a34",
  "batch_id": "0193b1c0-11aa-7e02-8c55-9d3f0a7b6c21",
  "resource_url": "https://api.youth-platform.io/v1/access-codes/0193b1c2-7a4e-7c1d-9f0a-2b6d5e8f1a34"
}
```

## How to start

1. [Get API credentials](/docs/credentials): an administrator of your organization creates an
   integration in the YOU(th) console, with a key pair and the scopes it needs.
2. Follow the [quickstart](/docs/quickstart): get a token, create a webhook endpoint, verify a
   delivery and read what it names. If you sell access, read
   [Sell access with codes](/docs/access-codes) with it.
3. Read [Retries and duplicates](/docs/webhooks/retries) before you go live.

## Build it with an assistant

Hand a coding agent the whole docs in one file, and ask it for the receiver. Put this site's
address and your stack in place of the placeholders:

```text
Read <this site's address>/llms-full.txt and build a YOU(th) webhook receiver in <your stack>, with tests.
```

[Use the docs with AI](/docs/ai) has a longer prompt that names each step, and how to hand an
assistant a single page.

## Hosts

| Host                     | Serves                                                   |
| ------------------------ | -------------------------------------------------------- |
| `api.youth-platform.io`  | The API: every route starts with `/v1`                   |
| `auth.youth-platform.io` | Tokens, at `/realms/youth/protocol/openid-connect/token` |

Your live organization and your [sandbox](/docs/sandbox) use the same hosts; your credentials say
which one you are.
