---
title: "Create Tenant"
method: POST
path: "/api/tenants"
tags: ["tenants"]
---

# Create Tenant

`POST /api/tenants`

## Request

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

Create a new tenant and generate their API key.

## Request body

- CreateTenantRequest
  - `name` string, required
  - `email` string, required
  - `company` string, nullable

## Response `200`

Successful Response

- CreateTenantResponse
  - `tenant_id` string, required
  - `api_key` string, required
  - `message` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/stremai/apis/strem-ai.md) · [All operations](https://skmtc.dev/stremai/apis/strem-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/stremai/apis/strem-ai/revisions/160e5f136d48?raw)
