Skip to main content

OvokClient.getDocumentDownloadUrl

Returns the authenticated document endpoint; navigating/fetching it follows the backend redirect.

Kind: Class method
Package: @ovok/core

Import​

import { OvokClient } from '@ovok/core';

TypeScript signatures​

getDocumentDownloadUrl(documentId: string, params?: { width?: string | number; height?: string | number; fit?: string; }): Promise<string>
ParameterTypeDetails
documentIdstring—
params{ width?: string | number; height?: string | number; fit?: string; }—

Returns: Promise<string>.

Class​

This method is available on OvokClient.

Learn the workflow​

Continue with Client Configuration for the workflow context and examples.

Source​

View the declaration in the SDK source.