---
title: "Create Assignment"
method: POST
path: "/equipment/{id}/assignments"
tags: ["Equipment Assignments"]
---

# Create Assignment

`POST /equipment/{id}/assignments`

## Request

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

Create an Equipment Assignment

## Path parameters

- `id` string, required

## Request body

- EquipmentAssignmentParameters: Parameters used to create a new Equipment Assignment
  - `assignee_id` integer, required

## Response `201`

OK

## Other responses

- `401`: Request could not be authenticated
- `403`: Insufficient permission to perform this operation
- `404`: The requested resource could not be located
- `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)
