---
title: "Request source upload URL"
method: POST
path: "/api/v1/apps/services/{service_id}/source-upload"
tags: ["Raff Apps"]
---

# Request source upload URL

`POST /api/v1/apps/services/{service_id}/source-upload`

Get a presigned URL to upload a source tarball (gzipped). After the
upload completes, create a deployment with the returned `blob_key`.

## Path parameters

- `service_id` string, required

## Response `200`

Presigned upload slot

- object
  - `success` boolean
  - `upload_url` string
  - `blob_key` string
  - `expires_in_seconds` integer

## Other responses

- `401` — Authentication required
- `404` — Resource not found

## Changes

- **2026-08-20** `efd3c11c5c92` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/rafftechnologies/apis/raff-api/changes/api/v1/apps/services/:service_id/source-upload/post.md)

---

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