---
title: "Adds a package, with links to desired destination."
method: POST
path: "/api/add_package"
tags: ["pyLoad REST"]
---

# Adds a package, with links to desired destination.

`POST /api/add_package`

Adds a package, with links to desired destination.

## Request body

- object
  - `name` string, required — name of the new package
  - `links` string[], required — list of urls
  - `dest` 0 | 1

## Response `200`

package id of the new package

- integer

---

[API](https://skmtc.net/pyload/apis/pyload-api-documentation-openapi.md) · [All operations](https://skmtc.net/pyload/apis/pyload-api-documentation-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pyload/pyload-api-documentation-openapi/versions/00b0770e3fa6/schema)
