Skip to main content
Get the current version of a draft

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

Unique identifier of a draft document in the system.

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

"8b312068-ecdf-4fa6-8f13-c6183da85f43"

Response

Returns the draft's identifier and its current version.

id
string

Value the request produced: the identifier of the object it created or acted upon, or - on the endpoints that issue one - the token it granted.

Example:

"e58cc1acbba3cd8056ce6adb44d46a11a113170e884509c179701270b915b59b"

version
integer

Current version of the record. Send it back with the next update so a concurrent change is not overwritten silently.

Example:

3