# 1 Token API

First Step When Customer Click On Sign contract You Have To Initialize Session First By Creating Session Token Using The Following API

post
Authorizations
Header parameters
Accept-LanguageStringOptional
Body
TenantIdstringOptional
TenantSecretstringOptional
ApplicantIdstring | nullableOptional
selectedSignContractIdstring | nullableOptional
contractTemplateIdintOptional
SignContractFilestring Β· binary | nullableOptional
signContractApproachEnuminteger Β· enumOptionalPossible values:
SignContractModeinteger Β· enumOptionalPossible values:
ContractDetails.GeneralTextstringOptional
ContractDetails.TechnicalTextstring | nullableOptional
ContractDetails.FinancialTextstring | nullableOptional
ContractDetails.LegalTextstring | nullableOptional
ContractDetails.ExtraTextstring | nullableOptional
post
POST /api/v1/Auth/GenerateSignContractRequestSessionToken HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 383

{
  "TenantId": "text",
  "TenantSecret": "text",
  "ApplicantId": "text",
  "selectedSignContractId": "text",
  "contractTemplateId": null,
  "SignContractFile": "binary",
  "signContractApproachEnum": 1,
  "SignContractMode": 1,
  "ContractDetails.GeneralText": "text",
  "ContractDetails.TechnicalText": "text",
  "ContractDetails.FinancialText": "text",
  "ContractDetails.LegalText": "text",
  "ContractDetails.ExtraText": "text"
}

applicantId is sent back to you after onboarding success at the callback URL you configured here. You must save the ID to use for updating and authentication.

Sign Contract Approach Enum (1) value if you want to sign by applicant and (2) if you want to sign by organization.

for low mode and high mode

  • the required data only (tenant Id, tenant secret , applicant id , SignContractMode(1 or 2) for low and high modes respectively , SignContractApproachEnum (1 , 2 ) for applicant and organization

  • in case of applicant (SignContractApproachEnum = 1 ) , SignContractFile is Mandatory to be uploaded

  • in case of organization (SignContractApproachEnum = 2) , selectedSignContractId is Mandatory

fow low FRA Mode and High FRA Mode please follow each section seperately

Last updated