---
title: "Create a new blob subelement from an uploaded file."
method: POST
path: "/appelements/d/{did}/w/{wid}/e/{eid}/blob/{bid}"
tags: ["AppElement"]
---

# Create a new blob subelement from an uploaded file.

`POST /appelements/d/{did}/w/{wid}/e/{eid}/blob/{bid}`

## Request

- Base URL: `https://api.onshape.com/api/v17`
- URL: `https://api.onshape.com/api/v17/appelements/d/{did}/w/{wid}/e/{eid}/blob/{bid}`
- Auth: OAuth 2 and HTTP basic
  - Authorization code: `/oauth/authorize`
  - Token URL: `/oauth/token` scopes: `OAuth2Write`

Request body parameters are multipart fields, so you must use `"Content-Type":"multipart/form-data"` in the request header.

## Path parameters

- `did` string, required
- `wid` string, required
- `eid` string, required
- `bid` string, required

## Request body `multipart/form-data`

- BTBAppElementBlobUploadParams
  - `description` string
  - `file` string, binary: File to upload.
  - `fileContentLength` integer
  - `parentChangeId` string
  - `transactionId` string

## Response `default`

default response

---

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