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

# Imports the json file provided by the posted url into the service

`POST /import/url`

## Request

- Base URL: `https://release.reactome.org/AnalysisService`
- URL: `https://release.reactome.org/AnalysisService/import/url`
- Auth: none declared
- TypeScript: <https://skmtc.dev/reactome/apis/pathway-analysis-service/docs/import/url/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 provided file can be gzipped.

## Request body `text/plain`

- string

## 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')
- `422`: The provided URL is not processable

---

[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)
