---
title: "Imports the posted json file into the service"
method: POST
path: "/import/form"
tags: ["import"]
---

# Imports the posted json file into the service

`POST /import/form`

## Request

- Base URL: `https://release.reactome.org/AnalysisService`
- URL: `https://release.reactome.org/AnalysisService/import/form`
- Auth: none declared
- TypeScript: <https://skmtc.dev/reactome/apis/pathway-analysis-service/docs/import/form/post.ts> (a function with typed inputs; its response is checked against the schema)

The accepted format is the same as provided by the method <a href='#/download/downloadResultJSONUsingGET'>/#/download/{token}/result.json</a>. Note: The submitted file can be gzipped.

## Request body `multipart/form-data`

- object
  - `file` string, binary, required: A file with the data to be analysed

## Other responses

- `400`: Bad request. See more details in the response body
- `413`: The file size is larger than the maximum configured size (50MB)
- `415`: Unsupported Media Type (only 'text/plain' or 'application/json')

---

[API](https://skmtc.dev/reactome/apis/pathway-analysis-service.md) - [All operations](https://skmtc.dev/reactome/apis/pathway-analysis-service/llms.txt) - [OpenAPI document](https://skmtc.dev/reactome/apis/pathway-analysis-service/revisions/935cc02cac0f?raw)
