v1

latestOpenAPI 3.0.02026-07-24115101.2 MB
Templates

Get a template file by ID

Use this endpoint to retrieve a specific template file by its ID.

get/templates/{template_id}/files/{file_id}

Path parameters

template_idinteger required

The unique ID of the template.

file_idinteger required

The ID of a file.

Query parameters

downloadboolean

If set to true, the file will be downloaded. The default value is false; in this case, only the file metadata will be returned.

Headers

x-oneflow-api-tokenstring required

The API key of your Oneflow account.

Response

Returns the requested template file.

extensionstring nullable required

The file extension

idinteger required
namestring nullable required

The name of the file.

type'contract' | 'verification' | 'attachment' | 'pdf' | 'unknown' required

One of the contract file types.