---
title: "Submit file for the current step of a flow"
method: POST
path: "/file/{flowId}"
tags: ["Using the API"]
---

# Submit file for the current step of a flow

`POST /file/{flowId}`

## Path parameters

- `flowId` string, required

## Headers

- `x-hf-session` string, required

## Response `201`

File successfully uploaded

- FileUploadResponse
  - `key` string — Name of the uploaded file

## Other responses

- `400` — Client provided invalid data or invalid filetype
- `413` — File size too large
- `500` — Internal server error (which might be caused by a temporary issue)

---

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