Skip to main content
Returns file metadata.
HTTP request
GET https://api-{location-id}.flexicapture.com/v2/file/{id}/{token}/info where {location-id} is the supported location.
Path parameters

Parameters

id

path, string

Required. The file ID that was returned in the response of file.Upload method.

token

path, string

Required. The file access token that was returned in the response of file.Upload method.

Response
If successful, the server returns a 200 OK HTTP status and an instance of FileInfoModel.
{“id”: “string”,“token”: “string”,“name”: “string”,“extension”: “string”,“hash”: “string”,“size”: 0,“mime”: “string”,“is_recognizable”: true,“account”: “string”,“application”: “string”,“email”: “string”,“created”: “YYYY-MM-DDT00:00:00.000”,“expiring”: “YYYY-MM-DDT00:00:00.000”}

FileInfoModel

id

string

Required. File ID.

token

string

Required. File access token.

name

string

Required. File name.

extension

string

Required. File extension.

hash

string

Required. File SHA512 hash.

size

integer($int32)

Required. File size in bytes.

mime

string

Required. File MIME type.

is_recognizable

boolean

Required. Specifies whether the file is recognizable or not.

account

string

Required. Account ID.

application

string

Optional. Application ID.

email

string

Required. The e-mail address of the user who uploaded the file.

created

string($date-time)

Required. File upload date.

expiring

string($date-time)

Required. File expiration date.