---
title: "Finish onboarding"
method: POST
path: "/code-management/finish-onboarding"
tags: ["Code Management"]
---

# Finish onboarding

`POST /code-management/finish-onboarding`

Completes onboarding by running a review setup flow.

## Request body

- FinishOnboardingDTO
  - `teamId` string, required
  - `reviewPR` boolean, required
  - `repositoryId` string
  - `repositoryName` string
  - `pullNumber` number

## Response `204`

Onboarding completed

## Other responses

- `400` — Validation error
- `401` — Not authenticated
- `403` — Insufficient permissions
- `500` — Unexpected error

---

[API](https://skmtc.net/kodustech/apis/kodus-api.md) · [All operations](https://skmtc.net/kodustech/apis/kodus-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kodustech/kodus-api/revisions/e2282ac5fb3a/schema)
