---
title: "Create Equipment Status"
method: POST
path: "/equipment_statuses"
tags: ["Equipment Statuses"]
---

# Create Equipment Status

`POST /equipment_statuses`

## Request

- Base URL: `https://secure.fleetio.com/api`
- URL: `https://secure.fleetio.com/api/equipment_statuses`
- Auth: API key in header `Authorization` and API key in header `Account-Token`
- TypeScript: <https://skmtc.dev/fleetio/apis/fleetio-developer-api/docs/equipment_statuses/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a new Equipment Status

## Request body

- object
  - `name` string, required: The name of the Equipment Status.
  - `default` boolean: Indicates whether this is the default Equipment Status applied to new Equipment.
  - `color` string: The color displayed in the UI for this Equipment Status.

## Response `201`

OK

- EquipmentStatus: An Equipment Status
  - `id` integer
  - `created_at` string, date-time: The date and time at which this record was created.
  - `updated_at` string, date-time: The date and time at which this record was most recently updated.
  - `account_id` integer, required
  - `name` string, required: The name of the Equipment Status.
  - `default` boolean, required: Indicates whether this is the default Equipment Status applied to new Equipment.
  - `color` string, nullable, required: The color displayed in the UI for this Equipment Status.
  - `position` integer, required: The position of this Equipment Status in the list of Equipment Statuses.

## Other responses

- `401`: Request could not be authenticated
- `403`: Insufficient permission to perform this operation
- `422`: Unprocessable Entity
- `500`: Something unexpected happened

---

[API](https://skmtc.dev/fleetio/apis/fleetio-developer-api.md) - [All operations](https://skmtc.dev/fleetio/apis/fleetio-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fleetio/apis/fleetio-developer-api/revisions/49558d744bd7?raw)
