---
title: "getFileFromS3"
method: POST
path: "/entity-information/v1/download-entities"
tags: ["entity-management-extract-controller"]
---

# getFileFromS3

`POST /entity-information/v1/download-entities`

## Request

- Base URL: `https://api-alpha.sam.gov`
- URL: `https://api-alpha.sam.gov/entity-information/v1/download-entities`
- Auth: none declared
- TypeScript: <https://skmtc.dev/gsa/apis/entity-management-rest-api/docs/entity-information/v1/download-entities/post.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `token` string, required
- `api_key` string

## Response `201`

Created

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

## Changes

- **2022-05-05** (v1) `e80b30cd84ab`: 1 breaking
  - removed the media type `application/zip` for the response with the status `200`
- **2022-02-03** (v1) `522d076f7dc0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gsa/apis/entity-management-rest-api/changes/entity-information/v1/download-entities/post.md)

---

[API](https://skmtc.dev/gsa/apis/entity-management-rest-api.md) - [All operations](https://skmtc.dev/gsa/apis/entity-management-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gsa/apis/entity-management-rest-api/revisions/a9a5378adac4?raw)
