---
title: "Request upload token for new version of file"
method: GET
path: "/api/1/files/{userFile}/upload/token"
tags: ["Files"]
deprecated: true
---

# Request upload token for new version of file

`GET /api/1/files/{userFile}/upload/token`

> **Deprecated.**

Returns S3 credentials for upload. All three keys in the response needs to be provided
in the S3 constructor of the AWS SDK. These keys are valid only for 60 minutes. A good idea is to
regenerate keys for every upload session (the same key can be used for multiple file uploads made
in less than 60 minutes). Keep in mind when developing.

## Other responses

- `401`

---

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