---
title: "/hardware"
method: POST
path: "/hardware"
---

# /hardware

`POST /hardware`

## Request

- Base URL: `https://develop.snipeitapp.com/api/v1`
- URL: `https://develop.snipeitapp.com/api/v1/hardware`
- Auth: none required

Creates a new asset

## Request body

- object
  - `asset_tag` string, required: The asset tag of the asset. If auto-incrementing is enabled in the settings, this is not required and will be generated.
  - `status_id` integer, required: The id of the related status label
  - `model_id` integer, required: The id of the related asset model
  - `name` string: Asset name
  - `image` string: data:[mime/type];base64,[base64encodeddata]
  - `serial` string
  - `purchase_date` string, date
  - `purchase_cost` number, float
  - `order_number` string
  - `notes` string
  - `archived` boolean
  - `warranty_months` integer
  - `depreciate` boolean
  - `supplier_id` integer
  - `requestable` boolean
  - `rtd_location_id` integer: The corresponding location_id from a location in the locations table that should indicate where the item is when it's NOT checked out to someone
  - `last_audit_date` string, date
  - `location_id` integer
  - `byod` boolean

## Response `200`

200

- union
  - object
    - `status` string
    - `messages` string
    - `payload` object
      - `model_id` integer
      - `name` unknown
      - `serial` unknown
      - `company_id` string
      - `order_number` unknown
      - `notes` unknown
      - `asset_tag` string
      - `user_id` integer
      - `archived` string
      - `physical` string
      - `depreciate` string
      - `status_id` integer
      - `warranty_months` unknown
      - `purchase_cost` unknown
      - `purchase_date` unknown
      - `assigned_to` unknown
      - `supplier_id` unknown
      - `requestable` integer
      - `rtd_location_id` unknown
      - `updated_at` string
      - `created_at` string
      - `id` integer
      - `model` object
        - `id` integer
        - `name` string
        - `model_number` string
        - `manufacturer_id` integer
        - `category_id` integer
        - `created_at` string
        - `updated_at` string
        - `depreciation_id` integer
        - `eol` integer
        - `image` unknown
        - `deprecated_mac_address` integer
        - `fieldset_id` unknown
        - `notes` string
        - `requestable` integer
  - object
    - `status` string
    - `messages` object
      - `status_id` string[]

## Other responses

- `401`: 401

## Changes

- **2026-11-03** `938bea5e8375`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/snipeitapp/apis/snipe-it-rest-api/changes/hardware/post.md)

---

[API](https://skmtc.dev/snipeitapp/apis/snipe-it-rest-api.md) - [All operations](https://skmtc.dev/snipeitapp/apis/snipe-it-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/snipeitapp/apis/snipe-it-rest-api/revisions/938bea5e8375?raw)
