---
title: "Create a new drone"
method: POST
path: "/orgmng/drones"
tags: ["Drones"]
---

# Create a new drone

`POST /orgmng/drones`

## Request

- Base URL: `http://localhost:8486`
- URL: `http://localhost:8486/orgmng/drones`
- Auth: API key in header `x-auth-token`

Creates and registers a new drone in the system

## Request body

- CreateDroneDTO: Drone create payload
  - `organizationId` integer
  - `name` string, required
  - `manufacturer` 'DJI' | 'CUSTOM', required
  - `aircraftSerialNumber` string
  - `remoteControllerSerialNumber` string
  - `dockSerialNumber` string
  - `type` 'NotDeclared' | 'Aeroplane' | 'Helicopter' | 'Gyroplane' | 'HybridLift' | 'Ornithopter' | 'Glider' | 'Kite' | 'FreeBalloon' | 'CaptiveBalloon' | 'Airship' | 'FreeFallOrParachute' | 'Rocket' | 'TetheredPoweredAircraft' | 'GroundObstacle' | 'Other', required
  - `model` string, required
  - `weight` integer, required
  - `height` integer, required
  - `length` integer, required
  - `width` integer, required
  - `description` string
  - `dockModelId` integer
  - `cClassMarking` 'C0' | 'C1' | 'C2' | 'C3' | 'C4' | 'C5' | 'C6', required

## Response `201`

Drone created successfully

- DroneDTO
  - `id` integer
  - `organization` OrganizationDTO
    - `id` integer
    - `workspaceId` string, uuid
    - `name` string
    - `operatorRegistrationNumber` string
    - `description` string
    - `blockSms` boolean
    - `blockEmail` boolean
    - `active` boolean
  - `dronePilotDetails` IdNameTupleDTO
    - `id` integer
    - `name` string
  - `gcsPilotDetails` IdNameTupleDTO
    - `id` integer
    - `name` string
  - `name` string
  - `manufacturer` 'DJI' | 'CUSTOM'
  - `aircraftSerialNumber` string
  - `remoteControllerSerialNumber` string
  - `dockSerialNumber` string
  - `type` string
  - `model` string
  - `modelCode` string
  - `supportDjiCloudApi` boolean
  - `status` 'ONLINE' | 'OFFLINE'
  - `weight` integer
  - `height` integer
  - `length` integer
  - `width` integer
  - `description` string
  - `contingent` boolean
  - `dockModelId` integer
  - `dockModel` DroneDockModelDTO
    - `id` integer
    - `name` string
    - `code` string
    - `manufacturer` string
    - `description` string
  - `cClassMarking` 'C0' | 'C1' | 'C2' | 'C3' | 'C4' | 'C5' | 'C6'

## Other responses

- `404`: Organization or model not found
- `422`: Validation failed
- `500`: Internal server error

---

[API](https://skmtc.dev/airdodge/apis/api-core.md) - [All operations](https://skmtc.dev/airdodge/apis/api-core/llms.txt) - [OpenAPI document](https://skmtc.dev/airdodge/apis/api-core/revisions/fb3c5a1055cc?raw)
