---
title: "createBundleUploadUrl"
method: POST
path: "/v1/app-configurations/{appId}/bundle"
tags: ["App Configuration"]
---

# createBundleUploadUrl

`POST /v1/app-configurations/{appId}/bundle`

Generate a presigned URL for uploading app bundle to /<app-id>/bundle.js path

## Path parameters

- `appId` string, required

## Request body

- object
  - `version` string, required — Version of the app
  - `component_id` string — ID of the journey block component

## Response `200`

Upload URL generated successfully

- object
  - `component_id` string — ID of the journye block component
  - `component_url` string — URL of the web component object
  - `upload_url` string, required — Presigned S3 URL for uploading the bundle
  - `s3ref` S3Reference
    - `bucket` string, required — The name of the S3 bucket where the JSON file for import is stored.
    - `key` string, required — The key or path to the JSON file within the S3 bucket.
  - `expires_at` string, date-time — Timestamp when the upload URL expires

## Other responses

- `404` — App configuration not found

---

[API](https://skmtc.net/epilot/apis/app-api.md) · [All operations](https://skmtc.net/epilot/apis/app-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/epilot/app-api/versions/03b93188c6d4/schema)
