---
title: "FileById (HubSpot)"
description: "Fil etter ID"
language: nb
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/nb/datamodels/hubspot/Files.Files.FileById
original: https://documentation.invantive.eu/en/datamodels/hubspot/Files.Files.FileById
updated: 2026-12-04T16:17:31Z
license: https://documentation.invantive.eu/nb/
---

# FileById: HubSpot File by ID

`read only` `REST`

- Katalog: `Files`
- Skjema: `Files`
- Etikett: Fil etter ID

Retrieve file by ID Retrieve a file by its ID.

Kan kun hente data.

## API-kilde

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

## Parametere

| Navn | Datatype | Nødvendig | Standard | Dokumentasjon |
|---|---|:---:|---|---|
| `fileId` | `` | [x] |  | ID of the desired file. |

## Tabellkolonner

Kolonnene i tabellen `FileById` vises nedenfor. Hver kolonne har en SQL-datatype. En ny ikke-nullverdi må oppgis for hver nødvendig kolonne til enhver tid under innsetting og oppdatering.

| Navn | Datatype | Etikett | Nødvendig | Karakterer | Dokumentasjon |
|---|---|---|:---:|---|---|
| `access` | `varchar2` | Tilgang | [ ] |  | File access.Can be PUBLIC_INDEXABLE, PUBLIC_NOT_INDEXABLE, PRIVATE. |
| `archived` | `char` | Arkivert | [ ] |  | If the file is deleted. |
| `archivedAt` | `datetime` | Arkivert på | [ ] |  | Deletion time of the file object. |
| `createdAt` | `datetime` | Opprettet kl. | [ ] |  | Creation time of the file object. |
| `defaultHostingUrl` | `varchar2` | Standard-URL for hosting | [ ] |  | Default hosting URL of the file.This will use one of HubSpot's provided URLs to serve the file. |
| `encoding` | `varchar2` | Koding | [ ] |  | Encoding of the file. |
| `expiresAt` | `int64` | Utløper den | [ ] |  |  |
| `extension` | `varchar2` | Utvidelse | [ ] |  | Extension of the file. ex: .jpg, .png, .gif, .pdf, etc. |
| `fileMd5` | `varchar2` | itgen_hubspot_filemd5 | [ ] |  | The MD5 hash of the file. |
| `height` | `int32` | Høyde | [ ] |  | For image and video files, the height of the content. |
| `id` | `varchar2` | ID | [ ] |  | Fil-ID. |
| `isUsableInContent` | `char` | Kan brukes i innholdet | [ ] |  | Previously "archied".Indicates if the file should be used when creating new content like web pages. |
| `name` | `varchar2` | Navn | [ ] |  | Navn på filen. |
| `parentFolderId` | `varchar2` | ID for overordnet mappe | [ ] |  | 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. |
| `sourceGroup` | `varchar2` | itgen_hubspot_sourcegroup | [ ] |  |  |
| `type` | `varchar2` | Skriv | [ ] |  | Type of the file.Can be IMG, DOCUMENT, AUDIO, MOVIE, or OTHER. |
| `updatedAt` | `datetime` | Oppdatert 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. |


## Utgivelsesmerknader

Hva som har endret seg fra versjon til versjon når det gjelder tabeller, kolonner, attributter og funksjonalitet i driveren:

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