---
title: "Development Test Account"
method: POST
path: "/onboarding/dev/test-account"
tags: ["onboarding"]
---

# Development Test Account

`POST /onboarding/dev/test-account`

## Request

- Base URL: `https://api.getathly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getathly.com/onboarding/dev/test-account`
- Auth: none declared

Mint a disposable, fully onboarded account and sign it in.

The fast path to "a new user's first open" for testing the coach: no
onboarding app, no Stripe, no hand-off token. 404 outside ``DEV_MODE``,
like the ``/auth/dev/*`` link generators.

## Request body

- DevTestAccountRequest: Mint a disposable, fully onboarded account for this athlete (DEV_MODE only).
  - `athlete_slug` string, required
  - `name` string, nullable
  - `timezone` string, required

## Response `200`

Successful Response

- DevTestAccountResponse: The claim session plus the credentials, so the account can be re-entered later. Only ever returned by the DEV_MODE route.
  - `access_token` string, required
  - `refresh_token` string, required
  - `expires_at` integer, required
  - `user_id` string, required
  - `athlete_slug` string, required
  - `email` string, required
  - `password` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getathly/apis/athly-api.md) - [All operations](https://skmtc.dev/getathly/apis/athly-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getathly/apis/athly-api/revisions/6adfdc258d75?raw)
