---
title: "Onboard"
method: POST
path: "/api/auth/onboard"
tags: ["auth"]
---

# Onboard

`POST /api/auth/onboard`

Create a new farm and link the authenticated user as admin.
Called from the /setup page after signup.

## Request body

- OnboardRequest
  - `farm_name` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/nexa/apis/farm-intel-api.md) · [All operations](https://skmtc.dev/nexa/apis/farm-intel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nexa/farm-intel-api/revisions/b1933769082d/schema)
