Skip to main content

Get File Upload

GET 

/api/file-uploads/:fileUploadId

Retrieve the meta data of a file upload by a given id.

Request

Path Parameters

    fileUploadId stringrequired

    Primary identifier of the file upload to fetch.

Responses

Schema

    id stringrequired

    Id of the file.

    purpose required

    Possible values: [kyc-doc-upload]

    The purpose the file is related to.

    liveness stringrequired

    Possible values: [live, test]

    The resource liveness mode.

    accountId stringrequired

    Id of the account owning the file upload.

    fileName stringrequired

    Name of file.

    fileSize numberrequired

    Size of the file in bytes.

    mimeType stringrequired

    The type of file.

    status stringrequired

    Possible values: [created, deleting, deleted]

    The current status of the file upload.

    expiresAt string

    Date when the file will be considered expired and subsequently deleted.

Loading...