Skip to main content
Join a document's files into one

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Path Parameters

id
string
required

Identifier of the document whose files are joined.

Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
Example:

"a0d01c9d-f72f-4c57-af11-e26bda19cc59"

Query Parameters

photoSize
enum<string>
default:nano

Rendition of the profile photo to embed for every user in the users map of the response.

Available options:
nano,
small,
medium,
big
Example:

"nano"

Body

application/json
files
string[]
required

Files to join, in the order they should follow one another in the result. Each of them has to already belong to this document - its main file or one of its attachments - so nothing outside the document can be pulled in.

Minimum array length: 2
Minimum string length: 1
Pattern: ^[a-z0-9]+$
convert
boolean
default:false

Converts a source that is not a PDF to one before joining - and, for a document kept in PDF/A, every source to PDF/A - instead of refusing it. The document's own record of that attachment is updated to the converted file.

Example:

false

Response

Returns the updated document, its main file replaced by the joined one.

results
object[]

The documents and folders the call resolved to. A folder is represented in the folder shape, everything else in the document shape.

Full representation of a document.

users
object

Minimum profile of every user the results refer to - the creator, the workflow participants, the users mentioned in comments or sign fields and the users named in the rights. Keys are usernames for internal users and e-mail addresses for external ones.