---
title: "Create Account"
method: POST
path: "/accounts"
tags: ["Accounts"]
---

# Create Account

`POST /accounts`

Creates a new account.

## Request body

- AccountInput
  - `name` string, required — Name of the account
  - `website` string — Website URL for the account
  - `billing_address` AddressInput
    - `address_line_1` string, required — First line of the address
    - `locality` string, required — City or locality
    - `administrative_area` JurisdictionInput, required — A jurisdiction reference for use in request bodies. Only the id is required; use the /jurisdictions endpoint to look up valid IDs.
      - `id` string, uuid, required — ID of the jurisdiction
    - `postal_code` string, required — Postal code
    - `country` JurisdictionInput, required — A jurisdiction reference for use in request bodies. Only the id is required; use the /jurisdictions endpoint to look up valid IDs.
      - `id` string, uuid, required — ID of the jurisdiction

## Response `200`

Created

- object
  - `data` Account
    - `id` string, uuid, required — UUID of the account
    - `name` string, required — Name of the account
    - `website` string, nullable — Website URL for the account
    - `billing_address` Address
      - `address_line_1` string, required — First line of the address
      - `address_line_2` string, nullable — Second line of the address (optional)
      - `locality` string, required — City or locality
      - `postal_code` string, required — Postal code
      - `administrative_area` Jurisdiction — A geographic jurisdiction (country, state/province, locality, etc.) returned in API responses. Always includes both id and name.
        - `id` string, uuid, required — ID of the jurisdiction
        - `name` string, required — Name of the jurisdiction
      - `country` Jurisdiction — A geographic jurisdiction (country, state/province, locality, etc.) returned in API responses. Always includes both id and name.
        - `id` string, uuid, required — ID of the jurisdiction
        - `name` string, required — Name of the jurisdiction

## Other responses

- `400` — Invalid parameter format
- `401` — Unauthenticated
- `403` — Forbidden - User does not have access

---

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