---
title: "Creates a new bucket associated to an account."
method: POST
path: "/v1/accounts/{accountSid}/buckets"
tags: ["Buckets"]
---

# Creates a new bucket associated to an account.

`POST /v1/accounts/{accountSid}/buckets`

## Request

- Base URL: `https://api.apitraffic.io`
- URL: `https://api.apitraffic.io/v1/accounts/{accountSid}/buckets`
- Auth: none declared
- TypeScript: <https://skmtc.dev/apitraffic/apis/apitraffic-api-documentation/docs/v1/accounts/:accountSid/buckets/post.ts> (a function with typed inputs; its response is checked against the schema)

Returns the bucket information.

## Path parameters

- `accountSid` string, required: accountSid

## Request body

- Model16
  - `name` string, required: The name of the bucket

## Response `200`

Successful

- Bucket
  - `sid` string, required: Sid of the bucket
  - `accountSid` string, required: accountSid
  - `name` string, required: Name of the bucket
  - `verifySslCerts` boolean, required: If SSL Certificates should be verified as valid and trusted.
  - `appIsConnected` boolean, required: If the bucket is connected to an application via the SDK.
  - `createdAt` string, required

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/apitraffic/apis/apitraffic-api-documentation.md) - [All operations](https://skmtc.dev/apitraffic/apis/apitraffic-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/apitraffic/apis/apitraffic-api-documentation/revisions/b2a22a9b5c98?raw)
