Skip to main content
POST
/
api
/
kits
/
{kit_id}
/
assets
Create Asset
curl --request POST \
  --url https://argus.hoplynk.com/api/kits/{kit_id}/assets \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "type": "<string>",
  "vendor": "<string>",
  "model": "<string>",
  "metadata": {},
  "parent_id": "<string>"
}
'
import requests

url = "https://argus.hoplynk.com/api/kits/{kit_id}/assets"

payload = {
"name": "<string>",
"type": "<string>",
"vendor": "<string>",
"model": "<string>",
"metadata": {},
"parent_id": "<string>"
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
type: '<string>',
vendor: '<string>',
model: '<string>',
metadata: {},
parent_id: '<string>'
})
};

fetch('https://argus.hoplynk.com/api/kits/{kit_id}/assets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://argus.hoplynk.com/api/kits/{kit_id}/assets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'type' => '<string>',
'vendor' => '<string>',
'model' => '<string>',
'metadata' => [

],
'parent_id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://argus.hoplynk.com/api/kits/{kit_id}/assets"

payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"type\": \"<string>\",\n \"vendor\": \"<string>\",\n \"model\": \"<string>\",\n \"metadata\": {},\n \"parent_id\": \"<string>\"\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://argus.hoplynk.com/api/kits/{kit_id}/assets")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"type\": \"<string>\",\n \"vendor\": \"<string>\",\n \"model\": \"<string>\",\n \"metadata\": {},\n \"parent_id\": \"<string>\"\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://argus.hoplynk.com/api/kits/{kit_id}/assets")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"type\": \"<string>\",\n \"vendor\": \"<string>\",\n \"model\": \"<string>\",\n \"metadata\": {},\n \"parent_id\": \"<string>\"\n}"

response = http.request(request)
puts response.read_body
kit_id
string
required
UUID of the kit the asset belongs to.

Body

name
string
required
Human-readable display name (e.g. Skydio X10, Scout Vehicle 3).
type
string
required
Asset class: drone · camera · sensor · vehicle — or any custom string.
vendor
string
Manufacturer name (e.g. Skydio, Ghost Robotics).
model
string
Hardware model identifier.
metadata
object
Free-form metadata stored with the asset — serial number, tail number, callsign, etc.
parent_id
string
UUID of a parent asset. Use this to model payloads or sub-systems (e.g. a camera mounted on a drone). The child asset appears nested under the parent in the Argus asset tree.

Response

Returns the created asset object. Save the id — you’ll pass it to Push Location and Send Command calls.
A gps feed is automatically registered on the new asset. You can start calling Push Location immediately after creation without any additional setup.

Example

# Create the asset
asset = client.create_asset(
    kit_id,
    name="Skydio X10",
    type="drone",
    vendor="Skydio",
    model="X10",
    metadata={"serial": "SKY-12345"},
)
asset_id = asset["id"]

# Optionally attach a payload camera as a child
camera = client.create_asset(
    kit_id,
    name="X10 Payload Camera",
    type="camera",
    parent_id=asset_id,
)

# Push location immediately — GPS feed is auto-registered
client.push_location(kit_id, asset_id, lat=31.1234, lon=-93.4567, alt_m=120.0)
const asset = await client.createAsset(kitId, {
  name: 'Skydio X10',
  type: 'drone',
  vendor: 'Skydio',
  model: 'X10',
})
console.log(asset.id)

await client.pushLocation(kitId, asset.id, { lat: 31.1234, lon: -93.4567 })
curl -X POST https://argus.hoplynk.com/api/kits/$KIT_ID/assets \
  -H "X-API-Key: hlk_..." \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Skydio X10",
    "type": "drone",
    "vendor": "Skydio",
    "model": "X10",
    "metadata": {"serial": "SKY-12345"}
  }'
Response
{
  "id": "cf210dda-fad8-4e69-ac9c-fe88f42f06a7",
  "asset_key": "53396241-e774-43c6-91c5-cd106dd13cfd:partner:7f3a2b1c-...",
  "kit_id": "53396241-e774-43c6-91c5-cd106dd13cfd",
  "name": "Skydio X10",
  "type": "drone",
  "vendor": "Skydio",
  "model": "X10",
  "protocol": "partner",
  "metadata": { "serial": "SKY-12345" },
  "status": "online",
  "last_seen_at": "2026-05-18T14:30:00Z",
  "parent_id": null
}