---
title: "Create a site"
method: POST
path: "/orgs/{orgId}/sites"
tags: ["orgs/sites"]
---

# Create a site

`POST /orgs/{orgId}/sites`

__JWT is required for this endpoint with at least one of the following scopes__: o{params.orgId}-user:w,o{params.orgId}-site:w,o{params.orgId}-siteGeneral:w,o{params.orgId}-admin:w,o{params.orgId}-quickStart:w,o{params.orgId}-sos:w,o:w,s-o:w<br/><br/>__Endpoint name__: createSite

## Path parameters

- `orgId` integer, required

## Request body

- object
  - `name` string, required
  - `address` string, nullable
  - `address2` string, nullable
  - `city` string, nullable
  - `zip` string, nullable
  - `phone` string, nullable
  - `language` 'en' | 'fr' | 'es' | 'it' | 'de', nullable
  - `country` string, nullable
  - `state` string, nullable
  - `contactName` string, nullable
  - `contactPhone` string, nullable
  - `boundary` string, nullable
  - `resources` object[]
    - `fileName` string, required
    - `fileBase64` string, required

## Response `201`

Created

- object
  - `data` object
    - `id` number, required
    - `opal` string
    - `name` string
    - `address` string, nullable
    - `address2` string, nullable
    - `city` string, nullable
    - `state` string, nullable
    - `zip` string, nullable
    - `country` string, nullable
    - `phone` string, nullable
    - `createdAt` string, date
    - `updatedAt` string, date
    - `zoneCount` integer
    - `language` string, nullable
    - `userCount` integer
    - `contactName` string, nullable
    - `contactPhone` string, nullable
    - `boundary` string, nullable
    - `resources` object[]
      - `id` number, required
      - `name` string, required
      - `contentType` string, required
      - `fileName` string, required
      - `s3Data` string, required
      - `s3Key` string, required
      - `s3Bucket` string, required
      - `url` string, nullable
      - `createdAt` string, date-time, required
      - `updatedAt` string, date-time, required
    - `sosFacilityCampus` object, nullable
      - `siteId` number, required
      - `sosFacilityCampusIdExt` string, required
      - `createdAt` string, date-time, required
      - `updatedAt` string, date-time, required
  - `meta` object
    - `accessToken` object, nullable
      - `scopeUpdatedAt` string, date
    - `siteSpecificAccess` object, nullable
      - `isSiteSpecific` boolean
      - `siteIds` integer[], nullable
      - `siteIdsByScope` object, nullable
        - `string` integer[], nullable

---

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