---
title: "Create a snapshot of all dependencies from manifest information"
method: POST
path: "/dependencies/upload"
tags: ["deprecated"]
deprecated: true
---

# Create a snapshot of all dependencies from manifest information

`POST /dependencies/upload`

> **Deprecated.**

**This endpoint is deprecated.**

Upload a set of manifest or lockfiles to get your dependency tree analyzed by Socket.
You can upload multiple lockfiles in the same request, but each filename must be unique.

The name of the file must be in the supported list.

For example, these are valid filenames: "requirements.txt", "package.json", "folder/package.json", and "deep/nested/folder/package.json".

This endpoint consumes 100 units of your quota.

This endpoint requires the following org token scopes:
- report:write

## Query parameters

- `repository` string
- `branch` string

## Response `200`

ID of the dependencies snapshot

- object

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Insufficient max_quota for API method
- `404` — Resource not found
- `429` — Insufficient quota for API route
- `500` — Internal server error

---

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