---
title: "POST /volumes"
method: POST
path: "/volumes"
tags: ["volumes"]
---

# POST /volumes

`POST /volumes`

Create a new team volume

## Request body

- NewVolume
  - `name` string, required — Name of the volume

## Response `201`

Successfully created a new team volume

- VolumeAndToken
  - `volumeID` string, required — ID of the volume
  - `name` string, required — Name of the volume
  - `token` string, required — Auth token to use for interacting with volume content

## Other responses

- `400` — Bad request
- `401` — Authentication error
- `500` — Server error

## Changes

- **2026-05-27** `e13ef89d456c` — 1 info
  - the endpoint scheme security `AuthProviderBearerAuth AND AuthProviderTeamAuth` was added to the API
- **2026-03-26** `324629e18dc8` — 2 info
  - the endpoint scheme security `AccessTokenAuth` was removed from the API
  - added the required property `token` to the response with the `201` status
- **2026-02-24** `0bcb69c4169b` — 1 info
  - endpoint added
- **2023-11-15** `897ba2f1c7b6` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/e2b-dev/apis/e2b-api/changes/volumes/post.md)

---

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