---
title: "Add Staff Account"
method: POST
path: "/staff"
---

# Add Staff Account

`POST /staff`

Lets admin users to create a staff account for the organization.

## Headers

- `X-CAP-API-AUTH-KEY` string, required
- `X-CAP-API-AUTH-ORG-ID` string, required

## Request body

- object
  - `username` string, required — Username for the current staff account. No special characters are allowed.
  - `mobile` string — Mobile number of the staff.
  - `email` string — Email ID of the staff.
  - `password` string, required — Password for the staff account.
  - `storeCode` string — Specify the store code to which you want to associate the staff. If no store code is passed, the user is associated to the InfluenceStore by default store
  - `zoneCode` string — Valid zone code of the store. If this is not passed, the zone will be associated according to the store code
  - `ConceptCode` string — The concept code associated to the store. If this is not passed, the concept will be associated according to to the store code
  - `firstname` string — First name of the staff user
  - `lastname` string — Last name of the staff user.
  - `role` string — Role of the staff user.

## Response `200`

200

- object
  - `entity` integer
  - `warnings` unknown[]
    - unknown
  - `errors` unknown[]
    - unknown
  - `success` boolean

## Other responses

- `400` — 400

---

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