---
title: "FileById2 (HubSpot)"
description: "Fil efter ID"
language: da
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/da/datamodels/hubspot/Files.Files.FileById2
original: https://documentation.invantive.eu/en/datamodels/hubspot/Files.Files.FileById2
updated: 2026-12-04T11:26:59Z
license: https://documentation.invantive.eu/da/
---

# FileById2: HubSpot File by ID

`read only` `REST`

- Katalog: `Files`
- Skema: `Files`
- Label: File by ID

Get file. Get file by ID.

Kan kun hente data.

## API-kilde

- Endepunkt: `/files/v3/files/{fileId}`
- Operation: `get /files/v3/files/{fileId}`

## Parametre

| Navn | Datatype | Krævet | Standard | Dokumentation |
|---|---|:---:|---|---|
| `fileId` | `` | [x] |  | ID of the desired file. |

## Tabelkolonner

Tabellens kolonner `FileById2` er vist nedenfor. Hver kolonne har en SQL-datatype. Der skal til enhver tid angives en ny ikke-null-værdi for hver krævet kolonne under indsætning og opdatering.

| Navn | Datatype | Etiket | Krævet | Mærker | Dokumentation |
|---|---|---|:---:|---|---|
| `access` | `varchar2` | Adgang | [ ] |  | File access.Can be PUBLIC_INDEXABLE, PUBLIC_NOT_INDEXABLE, PRIVATE. |
| `archived` | `char` | Arkiveret | [ ] |  | If the file is deleted. |
| `archivedAt` | `datetime` | Arkiveret på | [ ] |  | Deletion time of the file object. |
| `createdAt` | `datetime` | Oprettet den | [ ] |  | Creation time of the file object. |
| `defaultHostingUrl` | `varchar2` | Standard-hosting-URL | [ ] |  | Default hosting URL of the file.This will use one of HubSpot's provided URLs to serve the file. |
| `encoding` | `varchar2` | Kodning | [ ] |  | Encoding of the file. |
| `expiresAt` | `int64` | Udløber den | [ ] |  |  |
| `extension` | `varchar2` | Udvidelse | [ ] |  | Extension of the file. ex: .jpg, .png, .gif, .pdf, etc. |
| `height` | `int32` | Højde | [ ] |  | For image and video files, the height of the content. |
| `id` | `varchar2` | ID | [ ] |  | Fil-ID. |
| `isUsableInContent` | `char` | Kan bruges i indholdet | [ ] |  | Previously "archied".Indicates if the file should be used when creating new content like web pages. |
| `name` | `varchar2` | Navn | [ ] |  | Navn på filen. |
| `parentFolderId` | `varchar2` | Overordnet mappe-ID | [ ] |  | ID of the folder the file is in. |
| `path` | `varchar2` | Sti | [ ] |  | Path of the file in the file manager. |
| `size` | `int64` | Størrelse | [ ] |  | Size of the file in bytes. |
| `type` | `varchar2` | Type | [ ] |  | Type of the file.Can be IMG, DOCUMENT, AUDIO, MOVIE, or OTHER. |
| `updatedAt` | `datetime` | Opdateret kl. | [ ] |  | Timestamp of the latest update to the file. |
| `url` | `varchar2` | URL | [ ] |  | URL of the given file.This URL can change depending on the domain settings of the account.Will use the select file hosting domain. |
| `width` | `int32` | Bredde | [ ] |  | For image and video files, the width of the content. |


## Udgivelsesnoter

Hvilke ændringer der er sket i hver udgivelse med hensyn til driverens tabeller, kolonner, attributter og funktioner:

- [HubSpot](/da/release-notes/drivers/hubspot)
