---
title: "Retrieve a FEC export"
method: GET
path: "/api/external/v2/exports/fecs/{id}"
tags: ["Exports"]
---

# Retrieve a FEC export

`GET /api/external/v2/exports/fecs/{id}`

## Request

- Base URL: `https://app.pennylane.com`
- URL: `https://app.pennylane.com/api/external/v2/exports/fecs/{id}`
- Auth: OAuth 2
  - Authorization code: `https://app.pennylane.com/oauth/authorize`
  - Token URL: `https://app.pennylane.com/oauth/oauth/token` scopes: `exports:fec`

The endpoint returns a specific FEC export

> ℹ️
> This endpoint requires the following scope: `exports:fec`

## Path parameters

- `id` integer, required

## Headers

- `X-Company-Id` string

## Response `200`

Returns the export

- object
  - `id` integer, required: ID of the export
  - `file_url` string, nullable, required: URL to download the export file. The URL will expire after 30 minutes.
  - `status` 'pending' | 'ready' | 'error', required: The state of the export
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `400`: Bad request
- `401`: Access token is missing or invalid
- `403`: Access to this resource forbidden
- `404`: The resource was not found

## Changes

- **2026-11-03** `871f863307e5`: 1 info
  - added the new optional `header` request parameter `X-Company-Id`

[Operation history](https://skmtc.dev/pennylane/apis/company-v2/changes/api/external/v2/exports/fecs/:id/get.md)

---

[API](https://skmtc.dev/pennylane/apis/company-v2.md) - [All operations](https://skmtc.dev/pennylane/apis/company-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/pennylane/apis/company-v2/revisions/871f863307e5?raw)
