---
title: "Create a location"
method: POST
path: "/v1/locations"
tags: ["Locations"]
---

# Create a location

`POST /v1/locations`

Creates a single location.

## Headers

- `x-api-key` string, required

## Request body

- CreateLocationRequestBody
  - `locationCode` 'ATL3' | 'BHM1' | 'BNA1' | 'BOS1' | 'BWI1' | 'CLT1' | 'CMH1' | 'CYS1' | 'DCA1' | 'DCA2' | 'DEN1' | 'DFW2' | 'DTW1' | 'EWR1' | 'IAH1' | 'ILG1' | 'ILG2' | 'IND1' | 'LAS1' | 'LAX1' | 'LGA1' | 'MCI1' | 'MDW1' | 'MIA1' | 'MSP1' | 'MSY1' | 'PHL1' | 'PHX1' | 'SDF1' | 'SEA1' | 'SFO1' | 'SLC1' | 'AK' | 'AL' | 'AR' | 'AZ' | 'CA' | 'CO' | 'CT' | 'DC' | 'DE' | 'FL' | 'GA' | 'HI' | 'IA' | 'ID' | 'IL' | 'IN' | 'KS' | 'KY' | 'LA' | 'MA' | 'MD' | 'ME' | 'MI' | 'MN' | 'MO' | 'MS' | 'MT' | 'NC' | 'ND' | 'NE' | 'NH' | 'NJ' | 'NM' | 'NV' | 'NY' | 'OH' | 'OK' | 'OR' | 'PA' | 'PR' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VA' | 'VT' | 'WA' | 'WI' | 'WV' | 'WY', required
  - `autoScan` boolean — Whether incoming mail should be auto-scanned. Defaults to `true`. For RA locations, only `true` is permitted.
  - `metadata` object — Arbitrary key/value pairs to attach to the location. Values must be strings or numbers.
  - `platformPrefill` PlatformPrefill
    - `business` PlatformPrefillBusiness
      - `legalBusinessName` string, required — Legal name of the business
      - `placeOfRegistration` string, required — If the business is in the United States, then "county, state" is required -- otherwise just "country".
      - `businessType` string, required — The NAICS definition of the business. Learn more: https://www.census.gov/naics/?58967?yearbck=2022
    - `recipients` PlatformPrefillRecipients, required
      - `business` PlatformPrefillBusinessRecipients[] — Business recipients for the created location. If provided, the top level `business` field is also required.
        - `name` string, required — Name of the business recipient
      - `individual` PlatformPrefillIndividualRecipients[], required — Individual recipients for the created location. At least one individual recipient is required.
        - `firstName` string, required — First name of the individual recipient
        - `lastName` string, required — Last name of the individual recipient
  - `companyId` string — UUID of an existing company. Required for RA locations. Not allowed for CMRA locations.
  - `additionalInformation` AdditionalRegisteredAgentInformation
    - `managementType` string — Management type for the entity (e.g. "Member Managed" or "Manager Managed")
    - `official` object
      - `firstName` string, required — First name
      - `lastName` string, required — Last name
    - `officialDirector` object
      - `firstName` string, required — First name
      - `lastName` string, required — Last name
    - `officialManager` object
      - `firstName` string, required — First name
      - `lastName` string, required — Last name
    - `officialMember` object
      - `firstName` string, required — First name
      - `lastName` string, required — Last name
    - `officialPartner` object
      - `firstName` string, required — First name
      - `lastName` string, required — Last name
    - `officialPresident` object
      - `firstName` string, required — First name
      - `lastName` string, required — Last name
    - `officialSecretary` object
      - `firstName` string, required — First name
      - `lastName` string, required — Last name
    - `officialTreasurer` object
      - `firstName` string, required — First name
      - `lastName` string, required — Last name

## Response `200`

Success

- Location
  - `id` string, required
  - `status` 'active' | 'inactive', required
  - `address` object, required
    - `line1` string, required
    - `line2` string, required
    - `city` string, required
    - `state` string, required
    - `postalCode` string, required
  - `type` 'cmra' | 'registeredAgent', required
  - `onboarding` object, required
    - `status` 'authorize' | 'sign' | 'verify' | 'complete', required
  - `metadata` object, required

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

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