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

# FileById: HubSpot File by ID

`read only` `REST`

- Katalog: `Files`
- Schema: `Files`
- Etikett: Fil efter ID

Retrieve file by ID Retrieve a file by its ID.

Kan endast hämta data.

## API-källa

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

## Parametrar

| Namn | Datatyp | Nödvändigt | Standard | Dokumentation |
|---|---|:---:|---|---|
| `fileId` | `` | [x] |  | ID of the desired file. |

## Tabellkolumner

Tabellens kolumner `FileById` visas nedan. Varje kolumn har en SQL-datatyp. Ett nytt värde som inte är null måste alltid anges för varje obligatorisk kolumn vid insättning och uppdatering.

| Namn | Datatyp | Etikett | Nödvändigt | Betyg | Dokumentation |
|---|---|---|:---:|---|---|
| `access` | `varchar2` | Åtkomst | [ ] |  | File access.Can be PUBLIC_INDEXABLE, PUBLIC_NOT_INDEXABLE, PRIVATE. |
| `archived` | `char` | Arkiverat | [ ] |  | If the file is deleted. |
| `archivedAt` | `datetime` | Arkiverat på | [ ] |  | Deletion time of the file object. |
| `createdAt` | `datetime` | Skapad den | [ ] |  | Creation time of the file object. |
| `defaultHostingUrl` | `varchar2` | Standard-URL för webbhotell | [ ] |  | 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` | Giltig till | [ ] |  |  |
| `extension` | `varchar2` | Förlängning | [ ] |  | Extension of the file. ex: .jpg, .png, .gif, .pdf, etc. |
| `fileMd5` | `varchar2` | itgen_hubspot_filemd5 | [ ] |  | The MD5 hash of the file. |
| `height` | `int32` | Höjd | [ ] |  | For image and video files, the height of the content. |
| `id` | `varchar2` | ID | [ ] |  | Fil-ID. |
| `isUsableInContent` | `char` | Kan användas i innehåll | [ ] |  | Previously "archied".Indicates if the file should be used when creating new content like web pages. |
| `name` | `varchar2` | Namn | [ ] |  | Filens namn. |
| `parentFolderId` | `varchar2` | Överordnad mapp-ID | [ ] |  | ID of the folder the file is in. |
| `path` | `varchar2` | Sökväg | [ ] |  | Path of the file in the file manager. |
| `size` | `int64` | Storlek | [ ] |  | Size of the file in bytes. |
| `sourceGroup` | `varchar2` | itgen_hubspot_sourcegroup | [ ] |  |  |
| `type` | `varchar2` | Typ | [ ] |  | Type of the file.Can be IMG, DOCUMENT, AUDIO, MOVIE, or OTHER. |
| `updatedAt` | `datetime` | Uppdaterad den | [ ] |  | 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` | Bredd | [ ] |  | For image and video files, the width of the content. |


## Anteckningar om utgivning

Vilka ändringar har skett i tabeller, kolumner, attribut och funktioner i drivrutinen för varje version:

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