> ## Documentation Index
> Fetch the complete documentation index at: https://docs.strangelooplabs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Upload Automation File

> Uploading a file to Strange Loop that can be used as input to an Automation

This endpoint uploads a file to Strange Loop. It uses the response from a
[Create Automation File](/automations/create-automation-file)
call to know where to upload the file to. All references to `response.` below
refer to values from that response.

```
POST <response.url>
```

### Request

<ParamField body="file" type="bytes">
  The bytes of the file
</ParamField>

<Warning>
  Each key-value pair from `response.fields` must also be passed in the request.
</Warning>

### Response

None. Once the upload has completed then a status code of `204` will be returned.

<RequestExample>
  ```bash Example Request theme={null}
  curl -X POST  -H "Content-Type: multipart/form-data" -F "AWSAccessKeyId=value" -F "key=value" -F "policy=value" -F "signature=value"  -F "x-amz-security-token=value" -F "file=@/path/to/test.pdf" https://strangeloop-automations-documents.s3.amazonaws.com/
  ```
</RequestExample>

<ResponseExample>
  ```
  204 No Content
  ```
</ResponseExample>
