SDK Reference
Check out the SDK reference to see all the available methods and options
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
<dependencies>
<!-- Other dependencies -->
<!-- Add the dependency for alohi.signplus.signplus -->
<dependency>
<groupId>com.alohi</groupId>
<artifactId>signplus</artifactId>
<version>2.0.0</version> <!-- Use the specific version you need -->
</dependency>
</dependencies>
mvn install
import com.alohi.signplus.Signplus;
import com.alohi.signplus.config.SignplusConfig;
import com.alohi.signplus.models.CreateEnvelopeRequest;
import com.alohi.signplus.models.Envelope;
import com.alohi.signplus.models.EnvelopeFlowType;
import com.alohi.signplus.models.EnvelopeLegalityLevel;
public class Main {
public static void main(String[] args) {
SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build();
Signplus signplus = new Signplus(config);
CreateEnvelopeRequest createEnvelopeRequest = CreateEnvelopeRequest
.builder()
.name("name")
.flowType(EnvelopeFlowType.REQUEST_SIGNATURE)
.legalityLevel(EnvelopeLegalityLevel.SES)
.expiresAt(8L)
.comment("comment")
.sandbox(false)
.build();
Envelope response = signplus.signplusService.createEnvelope(createEnvelopeRequest);
System.out.println(response);
}
}