v1
latestOpenAPI 3.0.02026-07-2691259477.2 KBAccounts | Admin
Generate an Electronic Signature of a Document
This call lets you to generate an electronic signature.
Note: Only SDD mandates can be signed with this method.
Prerequisite: A Mandate needs to be registered with RegisterSddMandate
- A call to SignDocumentInit of DirectKit to make the signature request and get a token.
- A redirection from your website to the WebKit, with the token in GET parameter (see Finalize document signature).
- A return page where your user will be redirected after the signature.
post/v2/accounts/{accountid}/documents/{documentid}/signinit
Path parameters
accountidstring required
Account Id
documentidinteger required
Headers
Authorizationstring required
Authorization bearer (OAuth 2)
PSU-Accept-Languagestring
Response language accepted by final client (PSU). English by default
PSU-IP-Addressstring required
IP address of the final client (PSU).
PSU-User-Agentstring
User-agent of the final client (PSU).
Request body
Example request
{
"mobileNumber": "33612345878",
"type": 21,
"returnUrl": "https://www.yoursite.com/signature_return.php",
"errorUrl": "https://www.yoursite.com/signature_return.php"
}Response
OK