Create package
POST /v1/package/create
Create a new custom package. Returns object representing the new package. After sending this request the content for the package must be uploaded separately using the /v1/package/content/{id} endpoint.
Source: Robopack public API v1 OpenAPI definition · OpenAPI 3.0.1 · Snapshot: 2026-10-01. Download this snapshot.
Servers
https://api.robopack.com/
Authentication
| Scheme | Type | Location | Name | Description |
|---|---|---|---|---|
| API key | apiKey | header | X-API-Key | Robopack API key generated for account |
Send your API key in the X-API-Key header. Examples read it from ROBOPACK_API_KEY.
Parameters
No path, query, header, or cookie parameters are declared.
Request body
Required: Yes.
Request media type: application/*+json
Type: V1PackageCreateViewModel
Follow the model link for its complete properties, enum values, and schema definition.
Request media type: application/json
Type: V1PackageCreateViewModel
Follow the model link for its complete properties, enum values, and schema definition.
Request media type: application/json-patch+json
Type: V1PackageCreateViewModel
Follow the model link for its complete properties, enum values, and schema definition.
Request media type: text/json
Type: V1PackageCreateViewModel
Follow the model link for its complete properties, enum values, and schema definition.
Responses
200 response
OK
Response media type: application/json
Type: V1PackageViewModel
Follow the model link for its complete properties, enum values, and schema definition.
Only response statuses declared in the snapshot are listed. The source does not define a complete error contract.
curl example
Mutation example: this POST request can change Robopack or Intune state. Review the operation and target identifiers before running it. Set ROBOPACK_API_KEY in your shell. Query values must be URL encoded. Optional query parameters are omitted.
Prepare request.json using the request schema above. The example does not supply or infer property defaults.
curl --request POST \
--url "https://api.robopack.com/v1/package/create" \
--header "X-API-Key: ${ROBOPACK_API_KEY}" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--data-binary '@request.json'
Related models
Complete operation definition
{
"description": "Create a new custom package. Returns object representing the new package. After sending this request the content for the package must be uploaded separately using the /v1/package/content/{id} endpoint.",
"requestBody": {
"content": {
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/V1PackageCreateViewModel"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/V1PackageCreateViewModel"
}
},
"application/json-patch+json": {
"schema": {
"$ref": "#/components/schemas/V1PackageCreateViewModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/V1PackageCreateViewModel"
}
}
},
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/V1PackageViewModel"
}
}
},
"description": "OK"
}
},
"summary": "Create package.",
"tags": [
"Package"
]
}