---
title: "Get an asset"
method: GET
path: "/assets/{id}"
tags: ["Assets"]
---

# Get an asset

`GET /assets/{id}`

## Request

- Base URL: `https://sandbox.sequencehq.com/api`
- URL: `https://sandbox.sequencehq.com/api/assets/{id}`
- Auth: none declared. Required headers: `Authorization`

Retrieves an asset by ID, including a signed URL for downloading the file.

Use this endpoint when you have an asset ID and need the asset's current metadata
or a new download URL. For example, invoice responses include attached assets in
`attachmentAssets`; pass an attachment's `id` to this endpoint to retrieve its
metadata and a new download URL.

## Path parameters

- `id` string, required

## Headers

- `Authorization` string, required
- `Sequence-Version` '2024-07-30'

## Response `200`

OK

- AssetResponse2
  - `id` string, required: Unique ID for this asset.
  - `createdBy` string, required: The ID of the asset creator. A Sequence user id or API key id, as identified by `createdByType`.
  - `createdByType` 'SEQUENCE_USER' | 'API_CLIENT', required
  - `type` 'IMAGE' | 'DOCUMENT' | 'BINARY', required
  - `format` 'JPEG' | 'JPG' | 'PNG' | 'PDF' | 'CSV' | 'TXT' | 'RTF' | 'MD' | 'XLS' | 'XLSX' | 'XLSM' | 'DOC' | 'DOCX' | 'ZIP' | 'ODT' | 'ODS', required
  - `fileName` string, required: Original filename provided when the asset was uploaded.
  - `fileSizeBytes` integer, required: Size of the stored file, in bytes. This may differ from the size of the uploaded file.
  - `url` string, required: Signed URL for downloading the file. The URL expires one week after it is generated. Call **Get an asset** when you need a new URL.
  - `createdAt` string, required: The time at which this asset was created. Formatted as an ISO 8601 timestamp.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2026-09-15** `30baaff22f35`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sequencehq/apis/sequence/changes/assets/:id/get.md)

---

[API](https://skmtc.dev/sequencehq/apis/sequence.md) - [All operations](https://skmtc.dev/sequencehq/apis/sequence/llms.txt) - [OpenAPI document](https://skmtc.dev/sequencehq/apis/sequence/revisions/b9b29c6a7118?raw)
