---
title: "Get a file upload url"
method: POST
path: "/v4/entries/{entryId}/fields/{fieldId}"
tags: ["Forms"]
---

# Get a file upload url

`POST /v4/entries/{entryId}/fields/{fieldId}`

## Path parameters

- `entryId` string, required
- `fieldId` string, required

## Request body

- CreateResponseFileRequest
  - `fileName` string, required
  - `fileSizeBytes` integer, required

## Response `201`

File upload url created

- CreateFileResult
  - `file` File
    - `id` string, nullable
    - `fileName` string, nullable
    - `fileSizeBytes` integer
    - `bucketName` string, nullable
    - `storageKey` string, nullable
    - `createdBy` string, uuid, nullable
    - `createdAt` string, date-time, nullable
    - `duration` integer, nullable
    - `thumbnailInterval` integer, nullable
    - `convertedBucketName` string, nullable
    - `convertedStorageKey` string, nullable
  - `postData` object, nullable
  - `putHeaders` object, nullable
  - `uploadUrl` string, nullable

## Other responses

- `400` — Invalid request
- `403` — Insufficient permissions

---

[API](https://skmtc.net/submittable/apis/submittable-api-documentation.md) · [All operations](https://skmtc.net/submittable/apis/submittable-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/submittable/submittable-api-documentation/versions/254ce50c8212/schema)
