v50

latestOpenAPI 3.0.3agplraw.githubusercontent.com2026-06-2680131565.4 KB
signing

Request signature

Request that a file be signed by a list of signers. Each signer in the signers array can optionally include a 'signingOrder' field to control the order of signatures when ordered signing flow is enabled. The returned data always includes filesCount and files. For nodeType=file, filesCount=1 and files contains the current file. For nodeType=envelope, files contains envelope child files.

post/ocs/v2.php/apps/libresign/api/{apiVersion}/request-signature

Path parameters

apiVersion'v1' required

Headers

OCS-APIRequestboolean required

Required to be true for the API request to pass

Request body

namestring

The name of file to sign

callbackstring nullable

URL that will receive a POST after the document is signed

statusinteger nullable

Numeric code of status * 0 - no signers * 1 - signed * 2 - pending

policyobject nullable

Structured policy payload with request-level overrides and active context.

Response

OK