---
title: "Provision a new workspace (called by auth worker)"
method: POST
path: "/internal/v1/provision-workspace"
tags: ["internal", "provision"]
---

# Provision a new workspace (called by auth worker)

`POST /internal/v1/provision-workspace`

## Request body

- ProvisionRequestBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `admin_emails` string[], nullable, required
  - `company_name` string, required
  - `email` string, required
  - `email_domains` string[], nullable, required
  - `first_name` string, required
  - `last_name` string, required
  - `status` string, required
  - `subdomain` string
  - `website` string

## Response `200`

OK

- ProvisionResponseBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `id` string, required
  - `subdomain` string, required
  - `token` string, required

## Other responses

- `default` — Error

---

[API](https://skmtc.dev/scaleops/apis/scaleops-free-trial.md) · [All operations](https://skmtc.dev/scaleops/apis/scaleops-free-trial/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scaleops/scaleops-free-trial/revisions/eba76d71caac/schema)
