---
title: "/employers/{employerId}/worksites"
method: POST
path: "/employers/{employerId}/worksites"
---

# /employers/{employerId}/worksites

`POST /employers/{employerId}/worksites`

## Request

- Base URL: `https://api.securevan.com/v4`
- URL: `https://api.securevan.com/v4/employers/{employerId}/worksites`
- Auth: HTTP basic

Use this endpoint to create a new Worksite for an Employer.

Accepts a standard [Worksite](ref:worksites) object with no read-only values specified. If supplied, the `name` of the Worksite must be unique to the Employer.

*Response*

If successful, the endpoint responds with HTTP Status Code `201 Created` and a Worksite object with the integer ID of the created Worksite in the response body. It also sets the **Location** header to the [location](ref:worksitesworksiteid) of the Worksite.

If the specified Employer does not exist, this endpoint will return an error with HTTP Status Code `404 Not Found`.

## Path parameters

- `employerId` integer, required

## Request body

- object
  - `worksite` object: Accepts a standard [Worksite](https://everyaction.readme.io/reference#common-models-16) object with no read-only values specified. If supplied, the name of the Worksite must be unique to the Employer.

## Response `201`

201

- object
  - `worksiteId` integer
  - `name` string
  - `isPreferred` boolean
  - `address` object
    - `addressLine1` string
    - `unitNo` string
    - `city` string
    - `stateOrProvince` string
    - `zipOrPostalCode` string

## Other responses

- `400`: 400
- `404`: 404

## Changes

- **2026-11-03** `4f2049fba5af`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ngpvan/apis/van-crm/changes/employers/:employerId/worksites/post.md)

---

[API](https://skmtc.dev/ngpvan/apis/van-crm.md) - [All operations](https://skmtc.dev/ngpvan/apis/van-crm/llms.txt) - [OpenAPI document](https://skmtc.dev/ngpvan/apis/van-crm/revisions/4f2049fba5af?raw)
