---
title: "GET /transactions/{transactionId}/fragments/{fragmentIndex}/output-url"
method: GET
path: "/transactions/{transactionId}/fragments/{fragmentIndex}/output-url"
---

# GET /transactions/{transactionId}/fragments/{fragmentIndex}/output-url

`GET /transactions/{transactionId}/fragments/{fragmentIndex}/output-url`

This endpoint is used to retrieve a transaction fragment's output document URL after it has been translated via Core.

This endpoint returns the document download URL, it must be then fetched for the actual document content.
There are no size restrictions on documents when fetching from this endpoint, however they are generally smaller and consumable by nature of being a fragment.

## Path parameters

- `transactionId` string, required — A unique identifier for the processed transaction within Stedi. This ID is included in the transaction processed event. You can also retrieve it manually from the transaction's details page within the Stedi portal.
- `fragmentIndex` number, required

## Response `200`

GetTransactionFragmentOutputDocumentUrl 200 response

- GetTransactionFragmentOutputDocumentUrlResponseContent
  - `documentDownloadUrl` string — A URL to download the document. This URL is available for 60 minutes.

## Other responses

- `400` — BadRequestException 400 response
- `401` — UnauthorizedException 401 response
- `403` — AccessDeniedException 403 response
- `404` — ResourceNotFoundException 404 response
- `409` — ResourceUnderChangeException 409 response
- `422` — UnprocessableEntityException 422 response
- `429` — ThrottlingException 429 response
- `500` — ServiceException 500 response
- `503` — ServiceUnavailableException 503 response
- `504` — GatewayTimeoutException 504 response

---

[API](https://skmtc.net/stedi/apis/core.md) · [All operations](https://skmtc.net/stedi/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stedi/core/revisions/172bd33e0d66/schema)
