---
title: "POST /api/v1/auth/subaccounts/"
method: POST
path: "/api/v1/auth/subaccounts/"
tags: ["auth"]
---

# POST /api/v1/auth/subaccounts/

`POST /api/v1/auth/subaccounts/`

## Request

- Base URL: `https://uptime.com` (the document declares no server; this is the origin it was published from)
- URL: `https://uptime.com/api/v1/auth/subaccounts/`
- Auth: none declared
- TypeScript: <https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/docs/api/v1/auth/subaccounts/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a new subaccount

Creates a new subaccount for this account which includes one pack which is deducted from the main account.

## Request body

- Subaccount
  - `pk` integer
  - `name` string, required
  - `url` string

## Response `200`

- Subaccount
  - `pk` integer
  - `name` string, required
  - `url` string

---

[API](https://skmtc.dev/uptime/apis/uptime-com-openapi-schema.md) - [All operations](https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/llms.txt) - [OpenAPI document](https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/revisions/e1e4a57a60d8?raw)
