---
title: "Add Logicode File"
method: POST
path: "/v1/accounts/{account_id}/environments/{environment_id}/logicode_file"
tags: ["Logicode"]
---

# Add Logicode File

`POST /v1/accounts/{account_id}/environments/{environment_id}/logicode_file`

**Authorization scope:** `data flow:write` 
 
 **Add a logicode file to the account id and environment id.**

## Path parameters

- `account_id` string, required
- `environment_id` string, required

## Request body

- CreateLogicodeFileInput — The input for the logicode file
  - `file_name` string, required — The logicode file name

## Response `201`

Successful Response

- CreateFileResponse — The response for the create file
  - `file_id` string, required — The file id
  - `url` string, required — The presigned url for the file. With this URL you can update the file content.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/rivery/apis/boomi-data-integration-api.md) · [All operations](https://skmtc.net/rivery/apis/boomi-data-integration-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rivery/boomi-data-integration-api/revisions/cd4c91e0e6c2/schema)
