---
title: "handle bootstrap"
method: GET
path: "/api/v1/auth/bootstrap"
tags: ["api/v1/auth"]
---

# handle bootstrap

`GET /api/v1/auth/bootstrap`

#### Controller: 

`github.com/raghavyuva/nixopus-api/internal/features/auth/controller.(*AuthController).HandleBootstrap`

#### Middlewares:

- `github.com/go-fuego/fuego.defaultLogger.middleware`
- `github.com/raghavyuva/nixopus-api/internal/routes.(*Router).SetupRoutes.(*Router).setupAuthentication.func2`

---

## Headers

- `Accept` string

## Response `200`

OK

- BootstrapResponse — BootstrapResponse schema
  - `activeOrganizationId` string, nullable
  - `hasServers` boolean
  - `organizations` object[]
    - `id` string
    - `name` string
    - `role` string
  - `provisionId` string, nullable
  - `provisionStep` string, nullable
  - `user` object
    - `email` string
    - `id` string
    - `isOnboarded` boolean
    - `name` string
    - `provisionStatus` string

## Other responses

- `400` — Bad Request _(validation or deserialization error)_
- `500` — Internal Server Error _(panics)_
- `default`

## Changes

- **2026-02-27** `93bf2b2f361d` — 10 breaking
  - the response property `errors/items/` became nullable for the status `400` (media type: application/json)
  - the response property `errors/items/` became nullable for the status `400` (media type: application/xml)
  - the response property `errors/items/` became nullable for the status `500` (media type: application/json)
  - the response property `errors/items/` became nullable for the status `500` (media type: application/xml)
  - …6 more
- **2026-02-20** `351ecc325873` — 2 info
  - added the optional property `provisionStep` to the response with the `200` status (media type: application/json)
  - added the optional property `provisionStep` to the response with the `200` status (media type: application/xml)
- **2026-02-20** `351ecc325873` — 2 info
  - added the optional property `provisionStep` to the response with the `200` status (media type: application/json)
  - added the optional property `provisionStep` to the response with the `200` status (media type: application/xml)
- **2026-02-20** `7da452081665` — 1 info
  - endpoint added
- **2026-02-20** `7da452081665` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/nixopus/apis/openapi/changes/api/v1/auth/bootstrap/get.md)

---

[API](https://skmtc.dev/nixopus/apis/openapi.md) · [All operations](https://skmtc.dev/nixopus/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nixopus/openapi/revisions/86356bbcc727/schema)
