---
title: "Initialize a new package/app"
method: POST
path: "/credentials/packages"
tags: ["Credentials"]
---

# Initialize a new package/app

`POST /credentials/packages`

Creates a new package (identified by `packageName`) under which credentials can be grouped. Returns a conflict if a package with the same name already exists for the user.

## Request body

- PackageSchema
  - `packageName` string, required

## Response `200`

Package initialized

- object
  - `success` true, required
  - `message` string, required
  - `data` PackageSchema, required
    - `packageName` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `409` — Conflict
- `500` — Internal Server Error

## Changes

- **2026-06-19** `ec76cd771e68` — 1 breaking, 1 warning
  - the `packageName` request property's minLength was increased from `0` to `1`
  - the `packageName` request property's maxLength was set to `200`
- **2026-05-30** `51d2493ba0f4` — 1 info
  - endpoint added
- **2026-05-30** `d06ce0f3c00d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/droidrun/apis/droidrun-cloud/changes/credentials/packages/post.md)

---

[API](https://skmtc.dev/droidrun/apis/droidrun-cloud.md) · [All operations](https://skmtc.dev/droidrun/apis/droidrun-cloud/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/droidrun/droidrun-cloud/revisions/cd80ab1b29b0/schema)
