Get file information by ID

Retrieves file information if the user belongs to the same environment

Authentication

x-api-keystring

API key authentication for programmatic access. Used by server-to-server integrations and API clients.

OR
x-access-tokenstring

Access token authentication for web users. Used by browser-based applications and authenticated user sessions.

Path parameters

fileIdstringRequired
The ID of the file

Response

File information retrieved successfully
idstring
Unique identifier of the file
accountIdstring
Account identifier
environmentIdstring
Environment identifier
importIdstring
Import identifier
filenamestring
Name of the file
compressedboolean
Indicates if the file is compressed
statusenum
Current processing status of the file
Allowed values:
mimeTypestring
MIME type of the file
companyIdstring
Company identifier
parentFileIdstring
Parent file identifier if this file was extracted from another
documentIdslist of strings
Array of document identifiers extracted from this file
errorstring
Error code if processing failed
createdAtstringformat: "date-time"
Timestamp when the file was created
updatedAtstringformat: "date-time"
Timestamp when the file was last updated
clientDataobject
Client data associated to the file

Errors

404
Not Found Error