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

# Upload File

> Documentation for the Upload File action for Intakeq

![images/intakeq.svg](https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/intakeq.svg?fit=max\&auto=format\&n=EU2WCxuXGIUQcziR\&q=85\&s=191a6c088f13edff5cd7f23a84babb49)

# Parameters

**Action** `Parameters`

**parameters**

**Client ID** `int64`

`ID`
This field maps to the destination API `ClientId` field.

**File Name** `string`

This field maps to the destination API `filename` field.

**File URL** `URL` *required*

`HI` `PII`
This field maps to the destination API `file` field.

```json Result Object Example theme={null}
{
  "$result_object_key": {
    "content_type": "application/pdf",
    "created_at": "2024-01-23T10:00:00Z",
    "file_name": "medical_report.pdf",
    "folder_id": "folder_xyz789",
    "id": "68b72563002d161fa04ced4a",
    "size_bytes": 17432
  }
}
```

```json Result Object Description theme={null}
{
  "$result_object_key": {
    "content_type": "MIME type of the file",
    "created_at": "When the file was uploaded",
    "file_name": "Name of the uploaded file",
    "folder_id": "(Optional) ID of the folder containing the file",
    "id": "Unique identifier for the uploaded file",
    "size_bytes": "Size of the file in bytes"
  }
}
```

### Result Object Field Details

You can use the result of the action's data as inputs to downstream workflow actions.

Each fetch action requires an object name, which nests the action's result data inside the downstream data context in the workflow. See [Passing Data Between Actions](https://docs.morf.health/docs/knowledge_base/passing_data_between_actions.md) for how to set it and reference the result from downstream nodes.

Here we demonstrate how to refer to this data using the prefix `$result_object_key`.

**UploadedFile** `Fetch Action Response Object`

**fields**

**id** `string` *required*

Unique identifier for the uploaded file

```json CEL theme={null}
$result_object_key.id
```

```json Example theme={null}
"68b72563002d161fa04ced4a"
```

**created\_at** `timing.v1.Timestamp` *required*

When the file was uploaded

```json CEL theme={null}
$result_object_key.created_at
```

```json Example theme={null}
"2024-01-23T10:00:00Z"
```

**size\_bytes** `int64` *required*

Size of the file in bytes

```json CEL theme={null}
$result_object_key.size_bytes
```

```json Example theme={null}
17432
```

**file\_name** `string` *required*

Name of the uploaded file

```json CEL theme={null}
$result_object_key.file_name
```

```json Example theme={null}
"medical_report.pdf"
```

**content\_type** `string` *required*

MIME type of the file

```json CEL theme={null}
$result_object_key.content_type
```

```json Example theme={null}
"application/pdf"
```

**folder\_id** `string`

(Optional) ID of the folder containing the file

```json CEL theme={null}
$result_object_key.folder_id
```

```json Example theme={null}
"folder_xyz789"
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.