---
updatedAt: 2026-08-06T21:05:39.000Z
agentTools:
  projectIndex: https://snipe-it.readme.io/llms.txt
---

# /hardware/:id/licenses

Get the licenses checked out to an asset

Enter an id number in the form and click "try it".

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "snipe-it-rest-api",
    "version": "8.2.0"
  },
  "servers": [
    {
      "url": "https://develop.snipeitapp.com/api/v1"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/hardware/{id}/licenses": {
      "get": {
        "summary": "/hardware/:id/licenses",
        "description": "Get the licenses checked out to an asset",
        "operationId": "hardwareidlicenses",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The id (not the asset tag) of the asset you'd like to query",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"total\": 1,\n    \"rows\": [\n        {\n            \"id\": 2,\n            \"name\": \"Acrobat\",\n            \"company\": null,\n            \"manufacturer\": {\n                \"id\": 9,\n                \"name\": \"Adobe\"\n            },\n            \"product_key\": \"d344600b-276c-3c08-9e40-633013b6bd17\",\n            \"order_number\": \"4448995\",\n            \"purchase_order\": \"\",\n            \"purchase_date\": {\n                \"date\": \"2018-07-04\",\n                \"formatted\": \"2018-07-04\"\n            },\n            \"purchase_cost\": \"29.99\",\n            \"notes\": \"Created by DB seeder\",\n            \"expiration_date\": {\n                \"date\": \"2021-03-23\",\n                \"formatted\": \"2021-03-23\"\n            },\n            \"seats\": 10,\n            \"free_seats_count\": 0,\n            \"license_name\": \"Mr. Alvah Shanahan PhD\",\n            \"license_email\": \"stracke.serena@example.net\",\n            \"maintained\": false,\n            \"supplier\": {\n                \"id\": 1,\n                \"name\": \"Krajcik and Sons\"\n            },\n            \"category\": {\n                \"id\": 14,\n                \"name\": \"Graphics Software\"\n            },\n            \"created_at\": {\n                \"datetime\": \"2018-12-05 15:38:02\",\n                \"formatted\": \"2018-12-05 03:38 PM\"\n            },\n            \"updated_at\": {\n                \"datetime\": \"2018-12-05 15:38:02\",\n                \"formatted\": \"2018-12-05 03:38 PM\"\n            },\n            \"user_can_checkout\": false,\n            \"available_actions\": {\n                \"checkout\": true,\n                \"checkin\": true,\n                \"clone\": true,\n                \"update\": true,\n                \"delete\": true\n            }\n        }\n    ]\n}"
                  },
                  "Not Found": {
                    "value": "{\n  \"status\": \"error\",\n  \"messages\": \"Asset does not exist.\"\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "total": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "rows": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "integer",
                                "example": 2,
                                "default": 0
                              },
                              "name": {
                                "type": "string",
                                "example": "Acrobat"
                              },
                              "company": {},
                              "manufacturer": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "integer",
                                    "example": 9,
                                    "default": 0
                                  },
                                  "name": {
                                    "type": "string",
                                    "example": "Adobe"
                                  }
                                }
                              },
                              "product_key": {
                                "type": "string",
                                "example": "d344600b-276c-3c08-9e40-633013b6bd17"
                              },
                              "order_number": {
                                "type": "string",
                                "example": "4448995"
                              },
                              "purchase_order": {
                                "type": "string",
                                "example": ""
                              },
                              "purchase_date": {
                                "type": "object",
                                "properties": {
                                  "date": {
                                    "type": "string",
                                    "example": "2018-07-04"
                                  },
                                  "formatted": {
                                    "type": "string",
                                    "example": "2018-07-04"
                                  }
                                }
                              },
                              "purchase_cost": {
                                "type": "string",
                                "example": "29.99"
                              },
                              "notes": {
                                "type": "string",
                                "example": "Created by DB seeder"
                              },
                              "expiration_date": {
                                "type": "object",
                                "properties": {
                                  "date": {
                                    "type": "string",
                                    "example": "2021-03-23"
                                  },
                                  "formatted": {
                                    "type": "string",
                                    "example": "2021-03-23"
                                  }
                                }
                              },
                              "seats": {
                                "type": "integer",
                                "example": 10,
                                "default": 0
                              },
                              "free_seats_count": {
                                "type": "integer",
                                "example": 0,
                                "default": 0
                              },
                              "license_name": {
                                "type": "string",
                                "example": "Mr. Alvah Shanahan PhD"
                              },
                              "license_email": {
                                "type": "string",
                                "example": "stracke.serena@example.net"
                              },
                              "maintained": {
                                "type": "boolean",
                                "example": false,
                                "default": true
                              },
                              "supplier": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "integer",
                                    "example": 1,
                                    "default": 0
                                  },
                                  "name": {
                                    "type": "string",
                                    "example": "Krajcik and Sons"
                                  }
                                }
                              },
                              "category": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "integer",
                                    "example": 14,
                                    "default": 0
                                  },
                                  "name": {
                                    "type": "string",
                                    "example": "Graphics Software"
                                  }
                                }
                              },
                              "created_at": {
                                "type": "object",
                                "properties": {
                                  "datetime": {
                                    "type": "string",
                                    "example": "2018-12-05 15:38:02"
                                  },
                                  "formatted": {
                                    "type": "string",
                                    "example": "2018-12-05 03:38 PM"
                                  }
                                }
                              },
                              "updated_at": {
                                "type": "object",
                                "properties": {
                                  "datetime": {
                                    "type": "string",
                                    "example": "2018-12-05 15:38:02"
                                  },
                                  "formatted": {
                                    "type": "string",
                                    "example": "2018-12-05 03:38 PM"
                                  }
                                }
                              },
                              "user_can_checkout": {
                                "type": "boolean",
                                "example": false,
                                "default": true
                              },
                              "available_actions": {
                                "type": "object",
                                "properties": {
                                  "checkout": {
                                    "type": "boolean",
                                    "example": true,
                                    "default": true
                                  },
                                  "checkin": {
                                    "type": "boolean",
                                    "example": true,
                                    "default": true
                                  },
                                  "clone": {
                                    "type": "boolean",
                                    "example": true,
                                    "default": true
                                  },
                                  "update": {
                                    "type": "boolean",
                                    "example": true,
                                    "default": true
                                  },
                                  "delete": {
                                    "type": "boolean",
                                    "example": true,
                                    "default": true
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Not Found",
                      "type": "object",
                      "properties": {
                        "status": {
                          "type": "string",
                          "example": "error"
                        },
                        "messages": {
                          "type": "string",
                          "example": "Asset does not exist."
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"status\": \"error\",\n  \"message\": \"Unauthorized.\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "error"
                    },
                    "message": {
                      "type": "string",
                      "example": "Unauthorized."
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Authorization",
        "value": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIyIiwianRpIjoiN2I1OTg3ZGVlYzI0ZmUxNzZmM2M4Y2VmZmFkOWZhZTMwOGY5YTc5MWU5OTI1MjljMWRmMDFmMTFjYThjMWRmZWE5YTlhODdhMDcxOTA2Y2IiLCJpYXQiOjE3ODY2NjIwMzYuMzExNjY1LCJuYmYiOjE3ODY2NjIwMzYuMzExNjcsImV4cCI6MjQxNzgxNDAzNi4yOTc4MDcsInN1YiI6IjEiLCJzY29wZXMiOltdfQ.bsToXzAmDU_c0WfA36bjgIfP9reBXaDrV3vEz78fJ6mdvnGBBPfqRFD3nb2NL6Zr2X3EavWoFA2-Adn3L-0Ds7OFBfU9jdyu5vlaA-f6BHVBuJlGu2NO0SuYmlRG-2DqMQL8MHjM2NQ4k1HX5UV8ox9fzxXAe9nD7wmV0mgWtWAyq29XfiBZQcYWLKjam0LnvHbFnL29ikVazCK6_Kl9_7d0gkX32QdgbtgIFDmrngSHnAeO2wTvUvf-rz8HsV0cv_9SALuLPNSUXiKjC2amSsgzU05a0xFmMYu3mSmfgH2PDC2qAsByjOlU5yQDv2hTEBEle0c2N2-z1mL-udi49a1FreedSX0Vxm04RTFTO4UwZUO4TGsLu47JheVPuMUN5V4FUCpXPX6qoyiBrGHPWx6cfjYzEK0joJeNi9Q5LwMjZxmJ_1K2P13lTcw67fJEHQeBoiYles4TJXzgmKpYJtGRMdcdiLj8zFiDZYnq31imndZTjfIT5oTY5owEfKRCcfxoDjFMi7mrr0zpi1Tx9bGDUQLD50aoa3M1zqSQvOqi6StvWE-vDGYbRE3oNRIOtL5xQslLMLsvEK4etz_CsYW0WJ-tu_rKs7muU5yM0gIW2pCFiMbNGzJp37uFrxTD5LGn3b-r0gNhMWLYKGzYRIeyRWir2vymf2I0RX5wL5s"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```