# Add envelope annotation Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/add-envelope-annotation post /envelope/{envelope_id}/annotation # Add envelope document Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/add-envelope-document post /envelope/{envelope_id}/document # Add envelope signing steps Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/add-envelope-signing-steps post /envelope/{envelope_id}/signing_steps # Add template annotation Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/add-template-annotation post /template/{template_id}/annotation # Add template document Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/add-template-document post /template/{template_id}/document # Add template signing steps Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/add-template-signing-steps post /template/{template_id}/signing_steps # Create new envelope Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/create-new-envelope post /envelope # Create new envelope from template Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/create-new-envelope-from-template post /envelope/from_template/{template_id} # Create new template Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/create-new-template post /template # Create webhook Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/create-webhook post /webhook # Delete envelope Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/delete-envelope delete /envelope/{envelope_id} # Delete envelope annotation Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/delete-envelope-annotation delete /envelope/{envelope_id}/annotation/{annotation_id} # Delete template Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/delete-template delete /template/{template_id} # Delete template annotation Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/delete-template-annotation delete /template/{template_id}/annotation/{annotation_id} # Delete webhook Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/delete-webhook delete /webhook/{webhook_id} # Duplicate envelope Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/duplicate-envelope post /envelope/{envelope_id}/duplicate # Duplicate template Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/duplicate-template post /template/{template_id}/duplicate # Get document template annotations Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/get-document-template-annotations get /template/{template_id}/annotations/{document_id} # Get envelope Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/get-envelope get /envelope/{envelope_id} # Get envelope annotations Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/get-envelope-annotations get /envelope/{envelope_id}/annotations # Get envelope attachment file Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/get-envelope-attachment-file get /envelope/{envelope_id}/attachments/{file_id} # Download certificate of completion Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/get-envelope-certificate get /envelope/{envelope_id}/certificate Download certificate of completion for an envelope # Get envelope document Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/get-envelope-document get /envelope/{envelope_id}/document/{document_id} # Get envelope document annotations Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/get-envelope-document-annotations get /envelope/{envelope_id}/annotations/{document_id} # Get envelope documents Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/get-envelope-documents get /envelope/{envelope_id}/documents # Download a single signed document Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/get-envelope-signed-document get /envelope/{envelope_id}/signed_documents/{document_id} Download a single signed document for an envelope Download a single signed PDF from a completed envelope. This is useful when you need just one document instead of the full PDF Portfolio. # Download signed documents Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/get-envelope-signed_documents get /envelope/{envelope_id}/signed_documents Download signed documents for an envelope # Get template Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/get-template get /template/{template_id} # Get template annotations Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/get-template-annotations get /template/{template_id}/annotations # Get template document Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/get-template-document get /template/{template_id}/document/{document_id} # Get template documents Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/get-template-documents get /template/{template_id}/documents # List envelopes Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/list-envelopes post /envelopes # List templates Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/list-templates post /templates # List webhooks Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/list-webhooks post /webhooks # Rename envelope Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/rename-envelope put /envelope/{envelope_id}/rename # Rename template Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/rename-template put /template/{template_id}/rename # Send envelope for signature Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/send-envelope-for-signature post /envelope/{envelope_id}/send # Set envelope attachment placeholders Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/set-envelope-attachment-placeholders put /envelope/{envelope_id}/attachments/placeholders Placeholders to be set, completely replacing the existing ones. # Set envelope attachment settings Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/set-envelope-attachment-settings put /envelope/{envelope_id}/attachments/settings # Set envelope comment Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/set-envelope-comment put /envelope/{envelope_id}/set_comment # Set envelope dynamic fields Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/set-envelope-dynamic-fields put /envelope/{envelope_id}/dynamic_fields # Set envelope expiration date Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/set-envelope-expiration-date put /envelope/{envelope_id}/set_expiration_date # Set envelope legality level Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/set-envelope-legality-level put /envelope/{envelope_id}/set_legality_level # Set envelope notification Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/set-envelope-notification put /envelope/{envelope_id}/set_notification # Set template attachment placeholders Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/set-template-attachment-placeholders put /template/{template_id}/attachments/placeholders Placeholders to be set, completely replacing the existing ones. # Set template attachment settings Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/set-template-attachment-settings put /template/{template_id}/attachments/settings # Set template comment Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/set-template-comment put /template/{template_id}/set_comment # Set template notification Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/set-template-notification put /template/{template_id}/set_notification # Void envelope Source: https://apidoc.sign.plus/api-reference/endpoints/signplus/void-envelope put /envelope/{envelope_id}/void # Install Source: https://apidoc.sign.plus/backend-sdks/go/install Install the Signplus Go SDK package ```bash theme={null} go get github.com/alohihq/signplus-go ``` Call your first SDK method ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() client := signplus.NewSignplus(config) // Set your access token here (make sure to keep it secret) client.SetAccessToken("YOUR_ACCESS_TOKEN") envelopeFlowType := signplus.ENVELOPE_FLOW_TYPE_REQUEST_SIGNATURE envelopeLegalityLevel := signplus.ENVELOPE_LEGALITY_LEVEL_SES request := signplus.CreateEnvelopeRequest{} request.SetName("Name") request.SetFlowType(envelopeFlowType) request.SetLegalityLevel(envelopeLegalityLevel) response, err := client.Signplus.CreateEnvelope(context.Background(), request) if err != nil { panic(err) } fmt.Print(response) ``` Check out the SDK reference to see all the available methods and options # Sdk reference Source: https://apidoc.sign.plus/backend-sdks/go/sdk-reference A list of all methods in the `SignplusService` service. Click on the method name to view detailed information about that method. | Methods | Description | | :------------------------------------------------------------------------ | :-------------------------------------------------------------- | | [CreateEnvelope](#createenvelope) | Create new envelope | | [CreateEnvelopeFromTemplate](#createenvelopefromtemplate) | Create new envelope from template | | [ListEnvelopes](#listenvelopes) | List envelopes | | [GetEnvelope](#getenvelope) | Get envelope | | [DeleteEnvelope](#deleteenvelope) | Delete envelope | | [DownloadEnvelopeSignedDocuments](#downloadenvelopesigneddocuments) | Download signed documents for an envelope | | [DownloadEnvelopeCertificate](#downloadenvelopecertificate) | Download certificate of completion for an envelope | | [GetEnvelopeDocument](#getenvelopedocument) | Get envelope document | | [GetEnvelopeDocuments](#getenvelopedocuments) | Get envelope documents | | [AddEnvelopeDocument](#addenvelopedocument) | Add envelope document | | [SetEnvelopeDynamicFields](#setenvelopedynamicfields) | Set envelope dynamic fields | | [AddEnvelopeSigningSteps](#addenvelopesigningsteps) | Add envelope signing steps | | [SetEnvelopeAttachmentsSettings](#setenvelopeattachmentssettings) | Set envelope attachment settings | | [SetEnvelopeAttachmentsPlaceholders](#setenvelopeattachmentsplaceholders) | Placeholders to be set, completely replacing the existing ones. | | [GetAttachmentFile](#getattachmentfile) | Get envelope attachment file | | [SendEnvelope](#sendenvelope) | Send envelope for signature | | [DuplicateEnvelope](#duplicateenvelope) | Duplicate envelope | | [VoidEnvelope](#voidenvelope) | Void envelope | | [RenameEnvelope](#renameenvelope) | Rename envelope | | [SetEnvelopeComment](#setenvelopecomment) | Set envelope comment | | [SetEnvelopeNotification](#setenvelopenotification) | Set envelope notification | | [SetEnvelopeExpirationDate](#setenvelopeexpirationdate) | Set envelope expiration date | | [SetEnvelopeLegalityLevel](#setenvelopelegalitylevel) | Set envelope legality level | | [GetEnvelopeAnnotations](#getenvelopeannotations) | Get envelope annotations | | [GetEnvelopeDocumentAnnotations](#getenvelopedocumentannotations) | Get envelope document annotations | | [AddEnvelopeAnnotation](#addenvelopeannotation) | Add envelope annotation | | [DeleteEnvelopeAnnotation](#deleteenvelopeannotation) | Delete envelope annotation | | [CreateTemplate](#createtemplate) | Create new template | | [ListTemplates](#listtemplates) | List templates | | [GetTemplate](#gettemplate) | Get template | | [DeleteTemplate](#deletetemplate) | Delete template | | [DuplicateTemplate](#duplicatetemplate) | Duplicate template | | [AddTemplateDocument](#addtemplatedocument) | Add template document | | [GetTemplateDocument](#gettemplatedocument) | Get template document | | [GetTemplateDocuments](#gettemplatedocuments) | Get template documents | | [AddTemplateSigningSteps](#addtemplatesigningsteps) | Add template signing steps | | [RenameTemplate](#renametemplate) | Rename template | | [SetTemplateComment](#settemplatecomment) | Set template comment | | [SetTemplateNotification](#settemplatenotification) | Set template notification | | [GetTemplateAnnotations](#gettemplateannotations) | Get template annotations | | [GetDocumentTemplateAnnotations](#getdocumenttemplateannotations) | Get document template annotations | | [AddTemplateAnnotation](#addtemplateannotation) | Add template annotation | | [DeleteTemplateAnnotation](#deletetemplateannotation) | Delete template annotation | | [SetTemplateAttachmentsSettings](#settemplateattachmentssettings) | Set template attachment settings | | [SetTemplateAttachmentsPlaceholders](#settemplateattachmentsplaceholders) | Placeholders to be set, completely replacing the existing ones. | | [CreateWebhook](#createwebhook) | Create webhook | | [ListWebhooks](#listwebhooks) | List webhooks | | [DeleteWebhook](#deletewebhook) | Delete webhook | ## CreateEnvelope Create new envelope * HTTP Method: `POST` * Endpoint: `/envelope` **Parameters** | Name | Type | Required | Description | | :-------------------- | :----------------------------------------------------------------------------- | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | createEnvelopeRequest | [CreateEnvelopeRequest](/api-reference/endpoints/signplus/create-new-envelope) | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) envelopeLegalityLevel := signplus.ENVELOPE_LEGALITY_LEVEL_SES request := signplus.CreateEnvelopeRequest{ Name: util.ToPointer("name"), LegalityLevel: &envelopeLegalityLevel, ExpiresAt: util.ToPointer(int64(8)), Comment: util.ToPointer("comment"), Sandbox: util.ToPointer(true), } response, err := client.Signplus.CreateEnvelope(context.Background(), request) if err != nil { panic(err) } fmt.Println(response) ``` ## CreateEnvelopeFromTemplate Create new envelope from template * HTTP Method: `POST` * Endpoint: `/envelope/from_template/{template_id}` **Parameters** | Name | Type | Required | Description | | :-------------------------------- | :------------------------------------------------------------------------------------------------------- | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | templateId | string | ✅ | | | createEnvelopeFromTemplateRequest | [CreateEnvelopeFromTemplateRequest](/api-reference/endpoints/signplus/create-new-envelope-from-template) | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) request := signplus.CreateEnvelopeFromTemplateRequest{ Name: util.ToPointer("name"), Comment: util.ToPointer("comment"), Sandbox: util.ToPointer(true), } response, err := client.Signplus.CreateEnvelopeFromTemplate(context.Background(), "template_id", request) if err != nil { panic(err) } fmt.Println(response) ``` ## ListEnvelopes List envelopes * HTTP Method: `POST` * Endpoint: `/envelopes` **Parameters** | Name | Type | Required | Description | | :------------------- | :----------------------------------------------------------------------- | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | listEnvelopesRequest | [ListEnvelopesRequest](/api-reference/endpoints/signplus/list-envelopes) | ✅ | | **Return Type** `ListEnvelopesResponse` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) envelopeStatus := signplus.ENVELOPE_STATUS_DRAFT envelopeOrderField := signplus.ENVELOPE_ORDER_FIELD_CREATION_DATE request := signplus.ListEnvelopesRequest{ Name: util.ToPointer("name"), Tags: []string{}, Comment: util.ToPointer("comment"), Ids: []string{}, Statuses: []signplus.EnvelopeStatus{envelopeStatus}, FolderIds: []string{}, OnlyRootFolder: util.ToPointer(true), DateFrom: util.ToPointer(int64(5)), DateTo: util.ToPointer(int64(9)), Uid: util.ToPointer("uid"), First: util.ToPointer(int64(9)), Last: util.ToPointer(int64(7)), After: util.ToPointer("after"), Before: util.ToPointer("before"), OrderField: &envelopeOrderField, Ascending: util.ToPointer(true), IncludeTrash: util.ToPointer(true), } response, err := client.Signplus.ListEnvelopes(context.Background(), request) if err != nil { panic(err) } fmt.Println(response) ``` ## GetEnvelope Get envelope * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) response, err := client.Signplus.GetEnvelope(context.Background(), "envelope_id") if err != nil { panic(err) } fmt.Println(response) ``` ## DeleteEnvelope Delete envelope * HTTP Method: `DELETE` * Endpoint: `/envelope/{envelope_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | | **Return Type** `any` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) response, err := client.Signplus.DeleteEnvelope(context.Background(), "envelope_id") if err != nil { panic(err) } fmt.Println(response) ``` ## DownloadEnvelopeSignedDocuments Download signed documents for an envelope * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/signed_documents` **Parameters** | Name | Type | Required | Description | | :--------- | :------------------------------------------- | :------- | :---------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | ID of the envelope | | params | DownloadEnvelopeSignedDocumentsRequestParams | ✅ | Additional request parameters | **Return Type** `[]byte` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) params := signplus.DownloadEnvelopeSignedDocumentsRequestParams{ } response, err := client.Signplus.DownloadEnvelopeSignedDocuments(context.Background(), "envelope_id", params) if err != nil { panic(err) } fmt.Println(response) ``` ## DownloadEnvelopeCertificate Download certificate of completion for an envelope * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/certificate` **Parameters** | Name | Type | Required | Description | | :--------- | :------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | ID of the envelope | **Return Type** `[]byte` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) response, err := client.Signplus.DownloadEnvelopeCertificate(context.Background(), "envelope_id") if err != nil { panic(err) } fmt.Println(response) ``` ## GetEnvelopeDocument Get envelope document * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/document/{document_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | | | documentId | string | ✅ | | **Return Type** `Document` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) response, err := client.Signplus.GetEnvelopeDocument(context.Background(), "envelope_id", "document_id") if err != nil { panic(err) } fmt.Println(response) ``` ## GetEnvelopeDocuments Get envelope documents * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/documents` **Parameters** | Name | Type | Required | Description | | :--------- | :------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | | **Return Type** `ListEnvelopeDocumentsResponse` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) response, err := client.Signplus.GetEnvelopeDocuments(context.Background(), "envelope_id") if err != nil { panic(err) } fmt.Println(response) ``` ## AddEnvelopeDocument Add envelope document * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/document` **Parameters** | Name | Type | Required | Description | | :------------------------- | :------------------------------------------------------------------------------------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | | | addEnvelopeDocumentRequest | [AddEnvelopeDocumentRequest](/api-reference/endpoints/signplus/add-envelope-document) | ✅ | | **Return Type** `Document` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) request := signplus.AddEnvelopeDocumentRequest{ File: []byte{}, } response, err := client.Signplus.AddEnvelopeDocument(context.Background(), "envelope_id", request) if err != nil { panic(err) } fmt.Println(response) ``` ## SetEnvelopeDynamicFields Set envelope dynamic fields * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/dynamic_fields` **Parameters** | Name | Type | Required | Description | | :------------------------------ | :----------------------------------------------------------------------------------------------- | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | | | setEnvelopeDynamicFieldsRequest | [SetEnvelopeDynamicFieldsRequest](/api-reference/endpoints/signplus/set-envelope-dynamic-fields) | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) dynamicField := signplus.DynamicField{ Name: util.ToPointer("name"), Value: util.ToPointer("value"), } request := signplus.SetEnvelopeDynamicFieldsRequest{ DynamicFields: []signplus.DynamicField{dynamicField}, } response, err := client.Signplus.SetEnvelopeDynamicFields(context.Background(), "envelope_id", request) if err != nil { panic(err) } fmt.Println(response) ``` ## AddEnvelopeSigningSteps Add envelope signing steps * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/signing_steps` **Parameters** | Name | Type | Required | Description | | :----------------------------- | :--------------------------------------------------------------------------------------------- | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | | | addEnvelopeSigningStepsRequest | [AddEnvelopeSigningStepsRequest](/api-reference/endpoints/signplus/add-envelope-signing-steps) | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) recipientRole := signplus.RECIPIENT_ROLE_SIGNER recipientVerificationType := signplus.RECIPIENT_VERIFICATION_TYPE_SMS recipientVerification := signplus.RecipientVerification{ Type_: &recipientVerificationType, Value: util.ToPointer("value"), } recipient := signplus.Recipient{ Id: util.ToPointer("id"), Uid: util.ToPointer("uid"), Name: util.ToPointer("name"), Email: util.ToPointer("email"), Role: &recipientRole, Verification: &recipientVerification, } signingStep := signplus.SigningStep{ Recipients: []signplus.Recipient{recipient}, } request := signplus.AddEnvelopeSigningStepsRequest{ SigningSteps: []signplus.SigningStep{signingStep}, } response, err := client.Signplus.AddEnvelopeSigningSteps(context.Background(), "envelope_id", request) if err != nil { panic(err) } fmt.Println(response) ``` ## SetEnvelopeAttachmentsSettings Set envelope attachment settings * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/attachments/settings` **Parameters** | Name | Type | Required | Description | | :------------------------------------ | :------------------------------------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | | | setEnvelopeAttachmentsSettingsRequest | SetEnvelopeAttachmentsSettingsRequest | ✅ | | **Return Type** `EnvelopeAttachments` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) attachmentSettings := signplus.AttachmentSettings{ VisibleToRecipients: util.ToPointer(true), } request := signplus.SetEnvelopeAttachmentsSettingsRequest{ Settings: &attachmentSettings, } response, err := client.Signplus.SetEnvelopeAttachmentsSettings(context.Background(), "envelope_id", request) if err != nil { panic(err) } fmt.Println(response) ``` ## SetEnvelopeAttachmentsPlaceholders Placeholders to be set, completely replacing the existing ones. * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/attachments/placeholders` **Parameters** | Name | Type | Required | Description | | :---------------------------------------- | :---------------------------------------- | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | | | setEnvelopeAttachmentsPlaceholdersRequest | SetEnvelopeAttachmentsPlaceholdersRequest | ✅ | | **Return Type** `EnvelopeAttachments` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) attachmentPlaceholderRequest := signplus.AttachmentPlaceholderRequest{ RecipientId: util.ToPointer("recipient_id"), Id: util.ToPointer("id"), Name: util.ToPointer("name"), Hint: util.ToPointer("hint"), Required: util.ToPointer(true), Multiple: util.ToPointer(true), } request := signplus.SetEnvelopeAttachmentsPlaceholdersRequest{ Placeholders: []signplus.AttachmentPlaceholderRequest{attachmentPlaceholderRequest}, } response, err := client.Signplus.SetEnvelopeAttachmentsPlaceholders(context.Background(), "envelope_id", request) if err != nil { panic(err) } fmt.Println(response) ``` ## GetAttachmentFile Get envelope attachment file * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/attachments/{file_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | | | fileId | string | ✅ | | **Return Type** `[]byte` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) response, err := client.Signplus.GetAttachmentFile(context.Background(), "envelope_id", "file_id") if err != nil { panic(err) } fmt.Println(response) ``` ## SendEnvelope Send envelope for signature * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/send` **Parameters** | Name | Type | Required | Description | | :--------- | :------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) response, err := client.Signplus.SendEnvelope(context.Background(), "envelope_id") if err != nil { panic(err) } fmt.Println(response) ``` ## DuplicateEnvelope Duplicate envelope * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/duplicate` **Parameters** | Name | Type | Required | Description | | :--------- | :------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) response, err := client.Signplus.DuplicateEnvelope(context.Background(), "envelope_id") if err != nil { panic(err) } fmt.Println(response) ``` ## VoidEnvelope Void envelope * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/void` **Parameters** | Name | Type | Required | Description | | :--------- | :------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) response, err := client.Signplus.VoidEnvelope(context.Background(), "envelope_id") if err != nil { panic(err) } fmt.Println(response) ``` ## RenameEnvelope Rename envelope * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/rename` **Parameters** | Name | Type | Required | Description | | :-------------------- | :------------------------------------------------------------------------- | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | | | renameEnvelopeRequest | [RenameEnvelopeRequest](/api-reference/endpoints/signplus/rename-envelope) | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) request := signplus.RenameEnvelopeRequest{ Name: util.ToPointer("name"), } response, err := client.Signplus.RenameEnvelope(context.Background(), "envelope_id", request) if err != nil { panic(err) } fmt.Println(response) ``` ## SetEnvelopeComment Set envelope comment * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/set_comment` **Parameters** | Name | Type | Required | Description | | :------------------------ | :---------------------------------------------------------------------------------- | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | | | setEnvelopeCommentRequest | [SetEnvelopeCommentRequest](/api-reference/endpoints/signplus/set-envelope-comment) | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) request := signplus.SetEnvelopeCommentRequest{ Comment: util.ToPointer("comment"), } response, err := client.Signplus.SetEnvelopeComment(context.Background(), "envelope_id", request) if err != nil { panic(err) } fmt.Println(response) ``` ## SetEnvelopeNotification Set envelope notification * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/set_notification` **Parameters** | Name | Type | Required | Description | | :------------------- | :------------------- | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | | | envelopeNotification | EnvelopeNotification | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) request := signplus.EnvelopeNotification{ Subject: util.ToPointer("subject"), Message: util.ToPointer("message"), ReminderInterval: util.ToPointer(int64(1)), } response, err := client.Signplus.SetEnvelopeNotification(context.Background(), "envelope_id", request) if err != nil { panic(err) } fmt.Println(response) ``` ## SetEnvelopeExpirationDate Set envelope expiration date * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/set_expiration_date` **Parameters** | Name | Type | Required | Description | | :--------------------------- | :--------------------------- | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | | | setEnvelopeExpirationRequest | SetEnvelopeExpirationRequest | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) request := signplus.SetEnvelopeExpirationRequest{ ExpiresAt: util.ToPointer(int64(0)), } response, err := client.Signplus.SetEnvelopeExpirationDate(context.Background(), "envelope_id", request) if err != nil { panic(err) } fmt.Println(response) ``` ## SetEnvelopeLegalityLevel Set envelope legality level * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/set_legality_level` **Parameters** | Name | Type | Required | Description | | :------------------------------ | :------------------------------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | | | setEnvelopeLegalityLevelRequest | SetEnvelopeLegalityLevelRequest | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) envelopeLegalityLevel := signplus.ENVELOPE_LEGALITY_LEVEL_SES request := signplus.SetEnvelopeLegalityLevelRequest{ LegalityLevel: &envelopeLegalityLevel, } response, err := client.Signplus.SetEnvelopeLegalityLevel(context.Background(), "envelope_id", request) if err != nil { panic(err) } fmt.Println(response) ``` ## GetEnvelopeAnnotations Get envelope annotations * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/annotations` **Parameters** | Name | Type | Required | Description | | :--------- | :------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | ID of the envelope | **Return Type** `[]Annotation` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) response, err := client.Signplus.GetEnvelopeAnnotations(context.Background(), "envelope_id") if err != nil { panic(err) } fmt.Println(response) ``` ## GetEnvelopeDocumentAnnotations Get envelope document annotations * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/annotations/{document_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | ID of the envelope | | documentId | string | ✅ | ID of document | **Return Type** `ListEnvelopeDocumentAnnotationsResponse` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) response, err := client.Signplus.GetEnvelopeDocumentAnnotations(context.Background(), "envelope_id", "document_id") if err != nil { panic(err) } fmt.Println(response) ``` ## AddEnvelopeAnnotation Add envelope annotation * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/annotation` **Parameters** | Name | Type | Required | Description | | :------------------- | :-------------------------------------------------------------------------------- | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | ID of the envelope | | addAnnotationRequest | [AddAnnotationRequest](/api-reference/endpoints/signplus/add-envelope-annotation) | ✅ | | **Return Type** `Annotation` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) annotationType := signplus.ANNOTATION_TYPE_TEXT annotationSignature := signplus.AnnotationSignature{ Id: util.ToPointer("id"), } annotationInitials := signplus.AnnotationInitials{ Id: util.ToPointer("id"), } annotationFontFamily := signplus.ANNOTATION_FONT_FAMILY_UNKNOWN annotationFont := signplus.AnnotationFont{ Family: &annotationFontFamily, Italic: util.ToPointer(true), Bold: util.ToPointer(true), } annotationText := signplus.AnnotationText{ Size: util.ToPointer(float64(5.96)), Color: util.ToPointer(float64(8.73)), Value: util.ToPointer("value"), Tooltip: util.ToPointer("tooltip"), DynamicFieldName: util.ToPointer("dynamic_field_name"), Font: &annotationFont, } annotationFontFamily := signplus.ANNOTATION_FONT_FAMILY_UNKNOWN annotationFont := signplus.AnnotationFont{ Family: &annotationFontFamily, Italic: util.ToPointer(true), Bold: util.ToPointer(true), } annotationDateTimeFormat := signplus.ANNOTATION_DATE_TIME_FORMAT_DMY_NUMERIC_SLASH annotationDateTime := signplus.AnnotationDateTime{ Size: util.ToPointer(float64(0.26)), Font: &annotationFont, Color: util.ToPointer("color"), AutoFill: util.ToPointer(true), Timezone: util.ToPointer("timezone"), Timestamp: util.ToPointer(int64(1)), Format: &annotationDateTimeFormat, } annotationCheckboxStyle := signplus.ANNOTATION_CHECKBOX_STYLE_CIRCLE_CHECK annotationCheckbox := signplus.AnnotationCheckbox{ Checked: util.ToPointer(true), Style: &annotationCheckboxStyle, } request := signplus.AddAnnotationRequest{ RecipientId: util.ToPointer("recipient_id"), DocumentId: util.ToPointer("document_id"), Page: util.ToPointer(int64(2)), X: util.ToPointer(float64(1.99)), Y: util.ToPointer(float64(8.2)), Width: util.ToPointer(float64(4.89)), Height: util.ToPointer(float64(9.43)), Required: util.ToPointer(true), Type_: &annotationType, Signature: &annotationSignature, Initials: &annotationInitials, Text: &annotationText, Datetime: &annotationDateTime, Checkbox: &annotationCheckbox, } response, err := client.Signplus.AddEnvelopeAnnotation(context.Background(), "envelope_id", request) if err != nil { panic(err) } fmt.Println(response) ``` ## DeleteEnvelopeAnnotation Delete envelope annotation * HTTP Method: `DELETE` * Endpoint: `/envelope/{envelope_id}/annotation/{annotation_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :------ | :------- | :----------------------------- | | ctx | Context | ✅ | Default go language context | | envelopeId | string | ✅ | ID of the envelope | | annotationId | string | ✅ | ID of the annotation to delete | **Return Type** `any` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) response, err := client.Signplus.DeleteEnvelopeAnnotation(context.Background(), "envelope_id", "annotation_id") if err != nil { panic(err) } fmt.Println(response) ``` ## CreateTemplate Create new template * HTTP Method: `POST` * Endpoint: `/template` **Parameters** | Name | Type | Required | Description | | :-------------------- | :----------------------------------------------------------------------------- | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | createTemplateRequest | [CreateTemplateRequest](/api-reference/endpoints/signplus/create-new-template) | ✅ | | **Return Type** `Template` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) request := signplus.CreateTemplateRequest{ Name: util.ToPointer("name"), } response, err := client.Signplus.CreateTemplate(context.Background(), request) if err != nil { panic(err) } fmt.Println(response) ``` ## ListTemplates List templates * HTTP Method: `POST` * Endpoint: `/templates` **Parameters** | Name | Type | Required | Description | | :------------------- | :----------------------------------------------------------------------- | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | listTemplatesRequest | [ListTemplatesRequest](/api-reference/endpoints/signplus/list-templates) | ✅ | | **Return Type** `ListTemplatesResponse` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) templateOrderField := signplus.TEMPLATE_ORDER_FIELD_TEMPLATE_ID request := signplus.ListTemplatesRequest{ Name: util.ToPointer("name"), Tags: []string{}, Ids: []string{}, First: util.ToPointer(int64(1)), Last: util.ToPointer(int64(6)), After: util.ToPointer("after"), Before: util.ToPointer("before"), OrderField: &templateOrderField, Ascending: util.ToPointer(true), } response, err := client.Signplus.ListTemplates(context.Background(), request) if err != nil { panic(err) } fmt.Println(response) ``` ## GetTemplate Get template * HTTP Method: `GET` * Endpoint: `/template/{template_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | templateId | string | ✅ | | **Return Type** `Template` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) response, err := client.Signplus.GetTemplate(context.Background(), "template_id") if err != nil { panic(err) } fmt.Println(response) ``` ## DeleteTemplate Delete template * HTTP Method: `DELETE` * Endpoint: `/template/{template_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | templateId | string | ✅ | | **Return Type** `any` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) response, err := client.Signplus.DeleteTemplate(context.Background(), "template_id") if err != nil { panic(err) } fmt.Println(response) ``` ## DuplicateTemplate Duplicate template * HTTP Method: `POST` * Endpoint: `/template/{template_id}/duplicate` **Parameters** | Name | Type | Required | Description | | :--------- | :------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | templateId | string | ✅ | | **Return Type** `Template` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) response, err := client.Signplus.DuplicateTemplate(context.Background(), "template_id") if err != nil { panic(err) } fmt.Println(response) ``` ## AddTemplateDocument Add template document * HTTP Method: `POST` * Endpoint: `/template/{template_id}/document` **Parameters** | Name | Type | Required | Description | | :------------------------- | :------------------------- | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | templateId | string | ✅ | | | addTemplateDocumentRequest | AddTemplateDocumentRequest | ✅ | | **Return Type** `Document` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) request := signplus.AddTemplateDocumentRequest{ File: []byte{}, } response, err := client.Signplus.AddTemplateDocument(context.Background(), "template_id", request) if err != nil { panic(err) } fmt.Println(response) ``` ## GetTemplateDocument Get template document * HTTP Method: `GET` * Endpoint: `/template/{template_id}/document/{document_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | templateId | string | ✅ | | | documentId | string | ✅ | | **Return Type** `Document` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) response, err := client.Signplus.GetTemplateDocument(context.Background(), "template_id", "document_id") if err != nil { panic(err) } fmt.Println(response) ``` ## GetTemplateDocuments Get template documents * HTTP Method: `GET` * Endpoint: `/template/{template_id}/documents` **Parameters** | Name | Type | Required | Description | | :--------- | :------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | templateId | string | ✅ | | **Return Type** `ListTemplateDocumentsResponse` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) response, err := client.Signplus.GetTemplateDocuments(context.Background(), "template_id") if err != nil { panic(err) } fmt.Println(response) ``` ## AddTemplateSigningSteps Add template signing steps * HTTP Method: `POST` * Endpoint: `/template/{template_id}/signing_steps` **Parameters** | Name | Type | Required | Description | | :----------------------------- | :----------------------------- | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | templateId | string | ✅ | | | addTemplateSigningStepsRequest | AddTemplateSigningStepsRequest | ✅ | | **Return Type** `Template` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) templateRecipientRole := signplus.TEMPLATE_RECIPIENT_ROLE_SIGNER templateRecipient := signplus.TemplateRecipient{ Id: util.ToPointer("id"), Uid: util.ToPointer("uid"), Name: util.ToPointer("name"), Email: util.ToPointer("email"), Role: &templateRecipientRole, } templateSigningStep := signplus.TemplateSigningStep{ Recipients: []signplus.TemplateRecipient{templateRecipient}, } request := signplus.AddTemplateSigningStepsRequest{ SigningSteps: []signplus.TemplateSigningStep{templateSigningStep}, } response, err := client.Signplus.AddTemplateSigningSteps(context.Background(), "template_id", request) if err != nil { panic(err) } fmt.Println(response) ``` ## RenameTemplate Rename template * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/rename` **Parameters** | Name | Type | Required | Description | | :-------------------- | :-------------------- | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | templateId | string | ✅ | | | renameTemplateRequest | RenameTemplateRequest | ✅ | | **Return Type** `Template` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) request := signplus.RenameTemplateRequest{ Name: util.ToPointer("name"), } response, err := client.Signplus.RenameTemplate(context.Background(), "template_id", request) if err != nil { panic(err) } fmt.Println(response) ``` ## SetTemplateComment Set template comment * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/set_comment` **Parameters** | Name | Type | Required | Description | | :------------------------ | :------------------------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | templateId | string | ✅ | | | setTemplateCommentRequest | SetTemplateCommentRequest | ✅ | | **Return Type** `Template` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) request := signplus.SetTemplateCommentRequest{ Comment: util.ToPointer("comment"), } response, err := client.Signplus.SetTemplateComment(context.Background(), "template_id", request) if err != nil { panic(err) } fmt.Println(response) ``` ## SetTemplateNotification Set template notification * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/set_notification` **Parameters** | Name | Type | Required | Description | | :------------------- | :------------------- | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | templateId | string | ✅ | | | envelopeNotification | EnvelopeNotification | ✅ | | **Return Type** `Template` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) request := signplus.EnvelopeNotification{ Subject: util.ToPointer("subject"), Message: util.ToPointer("message"), ReminderInterval: util.ToPointer(int64(1)), } response, err := client.Signplus.SetTemplateNotification(context.Background(), "template_id", request) if err != nil { panic(err) } fmt.Println(response) ``` ## GetTemplateAnnotations Get template annotations * HTTP Method: `GET` * Endpoint: `/template/{template_id}/annotations` **Parameters** | Name | Type | Required | Description | | :--------- | :------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | templateId | string | ✅ | ID of the template | **Return Type** `ListTemplateAnnotationsResponse` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) response, err := client.Signplus.GetTemplateAnnotations(context.Background(), "template_id") if err != nil { panic(err) } fmt.Println(response) ``` ## GetDocumentTemplateAnnotations Get document template annotations * HTTP Method: `GET` * Endpoint: `/template/{template_id}/annotations/{document_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | templateId | string | ✅ | ID of the template | | documentId | string | ✅ | ID of document | **Return Type** `ListTemplateDocumentAnnotationsResponse` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) response, err := client.Signplus.GetDocumentTemplateAnnotations(context.Background(), "template_id", "document_id") if err != nil { panic(err) } fmt.Println(response) ``` ## AddTemplateAnnotation Add template annotation * HTTP Method: `POST` * Endpoint: `/template/{template_id}/annotation` **Parameters** | Name | Type | Required | Description | | :------------------- | :-------------------------------------------------------------------------------- | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | templateId | string | ✅ | ID of the template | | addAnnotationRequest | [AddAnnotationRequest](/api-reference/endpoints/signplus/add-envelope-annotation) | ✅ | | **Return Type** `Annotation` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) annotationType := signplus.ANNOTATION_TYPE_TEXT annotationSignature := signplus.AnnotationSignature{ Id: util.ToPointer("id"), } annotationInitials := signplus.AnnotationInitials{ Id: util.ToPointer("id"), } annotationFontFamily := signplus.ANNOTATION_FONT_FAMILY_UNKNOWN annotationFont := signplus.AnnotationFont{ Family: &annotationFontFamily, Italic: util.ToPointer(true), Bold: util.ToPointer(true), } annotationText := signplus.AnnotationText{ Size: util.ToPointer(float64(5.96)), Color: util.ToPointer(float64(8.73)), Value: util.ToPointer("value"), Tooltip: util.ToPointer("tooltip"), DynamicFieldName: util.ToPointer("dynamic_field_name"), Font: &annotationFont, } annotationFontFamily := signplus.ANNOTATION_FONT_FAMILY_UNKNOWN annotationFont := signplus.AnnotationFont{ Family: &annotationFontFamily, Italic: util.ToPointer(true), Bold: util.ToPointer(true), } annotationDateTimeFormat := signplus.ANNOTATION_DATE_TIME_FORMAT_DMY_NUMERIC_SLASH annotationDateTime := signplus.AnnotationDateTime{ Size: util.ToPointer(float64(0.26)), Font: &annotationFont, Color: util.ToPointer("color"), AutoFill: util.ToPointer(true), Timezone: util.ToPointer("timezone"), Timestamp: util.ToPointer(int64(1)), Format: &annotationDateTimeFormat, } annotationCheckboxStyle := signplus.ANNOTATION_CHECKBOX_STYLE_CIRCLE_CHECK annotationCheckbox := signplus.AnnotationCheckbox{ Checked: util.ToPointer(true), Style: &annotationCheckboxStyle, } request := signplus.AddAnnotationRequest{ RecipientId: util.ToPointer("recipient_id"), DocumentId: util.ToPointer("document_id"), Page: util.ToPointer(int64(2)), X: util.ToPointer(float64(1.99)), Y: util.ToPointer(float64(8.2)), Width: util.ToPointer(float64(4.89)), Height: util.ToPointer(float64(9.43)), Required: util.ToPointer(true), Type_: &annotationType, Signature: &annotationSignature, Initials: &annotationInitials, Text: &annotationText, Datetime: &annotationDateTime, Checkbox: &annotationCheckbox, } response, err := client.Signplus.AddTemplateAnnotation(context.Background(), "template_id", request) if err != nil { panic(err) } fmt.Println(response) ``` ## DeleteTemplateAnnotation Delete template annotation * HTTP Method: `DELETE` * Endpoint: `/template/{template_id}/annotation/{annotation_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :------ | :------- | :----------------------------- | | ctx | Context | ✅ | Default go language context | | templateId | string | ✅ | ID of the template | | annotationId | string | ✅ | ID of the annotation to delete | **Return Type** `any` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) response, err := client.Signplus.DeleteTemplateAnnotation(context.Background(), "template_id", "annotation_id") if err != nil { panic(err) } fmt.Println(response) ``` ## SetTemplateAttachmentsSettings Set template attachment settings * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/attachments/settings` **Parameters** | Name | Type | Required | Description | | :------------------------------------ | :------------------------------------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | templateId | string | ✅ | | | setEnvelopeAttachmentsSettingsRequest | SetEnvelopeAttachmentsSettingsRequest | ✅ | | **Return Type** `EnvelopeAttachments` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) attachmentSettings := signplus.AttachmentSettings{ VisibleToRecipients: util.ToPointer(true), } request := signplus.SetEnvelopeAttachmentsSettingsRequest{ Settings: &attachmentSettings, } response, err := client.Signplus.SetTemplateAttachmentsSettings(context.Background(), "template_id", request) if err != nil { panic(err) } fmt.Println(response) ``` ## SetTemplateAttachmentsPlaceholders Placeholders to be set, completely replacing the existing ones. * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/attachments/placeholders` **Parameters** | Name | Type | Required | Description | | :---------------------------------------- | :---------------------------------------- | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | templateId | string | ✅ | | | setEnvelopeAttachmentsPlaceholdersRequest | SetEnvelopeAttachmentsPlaceholdersRequest | ✅ | | **Return Type** `EnvelopeAttachments` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) attachmentPlaceholderRequest := signplus.AttachmentPlaceholderRequest{ RecipientId: util.ToPointer("recipient_id"), Id: util.ToPointer("id"), Name: util.ToPointer("name"), Hint: util.ToPointer("hint"), Required: util.ToPointer(true), Multiple: util.ToPointer(true), } request := signplus.SetEnvelopeAttachmentsPlaceholdersRequest{ Placeholders: []signplus.AttachmentPlaceholderRequest{attachmentPlaceholderRequest}, } response, err := client.Signplus.SetTemplateAttachmentsPlaceholders(context.Background(), "template_id", request) if err != nil { panic(err) } fmt.Println(response) ``` ## CreateWebhook Create webhook * HTTP Method: `POST` * Endpoint: `/webhook` **Parameters** | Name | Type | Required | Description | | :------------------- | :----------------------------------------------------------------------- | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | createWebhookRequest | [CreateWebhookRequest](/api-reference/endpoints/signplus/create-webhook) | ✅ | | **Return Type** `Webhook` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) webhookEvent := signplus.WEBHOOK_EVENT_ENVELOPE_EXPIRED request := signplus.CreateWebhookRequest{ Event: &webhookEvent, Target: util.ToPointer("target"), } response, err := client.Signplus.CreateWebhook(context.Background(), request) if err != nil { panic(err) } fmt.Println(response) ``` ## ListWebhooks List webhooks * HTTP Method: `POST` * Endpoint: `/webhooks` **Parameters** | Name | Type | Required | Description | | :------------------ | :--------------------------------------------------------------------- | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | listWebhooksRequest | [ListWebhooksRequest](/api-reference/endpoints/signplus/list-webhooks) | ✅ | | **Return Type** `ListWebhooksResponse` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" "github.com/alohihq/signplus-go/pkg/util" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) webhookEvent := signplus.WEBHOOK_EVENT_ENVELOPE_EXPIRED request := signplus.ListWebhooksRequest{ WebhookId: util.ToPointer("webhook_id"), Event: &webhookEvent, } response, err := client.Signplus.ListWebhooks(context.Background(), request) if err != nil { panic(err) } fmt.Println(response) ``` ## DeleteWebhook Delete webhook * HTTP Method: `DELETE` * Endpoint: `/webhook/{webhook_id}` **Parameters** | Name | Type | Required | Description | | :-------- | :------ | :------- | :-------------------------- | | ctx | Context | ✅ | Default go language context | | webhookId | string | ✅ | | **Return Type** `any` **Example Usage Code Snippet** ```go theme={null} import ( "fmt" "encoding/json" "github.com/alohihq/signplus-go/pkg/signplusconfig" "github.com/alohihq/signplus-go/pkg/signplus" ) config := signplusconfig.NewConfig() config.SetAccessToken("ACCESS_TOKEN") client := signplus.NewSignplus(config) response, err := client.Signplus.DeleteWebhook(context.Background(), "webhook_id") if err != nil { panic(err) } fmt.Println(response) ``` # Models # Document **Properties** | Name | Type | Required | Description | | :-------- | :--------------- | :------- | :-------------------------------- | | Id | string | ❌ | Unique identifier of the document | | Name | string | ❌ | Name of the document | | Filename | string | ❌ | Filename of the document | | PageCount | int64 | ❌ | Number of pages in the document | | Pages | \[]signplus.Page | ❌ | List of pages in the document | # SetEnvelopeAttachmentsSettingsRequest **Properties** | Name | Type | Required | Description | | :------- | :-------------------------- | :------- | :---------- | | Settings | signplus.AttachmentSettings | ✅ | | # TemplateSigningStep **Properties** | Name | Type | Required | Description | | :--------- | :---------------------------- | :------- | :----------------- | | Recipients | \[]signplus.TemplateRecipient | ❌ | List of recipients | # ListEnvelopeDocumentAnnotationsResponse **Properties** | Name | Type | Required | Description | | :---------- | :--------------------- | :------- | :---------- | | Annotations | \[]signplus.Annotation | ❌ | | # Template **Properties** | Name | Type | Required | Description | | :-------------- | :------------------------------ | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Id | string | ❌ | Unique identifier of the template | | Name | string | ❌ | Name of the template | | Comment | string | ❌ | Comment for the template | | Pages | int64 | ❌ | Total number of pages in the template | | LegalityLevel | signplus.EnvelopeLegalityLevel | ❌ | Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) | | CreatedAt | int64 | ❌ | Unix timestamp of the creation date | | UpdatedAt | int64 | ❌ | Unix timestamp of the last modification date | | ExpirationDelay | int64 | ❌ | Expiration delay added to the current time when an envelope is created from this template | | NumRecipients | int64 | ❌ | Number of recipients in the envelope | | SigningSteps | \[]signplus.TemplateSigningStep | ❌ | | | Documents | \[]signplus.Document | ❌ | | | Notification | signplus.EnvelopeNotification | ❌ | | | DynamicFields | \[]string | ❌ | List of dynamic fields | | Attachments | signplus.EnvelopeAttachments | ❌ | | # WebhookEvent Event of the webhook **Properties** | Name | Type | Required | Description | | :--------------------- | :----- | :------- | :----------------------- | | ENVELOPE\_EXPIRED | string | ✅ | "ENVELOPE\_EXPIRED" | | ENVELOPE\_DECLINED | string | ✅ | "ENVELOPE\_DECLINED" | | ENVELOPE\_VOIDED | string | ✅ | "ENVELOPE\_VOIDED" | | ENVELOPE\_COMPLETED | string | ✅ | "ENVELOPE\_COMPLETED" | | ENVELOPE\_AUDIT\_TRAIL | string | ✅ | "ENVELOPE\_AUDIT\_TRAIL" | # RenameTemplateRequest **Properties** | Name | Type | Required | Description | | :--- | :----- | :------- | :------------------- | | Name | string | ✅ | Name of the template | # AnnotationCheckboxStyle Style of the checkbox **Properties** | Name | Type | Required | Description | | :------------ | :----- | :------- | :-------------- | | CIRCLE\_CHECK | string | ✅ | "CIRCLE\_CHECK" | | CIRCLE\_FULL | string | ✅ | "CIRCLE\_FULL" | | SQUARE\_CHECK | string | ✅ | "SQUARE\_CHECK" | | SQUARE\_FULL | string | ✅ | "SQUARE\_FULL" | | CHECK\_MARK | string | ✅ | "CHECK\_MARK" | | TIMES\_SQUARE | string | ✅ | "TIMES\_SQUARE" | # AnnotationInitials Initials annotation (null if annotation is not initials) **Properties** | Name | Type | Required | Description | | :--- | :----- | :------- | :------------------------------------------- | | Id | string | ❌ | Unique identifier of the annotation initials | # AttachmentPlaceholderFile **Properties** | Name | Type | Required | Description | | :------- | :----- | :------- | :------------------------ | | Id | string | ❌ | ID of the file | | Name | string | ❌ | Name of the file | | Size | int64 | ❌ | Size of the file in bytes | | Mimetype | string | ❌ | MIME type of the file | # RenameEnvelopeRequest **Properties** | Name | Type | Required | Description | | :--- | :----- | :------- | :------------------- | | Name | string | ❌ | Name of the envelope | # DynamicField **Properties** | Name | Type | Required | Description | | :---- | :----- | :------- | :------------------------- | | Name | string | ❌ | Name of the dynamic field | | Value | string | ❌ | Value of the dynamic field | # SetEnvelopeDynamicFieldsRequest **Properties** | Name | Type | Required | Description | | :------------ | :----------------------- | :------- | :--------------------- | | DynamicFields | \[]signplus.DynamicField | ✅ | List of dynamic fields | # AddEnvelopeSigningStepsRequest **Properties** | Name | Type | Required | Description | | :----------- | :---------------------- | :------- | :-------------------- | | SigningSteps | \[]signplus.SigningStep | ❌ | List of signing steps | # EnvelopeFlowType Flow type of the envelope (REQUEST\_SIGNATURE is a request for signature, SIGN\_MYSELF is a self-signing flow) **Properties** | Name | Type | Required | Description | | :----------------- | :----- | :------- | :------------------- | | REQUEST\_SIGNATURE | string | ✅ | "REQUEST\_SIGNATURE" | | SIGN\_MYSELF | string | ✅ | "SIGN\_MYSELF" | # SetEnvelopeCommentRequest **Properties** | Name | Type | Required | Description | | :------ | :----- | :------- | :----------------------- | | Comment | string | ✅ | Comment for the envelope | # AnnotationText Text annotation (null if annotation is not a text) **Properties** | Name | Type | Required | Description | | :--------------- | :---------------------- | :------- | :--------------------------------- | | Size | float64 | ❌ | Font size of the text in pt | | Color | float64 | ❌ | Text color in 32bit representation | | Value | string | ❌ | Text content of the annotation | | Tooltip | string | ❌ | Tooltip of the annotation | | DynamicFieldName | string | ❌ | Name of the dynamic field | | Font | signplus.AnnotationFont | ❌ | | # Envelope **Properties** | Name | Type | Required | Description | | :------------ | :----------------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Id | string | ❌ | Unique identifier of the envelope | | Name | string | ❌ | Name of the envelope | | Comment | string | ❌ | Comment for the envelope | | Pages | int64 | ❌ | Total number of pages in the envelope | | FlowType | signplus.EnvelopeFlowType | ❌ | Flow type of the envelope (REQUEST\_SIGNATURE is a request for signature, SIGN\_MYSELF is a self-signing flow) | | LegalityLevel | signplus.EnvelopeLegalityLevel | ❌ | Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) | | Status | signplus.EnvelopeStatus | ❌ | Status of the envelope | | CreatedAt | int64 | ❌ | Unix timestamp of the creation date | | UpdatedAt | int64 | ❌ | Unix timestamp of the last modification date | | ExpiresAt | int64 | ❌ | Unix timestamp of the expiration date | | NumRecipients | int64 | ❌ | Number of recipients in the envelope | | IsDuplicable | bool | ❌ | Whether the envelope can be duplicated | | SigningSteps | \[]signplus.SigningStep | ❌ | | | Documents | \[]signplus.Document | ❌ | | | Notification | signplus.EnvelopeNotification | ❌ | | | Attachments | signplus.EnvelopeAttachments | ❌ | | # AddTemplateSigningStepsRequest **Properties** | Name | Type | Required | Description | | :----------- | :------------------------------ | :------- | :-------------------- | | SigningSteps | \[]signplus.TemplateSigningStep | ✅ | List of signing steps | # AttachmentPlaceholder **Properties** | Name | Type | Required | Description | | :---------- | :------------------------------------ | :------- | :--------------------------------------------------------- | | RecipientId | string | ❌ | ID of the recipient | | Id | string | ❌ | ID of the attachment placeholder | | Name | string | ❌ | Name of the attachment placeholder | | Hint | string | ❌ | Hint of the attachment placeholder | | Required | bool | ❌ | Whether the attachment placeholder is required | | Multiple | bool | ❌ | Whether the attachment placeholder can have multiple files | | Files | \[]signplus.AttachmentPlaceholderFile | ❌ | | # CreateEnvelopeRequest **Properties** | Name | Type | Required | Description | | :------------ | :----------------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Name | string | ✅ | Name of the envelope | | LegalityLevel | signplus.EnvelopeLegalityLevel | ✅ | Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) | | ExpiresAt | int64 | ❌ | Unix timestamp of the expiration date | | Comment | string | ❌ | Comment for the envelope | | Sandbox | bool | ❌ | Whether the envelope is created in sandbox mode | # TemplateRecipientRole Role of the recipient (SIGNER signs the document, RECEIVES\_COPY receives a copy of the document, IN\_PERSON\_SIGNER signs the document in person, SENDER sends the document) **Properties** | Name | Type | Required | Description | | :----------------- | :----- | :------- | :------------------- | | SIGNER | string | ✅ | "SIGNER" | | RECEIVES\_COPY | string | ✅ | "RECEIVES\_COPY" | | IN\_PERSON\_SIGNER | string | ✅ | "IN\_PERSON\_SIGNER" | | SENDER | string | ✅ | "SENDER" | # ListWebhooksRequest **Properties** | Name | Type | Required | Description | | :-------- | :-------------------- | :------- | :------------------- | | WebhookId | string | ❌ | ID of the webhook | | Event | signplus.WebhookEvent | ❌ | Event of the webhook | # AnnotationDateTimeFormat Format of the date time (DMY\_NUMERIC\_SLASH is day/month/year with slashes, MDY\_NUMERIC\_SLASH is month/day/year with slashes, YMD\_NUMERIC\_SLASH is year/month/day with slashes, DMY\_NUMERIC\_DASH\_SHORT is day/month/year with dashes, DMY\_NUMERIC\_DASH is day/month/year with dashes, YMD\_NUMERIC\_DASH is year/month/day with dashes, MDY\_TEXT\_DASH\_SHORT is month/day/year with dashes, MDY\_TEXT\_SPACE\_SHORT is month/day/year with spaces, MDY\_TEXT\_SPACE is month/day/year with spaces) **Properties** | Name | Type | Required | Description | | :------------------------ | :----- | :------- | :-------------------------- | | DMY\_NUMERIC\_SLASH | string | ✅ | "DMY\_NUMERIC\_SLASH" | | MDY\_NUMERIC\_SLASH | string | ✅ | "MDY\_NUMERIC\_SLASH" | | YMD\_NUMERIC\_SLASH | string | ✅ | "YMD\_NUMERIC\_SLASH" | | DMY\_NUMERIC\_DASH\_SHORT | string | ✅ | "DMY\_NUMERIC\_DASH\_SHORT" | | DMY\_NUMERIC\_DASH | string | ✅ | "DMY\_NUMERIC\_DASH" | | YMD\_NUMERIC\_DASH | string | ✅ | "YMD\_NUMERIC\_DASH" | | MDY\_TEXT\_DASH\_SHORT | string | ✅ | "MDY\_TEXT\_DASH\_SHORT" | | MDY\_TEXT\_SPACE\_SHORT | string | ✅ | "MDY\_TEXT\_SPACE\_SHORT" | | MDY\_TEXT\_SPACE | string | ✅ | "MDY\_TEXT\_SPACE" | # ListTemplateDocumentAnnotationsResponse **Properties** | Name | Type | Required | Description | | :---------- | :--------------------- | :------- | :---------- | | Annotations | \[]signplus.Annotation | ❌ | | # AnnotationFontFamily Font family of the text **Properties** | Name | Type | Required | Description | | :------ | :----- | :------- | :---------- | | UNKNOWN | string | ✅ | "UNKNOWN" | | SERIF | string | ✅ | "SERIF" | | SANS | string | ✅ | "SANS" | | MONO | string | ✅ | "MONO" | # CreateTemplateRequest **Properties** | Name | Type | Required | Description | | :--- | :----- | :------- | :---------- | | Name | string | ✅ | | # AddTemplateDocumentRequest **Properties** | Name | Type | Required | Description | | :--- | :------ | :------- | :------------------------------ | | File | \[]byte | ✅ | File to upload in binary format | # SetEnvelopeExpirationRequest **Properties** | Name | Type | Required | Description | | :-------- | :---- | :------- | :------------------------------------ | | ExpiresAt | int64 | ✅ | Unix timestamp of the expiration date | # SetEnvelopeLegalityLevelRequest **Properties** | Name | Type | Required | Description | | :------------ | :----------------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | LegalityLevel | signplus.EnvelopeLegalityLevel | ❌ | Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) | # ListTemplatesResponse **Properties** | Name | Type | Required | Description | | :-------------- | :------------------- | :------- | :------------------------------- | | HasNextPage | bool | ❌ | Whether there is a next page | | HasPreviousPage | bool | ❌ | Whether there is a previous page | | Templates | \[]signplus.Template | ❌ | | # SetTemplateCommentRequest **Properties** | Name | Type | Required | Description | | :------ | :----- | :------- | :----------------------- | | Comment | string | ✅ | Comment for the template | # ListEnvelopesResponse **Properties** | Name | Type | Required | Description | | :-------------- | :------------------- | :------- | :------------------------------- | | HasNextPage | bool | ❌ | Whether there is a next page | | HasPreviousPage | bool | ❌ | Whether there is a previous page | | Envelopes | \[]signplus.Envelope | ❌ | | # ListTemplatesRequest **Properties** | Name | Type | Required | Description | | :--------- | :-------------------------- | :------- | :-------------------------------------------- | | Name | string | ❌ | Name of the template | | Tags | \[]string | ❌ | List of tag templates | | Ids | \[]string | ❌ | List of templates IDs | | First | int64 | ❌ | | | Last | int64 | ❌ | | | After | string | ❌ | | | Before | string | ❌ | | | OrderField | signplus.TemplateOrderField | ❌ | Field to order templates by | | Ascending | bool | ❌ | Whether to order templates in ascending order | # AnnotationFont **Properties** | Name | Type | Required | Description | | :----- | :---------------------------- | :------- | :------------------------- | | Family | signplus.AnnotationFontFamily | ❌ | Font family of the text | | Italic | bool | ❌ | Whether the text is italic | | Bold | bool | ❌ | Whether the text is bold | # AnnotationType Type of the annotation **Properties** | Name | Type | Required | Description | | :-------- | :----- | :------- | :---------- | | TEXT | string | ✅ | "TEXT" | | SIGNATURE | string | ✅ | "SIGNATURE" | | INITIALS | string | ✅ | "INITIALS" | | CHECKBOX | string | ✅ | "CHECKBOX" | | DATE | string | ✅ | "DATE" | # ListWebhooksResponse **Properties** | Name | Type | Required | Description | | :------- | :------------------ | :------- | :---------- | | Webhooks | \[]signplus.Webhook | ❌ | | # Webhook **Properties** | Name | Type | Required | Description | | :----- | :-------------------- | :------- | :------------------------------- | | Id | string | ❌ | Unique identifier of the webhook | | Event | signplus.WebhookEvent | ❌ | Event of the webhook | | Target | string | ❌ | Target URL of the webhook | # CreateEnvelopeFromTemplateRequest **Properties** | Name | Type | Required | Description | | :------ | :----- | :------- | :---------------------------------------------- | | Name | string | ✅ | Name of the envelope | | Comment | string | ❌ | Comment for the envelope | | Sandbox | bool | ❌ | Whether the envelope is created in sandbox mode | # RecipientRole Role of the recipient (SIGNER signs the document, RECEIVES\_COPY receives a copy of the document, IN\_PERSON\_SIGNER signs the document in person, SENDER sends the document) **Properties** | Name | Type | Required | Description | | :----------------- | :----- | :------- | :------------------- | | SIGNER | string | ✅ | "SIGNER" | | RECEIVES\_COPY | string | ✅ | "RECEIVES\_COPY" | | IN\_PERSON\_SIGNER | string | ✅ | "IN\_PERSON\_SIGNER" | # EnvelopeLegalityLevel Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) **Properties** | Name | Type | Required | Description | | :---------- | :----- | :------- | :------------ | | SES | string | ✅ | "SES" | | QES\_EIDAS | string | ✅ | "QES\_EIDAS" | | QES\_ZERTES | string | ✅ | "QES\_ZERTES" | # ListTemplateDocumentsResponse **Properties** | Name | Type | Required | Description | | :-------- | :------------------- | :------- | :---------- | | Documents | \[]signplus.Document | ❌ | | # TemplateRecipient **Properties** | Name | Type | Required | Description | | :---- | :----------------------------- | :------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Id | string | ❌ | Unique identifier of the recipient | | Uid | string | ❌ | Unique identifier of the user associated with the recipient | | Name | string | ❌ | Name of the recipient | | Email | string | ❌ | Email of the recipient | | Role | signplus.TemplateRecipientRole | ❌ | Role of the recipient (SIGNER signs the document, RECEIVES\_COPY receives a copy of the document, IN\_PERSON\_SIGNER signs the document in person, SENDER sends the document) | # RecipientVerification **Properties** | Name | Type | Required | Description | | :----- | :--------------------------------- | :------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Type\_ | signplus.RecipientVerificationType | ❌ | Type of verification the recipient must complete before accessing the envelope. - `PASSCODE`: requires a code to be entered. - `SMS`: sends a code via SMS. - `ID_VERIFICATION`: prompts the recipient to complete an automated ID and selfie check. | | Value | string | ❌ | Required for `PASSCODE` and `SMS` verification. - `PASSCODE`: code required by the recipient to sign the document. - `SMS`: recipient's phone number. - `ID_VERIFICATION`: leave empty. | # ListTemplateAnnotationsResponse **Properties** | Name | Type | Required | Description | | :---------- | :--------------------- | :------- | :---------- | | Annotations | \[]signplus.Annotation | ❌ | | # SetEnvelopeAttachmentsPlaceholdersRequest **Properties** | Name | Type | Required | Description | | :----------- | :--------------------------------------- | :------- | :---------- | | Placeholders | \[]signplus.AttachmentPlaceholderRequest | ✅ | | # AttachmentPlaceholderRequest **Properties** | Name | Type | Required | Description | | :---------- | :----- | :------- | :--------------------------------------------- | | RecipientId | string | ✅ | ID of the recipient | | Name | string | ✅ | | | Required | bool | ✅ | Whether the attachment placeholder is required | | Multiple | bool | ✅ | | | Id | string | ❌ | ID of the attachment placeholder | | Hint | string | ❌ | Hint of the attachment placeholder | # Annotation **Properties** | Name | Type | Required | Description | | :---------- | :--------------------------- | :------- | :---------------------------------------------------------------------------------------------- | | Id | string | ❌ | Unique identifier of the annotation | | RecipientId | string | ❌ | ID of the recipient | | DocumentId | string | ❌ | ID of the document | | Page | int64 | ❌ | Page number where the annotation is placed | | X | float64 | ❌ | X coordinate of the annotation (in % of the page width from 0 to 100) from the top left corner | | Y | float64 | ❌ | Y coordinate of the annotation (in % of the page height from 0 to 100) from the top left corner | | Width | float64 | ❌ | Width of the annotation (in % of the page width from 0 to 100) | | Height | float64 | ❌ | Height of the annotation (in % of the page height from 0 to 100) | | Required | bool | ❌ | Whether the annotation is required | | Type\_ | signplus.AnnotationType | ❌ | Type of the annotation | | Signature | signplus.AnnotationSignature | ❌ | Signature annotation (null if annotation is not a signature) | | Initials | signplus.AnnotationInitials | ❌ | Initials annotation (null if annotation is not initials) | | Text | signplus.AnnotationText | ❌ | Text annotation (null if annotation is not a text) | | Datetime | signplus.AnnotationDateTime | ❌ | Date annotation (null if annotation is not a date) | | Checkbox | signplus.AnnotationCheckbox | ❌ | Checkbox annotation (null if annotation is not a checkbox) | # ListEnvelopeDocumentsResponse **Properties** | Name | Type | Required | Description | | :-------- | :------------------- | :------- | :---------- | | Documents | \[]signplus.Document | ❌ | | # CreateWebhookRequest **Properties** | Name | Type | Required | Description | | :----- | :-------------------- | :------- | :------------------------ | | Event | signplus.WebhookEvent | ✅ | Event of the webhook | | Target | string | ✅ | URL of the webhook target | # Page **Properties** | Name | Type | Required | Description | | :----- | :---- | :------- | :--------------------------- | | Width | int64 | ❌ | Width of the page in pixels | | Height | int64 | ❌ | Height of the page in pixels | # Recipient **Properties** | Name | Type | Required | Description | | :----------- | :----------------------------- | :------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Name | string | ✅ | Name of the recipient | | Email | string | ✅ | Email of the recipient | | Role | signplus.RecipientRole | ✅ | Role of the recipient (SIGNER signs the document, RECEIVES\_COPY receives a copy of the document, IN\_PERSON\_SIGNER signs the document in person, SENDER sends the document) | | Id | string | ❌ | Unique identifier of the recipient | | Uid | string | ❌ | Unique identifier of the user associated with the recipient | | Verification | signplus.RecipientVerification | ❌ | | # EnvelopeOrderField Field to order envelopes by **Properties** | Name | Type | Required | Description | | :--------------------- | :----- | :------- | :----------------------- | | CREATION\_DATE | string | ✅ | "CREATION\_DATE" | | MODIFICATION\_DATE | string | ✅ | "MODIFICATION\_DATE" | | NAME | string | ✅ | "NAME" | | STATUS | string | ✅ | "STATUS" | | LAST\_DOCUMENT\_CHANGE | string | ✅ | "LAST\_DOCUMENT\_CHANGE" | # AttachmentPlaceholdersPerRecipient **Properties** | Name | Type | Required | Description | | :------------ | :-------------------------------- | :------- | :-------------------- | | RecipientId | string | ❌ | ID of the recipient | | RecipientName | string | ❌ | Name of the recipient | | Placeholders | \[]signplus.AttachmentPlaceholder | ❌ | | # EnvelopeAttachments **Properties** | Name | Type | Required | Description | | :--------- | :--------------------------------------------- | :------- | :---------- | | Settings | signplus.AttachmentSettings | ❌ | | | Recipients | \[]signplus.AttachmentPlaceholdersPerRecipient | ❌ | | # SigningStep **Properties** | Name | Type | Required | Description | | :--------- | :-------------------- | :------- | :----------------- | | Recipients | \[]signplus.Recipient | ❌ | List of recipients | # EnvelopeStatus Status of the envelope **Properties** | Name | Type | Required | Description | | :----------- | :----- | :------- | :------------- | | DRAFT | string | ✅ | "DRAFT" | | IN\_PROGRESS | string | ✅ | "IN\_PROGRESS" | | COMPLETED | string | ✅ | "COMPLETED" | | EXPIRED | string | ✅ | "EXPIRED" | | DECLINED | string | ✅ | "DECLINED" | | VOIDED | string | ✅ | "VOIDED" | | PENDING | string | ✅ | "PENDING" | # ListEnvelopesRequest **Properties** | Name | Type | Required | Description | | :------------- | :-------------------------- | :------- | :------------------------------------------------ | | Name | string | ❌ | Name of the envelope | | Tags | \[]string | ❌ | List of tags | | Comment | string | ❌ | Comment of the envelope | | Ids | \[]string | ❌ | List of envelope IDs | | Statuses | \[]signplus.EnvelopeStatus | ❌ | List of envelope statuses | | FolderIds | \[]string | ❌ | List of folder IDs | | OnlyRootFolder | bool | ❌ | Whether to only list envelopes in the root folder | | DateFrom | int64 | ❌ | Unix timestamp of the start date | | DateTo | int64 | ❌ | Unix timestamp of the end date | | Uid | string | ❌ | Unique identifier of the user | | First | int64 | ❌ | | | Last | int64 | ❌ | | | After | string | ❌ | | | Before | string | ❌ | | | OrderField | signplus.EnvelopeOrderField | ❌ | Field to order envelopes by | | Ascending | bool | ❌ | Whether to order envelopes in ascending order | | IncludeTrash | bool | ❌ | Whether to include envelopes in the trash | # RecipientVerificationType Type of verification the recipient must complete before accessing the envelope. - `PASSCODE`: requires a code to be entered. - `SMS`: sends a code via SMS. - `ID_VERIFICATION`: prompts the recipient to complete an automated ID and selfie check. **Properties** | Name | Type | Required | Description | | :--------------- | :----- | :------- | :----------------- | | SMS | string | ✅ | "SMS" | | PASSCODE | string | ✅ | "PASSCODE" | | ID\_VERIFICATION | string | ✅ | "ID\_VERIFICATION" | # TemplateOrderField Field to order templates by **Properties** | Name | Type | Required | Description | | :--------------------------- | :----- | :------- | :----------------------------- | | TEMPLATE\_ID | string | ✅ | "TEMPLATE\_ID" | | TEMPLATE\_CREATION\_DATE | string | ✅ | "TEMPLATE\_CREATION\_DATE" | | TEMPLATE\_MODIFICATION\_DATE | string | ✅ | "TEMPLATE\_MODIFICATION\_DATE" | | TEMPLATE\_NAME | string | ✅ | "TEMPLATE\_NAME" | # AnnotationCheckbox Checkbox annotation (null if annotation is not a checkbox) **Properties** | Name | Type | Required | Description | | :------ | :------------------------------- | :------- | :------------------------------ | | Checked | bool | ❌ | Whether the checkbox is checked | | Style | signplus.AnnotationCheckboxStyle | ❌ | Style of the checkbox | # AnnotationSignature Signature annotation (null if annotation is not a signature) **Properties** | Name | Type | Required | Description | | :--- | :----- | :------- | :-------------------------------------------- | | Id | string | ❌ | Unique identifier of the annotation signature | # AddAnnotationRequest **Properties** | Name | Type | Required | Description | | :---------- | :--------------------------- | :------- | :---------------------------------------------------------------------------------------------- | | DocumentId | string | ✅ | ID of the document | | Page | int64 | ✅ | Page number where the annotation is placed | | X | float64 | ✅ | X coordinate of the annotation (in % of the page width from 0 to 100) from the top left corner | | Y | float64 | ✅ | Y coordinate of the annotation (in % of the page height from 0 to 100) from the top left corner | | Width | float64 | ✅ | Width of the annotation (in % of the page width from 0 to 100) | | Height | float64 | ✅ | Height of the annotation (in % of the page height from 0 to 100) | | Type\_ | signplus.AnnotationType | ✅ | Type of the annotation | | RecipientId | string | ❌ | ID of the recipient | | Required | bool | ❌ | | | Signature | signplus.AnnotationSignature | ❌ | Signature annotation (null if annotation is not a signature) | | Initials | signplus.AnnotationInitials | ❌ | Initials annotation (null if annotation is not initials) | | Text | signplus.AnnotationText | ❌ | Text annotation (null if annotation is not a text) | | Datetime | signplus.AnnotationDateTime | ❌ | Date annotation (null if annotation is not a date) | | Checkbox | signplus.AnnotationCheckbox | ❌ | Checkbox annotation (null if annotation is not a checkbox) | # AttachmentSettings **Properties** | Name | Type | Required | Description | | :------------------ | :--- | :------- | :-------------------------------------------------- | | VisibleToRecipients | bool | ❌ | Whether the attachment is visible to the recipients | # AnnotationDateTime Date annotation (null if annotation is not a date) **Properties** | Name | Type | Required | Description | | :-------- | :-------------------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Size | float64 | ❌ | Font size of the text in pt | | Font | signplus.AnnotationFont | ❌ | | | Color | string | ❌ | Color of the text in hex format | | AutoFill | bool | ❌ | Whether the date should be automatically filled | | Timezone | string | ❌ | Timezone of the date | | Timestamp | int64 | ❌ | Unix timestamp of the date | | Format | signplus.AnnotationDateTimeFormat | ❌ | Format of the date time (DMY\_NUMERIC\_SLASH is day/month/year with slashes, MDY\_NUMERIC\_SLASH is month/day/year with slashes, YMD\_NUMERIC\_SLASH is year/month/day with slashes, DMY\_NUMERIC\_DASH\_SHORT is day/month/year with dashes, DMY\_NUMERIC\_DASH is day/month/year with dashes, YMD\_NUMERIC\_DASH is year/month/day with dashes, MDY\_TEXT\_DASH\_SHORT is month/day/year with dashes, MDY\_TEXT\_SPACE\_SHORT is month/day/year with spaces, MDY\_TEXT\_SPACE is month/day/year with spaces) | # AddEnvelopeDocumentRequest **Properties** | Name | Type | Required | Description | | :--- | :------ | :------- | :------------------------------ | | File | \[]byte | ❌ | File to upload in binary format | # EnvelopeNotification **Properties** | Name | Type | Required | Description | | :--------------- | :----- | :------- | :-------------------------------- | | Subject | string | ❌ | Subject of the notification | | Message | string | ❌ | Message of the notification | | ReminderInterval | int64 | ❌ | Interval in days to send reminder | # Install Source: https://apidoc.sign.plus/backend-sdks/java/install Add the Signplus Java SDK package to your project ```xml theme={null} com.alohi signplus 2.0.0 ``` Save the pom.xml file and run the following command to install the dependencies: ```bash theme={null} mvn install ``` Call your first SDK method ```java theme={null} 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); } } ``` Check out the SDK reference to see all the available methods and options # Sdk reference Source: https://apidoc.sign.plus/backend-sdks/java/sdk-reference A list of all methods in the `SignplusService` service. Click on the method name to view detailed information about that method. | Methods | Description | | :------------------------------------------------------------------------ | :-------------------------------------------------------------- | | [createEnvelope](#createenvelope) | Create new envelope | | [createEnvelopeFromTemplate](#createenvelopefromtemplate) | Create new envelope from template | | [listEnvelopes](#listenvelopes) | List envelopes | | [getEnvelope](#getenvelope) | Get envelope | | [deleteEnvelope](#deleteenvelope) | Delete envelope | | [downloadEnvelopeSignedDocuments](#downloadenvelopesigneddocuments) | Download signed documents for an envelope | | [downloadEnvelopeCertificate](#downloadenvelopecertificate) | Download certificate of completion for an envelope | | [getEnvelopeDocument](#getenvelopedocument) | Get envelope document | | [getEnvelopeDocuments](#getenvelopedocuments) | Get envelope documents | | [addEnvelopeDocument](#addenvelopedocument) | Add envelope document | | [setEnvelopeDynamicFields](#setenvelopedynamicfields) | Set envelope dynamic fields | | [addEnvelopeSigningSteps](#addenvelopesigningsteps) | Add envelope signing steps | | [setEnvelopeAttachmentsSettings](#setenvelopeattachmentssettings) | Set envelope attachment settings | | [setEnvelopeAttachmentsPlaceholders](#setenvelopeattachmentsplaceholders) | Placeholders to be set, completely replacing the existing ones. | | [getAttachmentFile](#getattachmentfile) | Get envelope attachment file | | [sendEnvelope](#sendenvelope) | Send envelope for signature | | [duplicateEnvelope](#duplicateenvelope) | Duplicate envelope | | [voidEnvelope](#voidenvelope) | Void envelope | | [renameEnvelope](#renameenvelope) | Rename envelope | | [setEnvelopeComment](#setenvelopecomment) | Set envelope comment | | [setEnvelopeNotification](#setenvelopenotification) | Set envelope notification | | [setEnvelopeExpirationDate](#setenvelopeexpirationdate) | Set envelope expiration date | | [setEnvelopeLegalityLevel](#setenvelopelegalitylevel) | Set envelope legality level | | [getEnvelopeAnnotations](#getenvelopeannotations) | Get envelope annotations | | [getEnvelopeDocumentAnnotations](#getenvelopedocumentannotations) | Get envelope document annotations | | [addEnvelopeAnnotation](#addenvelopeannotation) | Add envelope annotation | | [deleteEnvelopeAnnotation](#deleteenvelopeannotation) | Delete envelope annotation | | [createTemplate](#createtemplate) | Create new template | | [listTemplates](#listtemplates) | List templates | | [getTemplate](#gettemplate) | Get template | | [deleteTemplate](#deletetemplate) | Delete template | | [duplicateTemplate](#duplicatetemplate) | Duplicate template | | [addTemplateDocument](#addtemplatedocument) | Add template document | | [getTemplateDocument](#gettemplatedocument) | Get template document | | [getTemplateDocuments](#gettemplatedocuments) | Get template documents | | [addTemplateSigningSteps](#addtemplatesigningsteps) | Add template signing steps | | [renameTemplate](#renametemplate) | Rename template | | [setTemplateComment](#settemplatecomment) | Set template comment | | [setTemplateNotification](#settemplatenotification) | Set template notification | | [getTemplateAnnotations](#gettemplateannotations) | Get template annotations | | [getDocumentTemplateAnnotations](#getdocumenttemplateannotations) | Get document template annotations | | [addTemplateAnnotation](#addtemplateannotation) | Add template annotation | | [deleteTemplateAnnotation](#deletetemplateannotation) | Delete template annotation | | [setTemplateAttachmentsSettings](#settemplateattachmentssettings) | Set template attachment settings | | [setTemplateAttachmentsPlaceholders](#settemplateattachmentsplaceholders) | Placeholders to be set, completely replacing the existing ones. | | [createWebhook](#createwebhook) | Create webhook | | [listWebhooks](#listwebhooks) | List webhooks | | [deleteWebhook](#deletewebhook) | Delete webhook | ## createEnvelope Create new envelope * HTTP Method: `POST` * Endpoint: `/envelope` **Parameters** | Name | Type | Required | Description | | :-------------------- | :----------------------------------------------------------------------------- | :------- | :----------- | | createEnvelopeRequest | [CreateEnvelopeRequest](/api-reference/endpoints/signplus/create-new-envelope) | ✅ | Request Body | **Return Type** `Envelope` **Example Usage Code Snippet** ```java theme={null} 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.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") .legalityLevel(EnvelopeLegalityLevel.SES) .expiresAt(8L) .comment("comment") .sandbox(false) .build(); Envelope response = signplus.signplus.createEnvelope(createEnvelopeRequest); System.out.println(response); } } ``` ## createEnvelopeFromTemplate Create new envelope from template * HTTP Method: `POST` * Endpoint: `/envelope/from_template/{template_id}` **Parameters** | Name | Type | Required | Description | | :-------------------------------- | :------------------------------------------------------------------------------------------------------- | :------- | :----------- | | templateId | String | ✅ | | | createEnvelopeFromTemplateRequest | [CreateEnvelopeFromTemplateRequest](/api-reference/endpoints/signplus/create-new-envelope-from-template) | ✅ | Request Body | **Return Type** `Envelope` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.CreateEnvelopeFromTemplateRequest; import com.alohi.signplus.models.Envelope; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); CreateEnvelopeFromTemplateRequest createEnvelopeFromTemplateRequest = CreateEnvelopeFromTemplateRequest.builder() .name("name") .comment("comment") .sandbox(true) .build(); Envelope response = signplus.signplus.createEnvelopeFromTemplate("template_id", createEnvelopeFromTemplateRequest); System.out.println(response); } } ``` ## listEnvelopes List envelopes * HTTP Method: `POST` * Endpoint: `/envelopes` **Parameters** | Name | Type | Required | Description | | :------------------- | :----------------------------------------------------------------------- | :------- | :----------- | | listEnvelopesRequest | [ListEnvelopesRequest](/api-reference/endpoints/signplus/list-envelopes) | ❌ | Request Body | **Return Type** `ListEnvelopesResponse` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.EnvelopeOrderField; import com.alohi.signplus.models.EnvelopeStatus; import com.alohi.signplus.models.ListEnvelopesRequest; import com.alohi.signplus.models.ListEnvelopesResponse; import java.util.Arrays; import java.util.List; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); List tagsList = Arrays.asList("tags"); List idsList = Arrays.asList("ids"); List statusesList = Arrays.asList(EnvelopeStatus.DRAFT); List folderIdsList = Arrays.asList("folder_ids"); ListEnvelopesRequest listEnvelopesRequest = ListEnvelopesRequest.builder() .name("name") .tags(tagsList) .comment("comment") .ids(idsList) .statuses(statusesList) .folderIds(folderIdsList) .onlyRootFolder(true) .dateFrom(5L) .dateTo(9L) .uid("uid") .first(9L) .last(7L) .after("after") .before("before") .orderField(EnvelopeOrderField.CREATION_DATE) .ascending(true) .includeTrash(true) .build(); ListEnvelopesResponse response = signplus.signplus.listEnvelopes(listEnvelopesRequest); System.out.println(response); } } ``` ## getEnvelope Get envelope * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | envelopeId | String | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.Envelope; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); Envelope response = signplus.signplus.getEnvelope("envelope_id"); System.out.println(response); } } ``` ## deleteEnvelope Delete envelope * HTTP Method: `DELETE` * Endpoint: `/envelope/{envelope_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | envelopeId | String | ✅ | | **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); signplus.signplus.deleteEnvelope("envelope_id"); } } ``` ## downloadEnvelopeSignedDocuments Download signed documents for an envelope * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/signed_documents` **Parameters** | Name | Type | Required | Description | | :---------------- | :----------------------------------------------------------------------------------------------------------- | :------- | :------------------------ | | envelopeId | String | ✅ | ID of the envelope | | requestParameters | [DownloadEnvelopeSignedDocumentsParameters](/api-reference/endpoints/signplus/get-envelope-signed_documents) | ❌ | Request Parameters Object | **Return Type** `byte[]` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.DownloadEnvelopeSignedDocumentsParameters; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); DownloadEnvelopeSignedDocumentsParameters requestParameters = DownloadEnvelopeSignedDocumentsParameters.builder() .certificateOfCompletion(true) .build(); byte[] response = signplus.signplus.downloadEnvelopeSignedDocuments("envelope_id", requestParameters); System.out.println(response); } } ``` ## downloadEnvelopeCertificate Download certificate of completion for an envelope * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/certificate` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :----------------- | | envelopeId | String | ✅ | ID of the envelope | **Return Type** `byte[]` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); byte[] response = signplus.signplus.downloadEnvelopeCertificate("envelope_id"); System.out.println(response); } } ``` ## getEnvelopeDocument Get envelope document * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/document/{document_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | envelopeId | String | ✅ | | | documentId | String | ✅ | | **Return Type** `Document` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.Document; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); Document response = signplus.signplus.getEnvelopeDocument("envelope_id", "document_id"); System.out.println(response); } } ``` ## getEnvelopeDocuments Get envelope documents * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/documents` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | envelopeId | String | ✅ | | **Return Type** `ListEnvelopeDocumentsResponse` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.ListEnvelopeDocumentsResponse; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); ListEnvelopeDocumentsResponse response = signplus.signplus.getEnvelopeDocuments("envelope_id"); System.out.println(response); } } ``` ## addEnvelopeDocument Add envelope document * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/document` **Parameters** | Name | Type | Required | Description | | :------------------------- | :------------------------------------------------------------------------------------ | :------- | :----------------------------- | | envelopeId | String | ✅ | | | addEnvelopeDocumentRequest | [AddEnvelopeDocumentRequest](/api-reference/endpoints/signplus/add-envelope-document) | ✅ | Request Body | | \_filename | [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html) | ✅ | Filename for the uploaded file | **Return Type** `Document` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.AddEnvelopeDocumentRequest; import com.alohi.signplus.models.Document; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); AddEnvelopeDocumentRequest addEnvelopeDocumentRequest = AddEnvelopeDocumentRequest.builder().file(file).build(); AddEnvelopeDocumentRequest addEnvelopeDocumentRequest = AddEnvelopeDocumentRequest.builder().file(file).build(); Document response = signplus.signplus.addEnvelopeDocument( "envelope_id", addEnvelopeDocumentRequest, addEnvelopeDocumentRequest ); System.out.println(response); } } ``` ## setEnvelopeDynamicFields Set envelope dynamic fields * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/dynamic_fields` **Parameters** | Name | Type | Required | Description | | :------------------------------ | :----------------------------------------------------------------------------------------------- | :------- | :----------- | | envelopeId | String | ✅ | | | setEnvelopeDynamicFieldsRequest | [SetEnvelopeDynamicFieldsRequest](/api-reference/endpoints/signplus/set-envelope-dynamic-fields) | ✅ | Request Body | **Return Type** `Envelope` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.DynamicField; import com.alohi.signplus.models.Envelope; import com.alohi.signplus.models.SetEnvelopeDynamicFieldsRequest; import java.util.Arrays; import java.util.List; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); DynamicField dynamicField = DynamicField.builder().name("name").value("value").build(); List dynamicFieldsList = Arrays.asList(dynamicField); SetEnvelopeDynamicFieldsRequest setEnvelopeDynamicFieldsRequest = SetEnvelopeDynamicFieldsRequest.builder() .dynamicFields(dynamicFieldsList) .build(); Envelope response = signplus.signplus.setEnvelopeDynamicFields("envelope_id", setEnvelopeDynamicFieldsRequest); System.out.println(response); } } ``` ## addEnvelopeSigningSteps Add envelope signing steps * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/signing_steps` **Parameters** | Name | Type | Required | Description | | :----------------------------- | :--------------------------------------------------------------------------------------------- | :------- | :----------- | | envelopeId | String | ✅ | | | addEnvelopeSigningStepsRequest | [AddEnvelopeSigningStepsRequest](/api-reference/endpoints/signplus/add-envelope-signing-steps) | ✅ | Request Body | **Return Type** `Envelope` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.AddEnvelopeSigningStepsRequest; import com.alohi.signplus.models.Envelope; import com.alohi.signplus.models.Recipient; import com.alohi.signplus.models.RecipientRole; import com.alohi.signplus.models.RecipientVerification; import com.alohi.signplus.models.RecipientVerificationType; import com.alohi.signplus.models.SigningStep; import java.util.Arrays; import java.util.List; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); RecipientVerification recipientVerification = RecipientVerification.builder() .type(RecipientVerificationType.SMS) .value("value") .build(); Recipient recipient = Recipient.builder() .id("id") .uid("uid") .name("name") .email("email") .role(RecipientRole.SIGNER) .verification(recipientVerification) .build(); List recipientsList = Arrays.asList(recipient); SigningStep signingStep = SigningStep.builder().recipients(recipientsList).build(); List signingStepsList = Arrays.asList(signingStep); AddEnvelopeSigningStepsRequest addEnvelopeSigningStepsRequest = AddEnvelopeSigningStepsRequest.builder() .signingSteps(signingStepsList) .build(); Envelope response = signplus.signplus.addEnvelopeSigningSteps("envelope_id", addEnvelopeSigningStepsRequest); System.out.println(response); } } ``` ## setEnvelopeAttachmentsSettings Set envelope attachment settings * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/attachments/settings` **Parameters** | Name | Type | Required | Description | | :------------------------------------ | :---------------------------------------------------------------------------------------------------------- | :------- | :----------- | | envelopeId | String | ✅ | | | setEnvelopeAttachmentsSettingsRequest | [SetEnvelopeAttachmentsSettingsRequest](/api-reference/endpoints/signplus/set-envelope-attachment-settings) | ✅ | Request Body | **Return Type** `EnvelopeAttachments` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.AttachmentSettings; import com.alohi.signplus.models.EnvelopeAttachments; import com.alohi.signplus.models.SetEnvelopeAttachmentsSettingsRequest; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); AttachmentSettings attachmentSettings = AttachmentSettings.builder().visibleToRecipients(false).build(); SetEnvelopeAttachmentsSettingsRequest setEnvelopeAttachmentsSettingsRequest = SetEnvelopeAttachmentsSettingsRequest.builder().settings(attachmentSettings).build(); EnvelopeAttachments response = signplus.signplus.setEnvelopeAttachmentsSettings( "envelope_id", setEnvelopeAttachmentsSettingsRequest ); System.out.println(response); } } ``` ## setEnvelopeAttachmentsPlaceholders Placeholders to be set, completely replacing the existing ones. * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/attachments/placeholders` **Parameters** | Name | Type | Required | Description | | :---------------------------------------- | :------------------------------------------------------------------------------------------------------------------ | :------- | :----------- | | envelopeId | String | ✅ | | | setEnvelopeAttachmentsPlaceholdersRequest | [SetEnvelopeAttachmentsPlaceholdersRequest](/api-reference/endpoints/signplus/set-envelope-attachment-placeholders) | ✅ | Request Body | **Return Type** `EnvelopeAttachments` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.AttachmentPlaceholderRequest; import com.alohi.signplus.models.EnvelopeAttachments; import com.alohi.signplus.models.SetEnvelopeAttachmentsPlaceholdersRequest; import java.util.Arrays; import java.util.List; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); AttachmentPlaceholderRequest attachmentPlaceholderRequest = AttachmentPlaceholderRequest.builder() .recipientId("recipient_id") .id("id") .name("name") .hint("hint") .required(false) .multiple(true) .build(); List placeholdersList = Arrays.asList(attachmentPlaceholderRequest); SetEnvelopeAttachmentsPlaceholdersRequest setEnvelopeAttachmentsPlaceholdersRequest = SetEnvelopeAttachmentsPlaceholdersRequest.builder().placeholders(placeholdersList).build(); EnvelopeAttachments response = signplus.signplus.setEnvelopeAttachmentsPlaceholders( "envelope_id", setEnvelopeAttachmentsPlaceholdersRequest ); System.out.println(response); } } ``` ## getAttachmentFile Get envelope attachment file * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/attachments/{file_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | envelopeId | String | ✅ | | | fileId | String | ✅ | | **Return Type** `byte[]` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); byte[] response = signplus.signplus.getAttachmentFile("envelope_id", "file_id"); System.out.println(response); } } ``` ## sendEnvelope Send envelope for signature * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/send` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | envelopeId | String | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.Envelope; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); Envelope response = signplus.signplus.sendEnvelope("envelope_id"); System.out.println(response); } } ``` ## duplicateEnvelope Duplicate envelope * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/duplicate` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | envelopeId | String | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.Envelope; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); Envelope response = signplus.signplus.duplicateEnvelope("envelope_id"); System.out.println(response); } } ``` ## voidEnvelope Void envelope * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/void` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | envelopeId | String | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.Envelope; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); Envelope response = signplus.signplus.voidEnvelope("envelope_id"); System.out.println(response); } } ``` ## renameEnvelope Rename envelope * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/rename` **Parameters** | Name | Type | Required | Description | | :-------------------- | :------------------------------------------------------------------------- | :------- | :----------- | | envelopeId | String | ✅ | | | renameEnvelopeRequest | [RenameEnvelopeRequest](/api-reference/endpoints/signplus/rename-envelope) | ✅ | Request Body | **Return Type** `Envelope` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.Envelope; import com.alohi.signplus.models.RenameEnvelopeRequest; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); RenameEnvelopeRequest renameEnvelopeRequest = RenameEnvelopeRequest.builder().name("name").build(); Envelope response = signplus.signplus.renameEnvelope("envelope_id", renameEnvelopeRequest); System.out.println(response); } } ``` ## setEnvelopeComment Set envelope comment * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/set_comment` **Parameters** | Name | Type | Required | Description | | :------------------------ | :---------------------------------------------------------------------------------- | :------- | :----------- | | envelopeId | String | ✅ | | | setEnvelopeCommentRequest | [SetEnvelopeCommentRequest](/api-reference/endpoints/signplus/set-envelope-comment) | ✅ | Request Body | **Return Type** `Envelope` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.Envelope; import com.alohi.signplus.models.SetEnvelopeCommentRequest; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); SetEnvelopeCommentRequest setEnvelopeCommentRequest = SetEnvelopeCommentRequest.builder() .comment("comment") .build(); Envelope response = signplus.signplus.setEnvelopeComment("envelope_id", setEnvelopeCommentRequest); System.out.println(response); } } ``` ## setEnvelopeNotification Set envelope notification * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/set_notification` **Parameters** | Name | Type | Required | Description | | :------------------- | :---------------------------------------------------------------------------------- | :------- | :----------- | | envelopeId | String | ✅ | | | envelopeNotification | [EnvelopeNotification](/api-reference/endpoints/signplus/set-envelope-notification) | ✅ | Request Body | **Return Type** `Envelope` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.Envelope; import com.alohi.signplus.models.EnvelopeNotification; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); EnvelopeNotification envelopeNotification = EnvelopeNotification.builder() .subject("subject") .message("message") .reminderInterval(1L) .build(); Envelope response = signplus.signplus.setEnvelopeNotification("envelope_id", envelopeNotification); System.out.println(response); } } ``` ## setEnvelopeExpirationDate Set envelope expiration date * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/set_expiration_date` **Parameters** | Name | Type | Required | Description | | :--------------------------- | :--------------------------------------------------------------------------------------------- | :------- | :----------- | | envelopeId | String | ✅ | | | setEnvelopeExpirationRequest | [SetEnvelopeExpirationRequest](/api-reference/endpoints/signplus/set-envelope-expiration-date) | ✅ | Request Body | **Return Type** `Envelope` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.Envelope; import com.alohi.signplus.models.SetEnvelopeExpirationRequest; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); SetEnvelopeExpirationRequest setEnvelopeExpirationRequest = SetEnvelopeExpirationRequest.builder() .expiresAt(0L) .build(); Envelope response = signplus.signplus.setEnvelopeExpirationDate("envelope_id", setEnvelopeExpirationRequest); System.out.println(response); } } ``` ## setEnvelopeLegalityLevel Set envelope legality level * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/set_legality_level` **Parameters** | Name | Type | Required | Description | | :------------------------------ | :----------------------------------------------------------------------------------------------- | :------- | :----------- | | envelopeId | String | ✅ | | | setEnvelopeLegalityLevelRequest | [SetEnvelopeLegalityLevelRequest](/api-reference/endpoints/signplus/set-envelope-legality-level) | ✅ | Request Body | **Return Type** `Envelope` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.Envelope; import com.alohi.signplus.models.EnvelopeLegalityLevel; import com.alohi.signplus.models.SetEnvelopeLegalityLevelRequest; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); SetEnvelopeLegalityLevelRequest setEnvelopeLegalityLevelRequest = SetEnvelopeLegalityLevelRequest.builder() .legalityLevel(EnvelopeLegalityLevel.SES) .build(); Envelope response = signplus.signplus.setEnvelopeLegalityLevel("envelope_id", setEnvelopeLegalityLevelRequest); System.out.println(response); } } ``` ## getEnvelopeAnnotations Get envelope annotations * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/annotations` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :----------------- | | envelopeId | String | ✅ | ID of the envelope | **Return Type** `List<Annotation>` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.Annotation; import java.util.List; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); List response = signplus.signplus.getEnvelopeAnnotations("envelope_id"); System.out.println(response); } } ``` ## getEnvelopeDocumentAnnotations Get envelope document annotations * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/annotations/{document_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :----------------- | | envelopeId | String | ✅ | ID of the envelope | | documentId | String | ✅ | ID of document | **Return Type** `ListEnvelopeDocumentAnnotationsResponse` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.ListEnvelopeDocumentAnnotationsResponse; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); ListEnvelopeDocumentAnnotationsResponse response = signplus.signplus.getEnvelopeDocumentAnnotations( "envelope_id", "document_id" ); System.out.println(response); } } ``` ## addEnvelopeAnnotation Add envelope annotation * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/annotation` **Parameters** | Name | Type | Required | Description | | :------------------- | :-------------------------------------------------------------------------------- | :------- | :----------------- | | envelopeId | String | ✅ | ID of the envelope | | addAnnotationRequest | [AddAnnotationRequest](/api-reference/endpoints/signplus/add-envelope-annotation) | ✅ | Request Body | **Return Type** `Annotation` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.AddAnnotationRequest; import com.alohi.signplus.models.Annotation; import com.alohi.signplus.models.AnnotationCheckbox; import com.alohi.signplus.models.AnnotationCheckboxStyle; import com.alohi.signplus.models.AnnotationDateTime; import com.alohi.signplus.models.AnnotationDateTimeFormat; import com.alohi.signplus.models.AnnotationFont; import com.alohi.signplus.models.AnnotationFontFamily; import com.alohi.signplus.models.AnnotationInitials; import com.alohi.signplus.models.AnnotationSignature; import com.alohi.signplus.models.AnnotationText; import com.alohi.signplus.models.AnnotationType; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); AnnotationSignature annotationSignature = AnnotationSignature.builder().id("id").build(); AnnotationInitials annotationInitials = AnnotationInitials.builder().id("id").build(); AnnotationFont annotationFont = AnnotationFont.builder() .family(AnnotationFontFamily.UNKNOWN) .italic(true) .bold(true) .build(); AnnotationText annotationText = AnnotationText.builder() .size(5.96D) .color(8.73D) .value("value") .tooltip("tooltip") .dynamicFieldName("dynamic_field_name") .font(annotationFont) .build(); AnnotationDateTime annotationDateTime = AnnotationDateTime.builder() .size(0.26D) .font(annotationFont) .color("color") .autoFill(true) .timezone("timezone") .timestamp(1L) .format(AnnotationDateTimeFormat.DMY_NUMERIC_SLASH) .build(); AnnotationCheckbox annotationCheckbox = AnnotationCheckbox.builder() .checked(true) .style(AnnotationCheckboxStyle.CIRCLE_CHECK) .build(); AddAnnotationRequest addAnnotationRequest = AddAnnotationRequest.builder() .recipientId("recipient_id") .documentId("document_id") .page(2L) .x(1.99D) .y(8.2D) .width(4.89D) .height(9.43D) .required(false) .type(AnnotationType.TEXT) .signature(annotationSignature) .initials(annotationInitials) .text(annotationText) .datetime(annotationDateTime) .checkbox(annotationCheckbox) .build(); Annotation response = signplus.signplus.addEnvelopeAnnotation("envelope_id", addAnnotationRequest); System.out.println(response); } } ``` ## deleteEnvelopeAnnotation Delete envelope annotation * HTTP Method: `DELETE` * Endpoint: `/envelope/{envelope_id}/annotation/{annotation_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :----------------------------- | | envelopeId | String | ✅ | ID of the envelope | | annotationId | String | ✅ | ID of the annotation to delete | **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); signplus.signplus.deleteEnvelopeAnnotation("envelope_id", "annotation_id"); } } ``` ## createTemplate Create new template * HTTP Method: `POST` * Endpoint: `/template` **Parameters** | Name | Type | Required | Description | | :-------------------- | :----------------------------------------------------------------------------- | :------- | :----------- | | createTemplateRequest | [CreateTemplateRequest](/api-reference/endpoints/signplus/create-new-template) | ✅ | Request Body | **Return Type** `Template` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.CreateTemplateRequest; import com.alohi.signplus.models.Template; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); CreateTemplateRequest createTemplateRequest = CreateTemplateRequest.builder().name("name").build(); Template response = signplus.signplus.createTemplate(createTemplateRequest); System.out.println(response); } } ``` ## listTemplates List templates * HTTP Method: `POST` * Endpoint: `/templates` **Parameters** | Name | Type | Required | Description | | :------------------- | :----------------------------------------------------------------------- | :------- | :----------- | | listTemplatesRequest | [ListTemplatesRequest](/api-reference/endpoints/signplus/list-templates) | ❌ | Request Body | **Return Type** `ListTemplatesResponse` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.ListTemplatesRequest; import com.alohi.signplus.models.ListTemplatesResponse; import com.alohi.signplus.models.TemplateOrderField; import java.util.Arrays; import java.util.List; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); List tagsList = Arrays.asList("tags"); List idsList = Arrays.asList("ids"); ListTemplatesRequest listTemplatesRequest = ListTemplatesRequest.builder() .name("name") .tags(tagsList) .ids(idsList) .first(1L) .last(6L) .after("after") .before("before") .orderField(TemplateOrderField.TEMPLATE_ID) .ascending(false) .build(); ListTemplatesResponse response = signplus.signplus.listTemplates(listTemplatesRequest); System.out.println(response); } } ``` ## getTemplate Get template * HTTP Method: `GET` * Endpoint: `/template/{template_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | templateId | String | ✅ | | **Return Type** `Template` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.Template; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); Template response = signplus.signplus.getTemplate("template_id"); System.out.println(response); } } ``` ## deleteTemplate Delete template * HTTP Method: `DELETE` * Endpoint: `/template/{template_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | templateId | String | ✅ | | **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); signplus.signplus.deleteTemplate("template_id"); } } ``` ## duplicateTemplate Duplicate template * HTTP Method: `POST` * Endpoint: `/template/{template_id}/duplicate` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | templateId | String | ✅ | | **Return Type** `Template` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.Template; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); Template response = signplus.signplus.duplicateTemplate("template_id"); System.out.println(response); } } ``` ## addTemplateDocument Add template document * HTTP Method: `POST` * Endpoint: `/template/{template_id}/document` **Parameters** | Name | Type | Required | Description | | :------------------------- | :------------------------------------------------------------------------------------ | :------- | :----------------------------- | | templateId | String | ✅ | | | addTemplateDocumentRequest | [AddTemplateDocumentRequest](/api-reference/endpoints/signplus/add-template-document) | ✅ | Request Body | | \_filename | [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html) | ✅ | Filename for the uploaded file | **Return Type** `Document` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.AddTemplateDocumentRequest; import com.alohi.signplus.models.Document; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); AddTemplateDocumentRequest addTemplateDocumentRequest = AddTemplateDocumentRequest.builder().file(file).build(); AddTemplateDocumentRequest addTemplateDocumentRequest = AddTemplateDocumentRequest.builder().file(file).build(); Document response = signplus.signplus.addTemplateDocument( "template_id", addTemplateDocumentRequest, addTemplateDocumentRequest ); System.out.println(response); } } ``` ## getTemplateDocument Get template document * HTTP Method: `GET` * Endpoint: `/template/{template_id}/document/{document_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | templateId | String | ✅ | | | documentId | String | ✅ | | **Return Type** `Document` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.Document; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); Document response = signplus.signplus.getTemplateDocument("template_id", "document_id"); System.out.println(response); } } ``` ## getTemplateDocuments Get template documents * HTTP Method: `GET` * Endpoint: `/template/{template_id}/documents` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | templateId | String | ✅ | | **Return Type** `ListTemplateDocumentsResponse` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.ListTemplateDocumentsResponse; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); ListTemplateDocumentsResponse response = signplus.signplus.getTemplateDocuments("template_id"); System.out.println(response); } } ``` ## addTemplateSigningSteps Add template signing steps * HTTP Method: `POST` * Endpoint: `/template/{template_id}/signing_steps` **Parameters** | Name | Type | Required | Description | | :----------------------------- | :--------------------------------------------------------------------------------------------- | :------- | :----------- | | templateId | String | ✅ | | | addTemplateSigningStepsRequest | [AddTemplateSigningStepsRequest](/api-reference/endpoints/signplus/add-template-signing-steps) | ✅ | Request Body | **Return Type** `Template` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.AddTemplateSigningStepsRequest; import com.alohi.signplus.models.Template; import com.alohi.signplus.models.TemplateRecipient; import com.alohi.signplus.models.TemplateRecipientRole; import com.alohi.signplus.models.TemplateSigningStep; import java.util.Arrays; import java.util.List; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); TemplateRecipient templateRecipient = TemplateRecipient.builder() .id("id") .uid("uid") .name("name") .email("email") .role(TemplateRecipientRole.SIGNER) .build(); List recipientsList = Arrays.asList(templateRecipient); TemplateSigningStep templateSigningStep = TemplateSigningStep.builder().recipients(recipientsList).build(); List signingStepsList = Arrays.asList(templateSigningStep); AddTemplateSigningStepsRequest addTemplateSigningStepsRequest = AddTemplateSigningStepsRequest.builder() .signingSteps(signingStepsList) .build(); Template response = signplus.signplus.addTemplateSigningSteps("template_id", addTemplateSigningStepsRequest); System.out.println(response); } } ``` ## renameTemplate Rename template * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/rename` **Parameters** | Name | Type | Required | Description | | :-------------------- | :------------------------------------------------------------------------- | :------- | :----------- | | templateId | String | ✅ | | | renameTemplateRequest | [RenameTemplateRequest](/api-reference/endpoints/signplus/rename-template) | ✅ | Request Body | **Return Type** `Template` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.RenameTemplateRequest; import com.alohi.signplus.models.Template; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); RenameTemplateRequest renameTemplateRequest = RenameTemplateRequest.builder().name("name").build(); Template response = signplus.signplus.renameTemplate("template_id", renameTemplateRequest); System.out.println(response); } } ``` ## setTemplateComment Set template comment * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/set_comment` **Parameters** | Name | Type | Required | Description | | :------------------------ | :---------------------------------------------------------------------------------- | :------- | :----------- | | templateId | String | ✅ | | | setTemplateCommentRequest | [SetTemplateCommentRequest](/api-reference/endpoints/signplus/set-template-comment) | ✅ | Request Body | **Return Type** `Template` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.SetTemplateCommentRequest; import com.alohi.signplus.models.Template; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); SetTemplateCommentRequest setTemplateCommentRequest = SetTemplateCommentRequest.builder() .comment("comment") .build(); Template response = signplus.signplus.setTemplateComment("template_id", setTemplateCommentRequest); System.out.println(response); } } ``` ## setTemplateNotification Set template notification * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/set_notification` **Parameters** | Name | Type | Required | Description | | :------------------- | :---------------------------------------------------------------------------------- | :------- | :----------- | | templateId | String | ✅ | | | envelopeNotification | [EnvelopeNotification](/api-reference/endpoints/signplus/set-envelope-notification) | ✅ | Request Body | **Return Type** `Template` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.EnvelopeNotification; import com.alohi.signplus.models.Template; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); EnvelopeNotification envelopeNotification = EnvelopeNotification.builder() .subject("subject") .message("message") .reminderInterval(1L) .build(); Template response = signplus.signplus.setTemplateNotification("template_id", envelopeNotification); System.out.println(response); } } ``` ## getTemplateAnnotations Get template annotations * HTTP Method: `GET` * Endpoint: `/template/{template_id}/annotations` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :----------------- | | templateId | String | ✅ | ID of the template | **Return Type** `ListTemplateAnnotationsResponse` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.ListTemplateAnnotationsResponse; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); ListTemplateAnnotationsResponse response = signplus.signplus.getTemplateAnnotations("template_id"); System.out.println(response); } } ``` ## getDocumentTemplateAnnotations Get document template annotations * HTTP Method: `GET` * Endpoint: `/template/{template_id}/annotations/{document_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :----------------- | | templateId | String | ✅ | ID of the template | | documentId | String | ✅ | ID of document | **Return Type** `ListTemplateDocumentAnnotationsResponse` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.ListTemplateDocumentAnnotationsResponse; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); ListTemplateDocumentAnnotationsResponse response = signplus.signplus.getDocumentTemplateAnnotations( "template_id", "document_id" ); System.out.println(response); } } ``` ## addTemplateAnnotation Add template annotation * HTTP Method: `POST` * Endpoint: `/template/{template_id}/annotation` **Parameters** | Name | Type | Required | Description | | :------------------- | :-------------------------------------------------------------------------------- | :------- | :----------------- | | templateId | String | ✅ | ID of the template | | addAnnotationRequest | [AddAnnotationRequest](/api-reference/endpoints/signplus/add-envelope-annotation) | ✅ | Request Body | **Return Type** `Annotation` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.AddAnnotationRequest; import com.alohi.signplus.models.Annotation; import com.alohi.signplus.models.AnnotationCheckbox; import com.alohi.signplus.models.AnnotationCheckboxStyle; import com.alohi.signplus.models.AnnotationDateTime; import com.alohi.signplus.models.AnnotationDateTimeFormat; import com.alohi.signplus.models.AnnotationFont; import com.alohi.signplus.models.AnnotationFontFamily; import com.alohi.signplus.models.AnnotationInitials; import com.alohi.signplus.models.AnnotationSignature; import com.alohi.signplus.models.AnnotationText; import com.alohi.signplus.models.AnnotationType; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); AnnotationSignature annotationSignature = AnnotationSignature.builder().id("id").build(); AnnotationInitials annotationInitials = AnnotationInitials.builder().id("id").build(); AnnotationFont annotationFont = AnnotationFont.builder() .family(AnnotationFontFamily.UNKNOWN) .italic(true) .bold(true) .build(); AnnotationText annotationText = AnnotationText.builder() .size(5.96D) .color(8.73D) .value("value") .tooltip("tooltip") .dynamicFieldName("dynamic_field_name") .font(annotationFont) .build(); AnnotationDateTime annotationDateTime = AnnotationDateTime.builder() .size(0.26D) .font(annotationFont) .color("color") .autoFill(true) .timezone("timezone") .timestamp(1L) .format(AnnotationDateTimeFormat.DMY_NUMERIC_SLASH) .build(); AnnotationCheckbox annotationCheckbox = AnnotationCheckbox.builder() .checked(true) .style(AnnotationCheckboxStyle.CIRCLE_CHECK) .build(); AddAnnotationRequest addAnnotationRequest = AddAnnotationRequest.builder() .recipientId("recipient_id") .documentId("document_id") .page(2L) .x(1.99D) .y(8.2D) .width(4.89D) .height(9.43D) .required(false) .type(AnnotationType.TEXT) .signature(annotationSignature) .initials(annotationInitials) .text(annotationText) .datetime(annotationDateTime) .checkbox(annotationCheckbox) .build(); Annotation response = signplus.signplus.addTemplateAnnotation("template_id", addAnnotationRequest); System.out.println(response); } } ``` ## deleteTemplateAnnotation Delete template annotation * HTTP Method: `DELETE` * Endpoint: `/template/{template_id}/annotation/{annotation_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :----------------------------- | | templateId | String | ✅ | ID of the template | | annotationId | String | ✅ | ID of the annotation to delete | **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); signplus.signplus.deleteTemplateAnnotation("template_id", "annotation_id"); } } ``` ## setTemplateAttachmentsSettings Set template attachment settings * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/attachments/settings` **Parameters** | Name | Type | Required | Description | | :------------------------------------ | :---------------------------------------------------------------------------------------------------------- | :------- | :----------- | | templateId | String | ✅ | | | setEnvelopeAttachmentsSettingsRequest | [SetEnvelopeAttachmentsSettingsRequest](/api-reference/endpoints/signplus/set-envelope-attachment-settings) | ✅ | Request Body | **Return Type** `EnvelopeAttachments` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.AttachmentSettings; import com.alohi.signplus.models.EnvelopeAttachments; import com.alohi.signplus.models.SetEnvelopeAttachmentsSettingsRequest; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); AttachmentSettings attachmentSettings = AttachmentSettings.builder().visibleToRecipients(false).build(); SetEnvelopeAttachmentsSettingsRequest setEnvelopeAttachmentsSettingsRequest = SetEnvelopeAttachmentsSettingsRequest.builder().settings(attachmentSettings).build(); EnvelopeAttachments response = signplus.signplus.setTemplateAttachmentsSettings( "template_id", setEnvelopeAttachmentsSettingsRequest ); System.out.println(response); } } ``` ## setTemplateAttachmentsPlaceholders Placeholders to be set, completely replacing the existing ones. * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/attachments/placeholders` **Parameters** | Name | Type | Required | Description | | :---------------------------------------- | :------------------------------------------------------------------------------------------------------------------ | :------- | :----------- | | templateId | String | ✅ | | | setEnvelopeAttachmentsPlaceholdersRequest | [SetEnvelopeAttachmentsPlaceholdersRequest](/api-reference/endpoints/signplus/set-envelope-attachment-placeholders) | ✅ | Request Body | **Return Type** `EnvelopeAttachments` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.AttachmentPlaceholderRequest; import com.alohi.signplus.models.EnvelopeAttachments; import com.alohi.signplus.models.SetEnvelopeAttachmentsPlaceholdersRequest; import java.util.Arrays; import java.util.List; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); AttachmentPlaceholderRequest attachmentPlaceholderRequest = AttachmentPlaceholderRequest.builder() .recipientId("recipient_id") .id("id") .name("name") .hint("hint") .required(false) .multiple(true) .build(); List placeholdersList = Arrays.asList(attachmentPlaceholderRequest); SetEnvelopeAttachmentsPlaceholdersRequest setEnvelopeAttachmentsPlaceholdersRequest = SetEnvelopeAttachmentsPlaceholdersRequest.builder().placeholders(placeholdersList).build(); EnvelopeAttachments response = signplus.signplus.setTemplateAttachmentsPlaceholders( "template_id", setEnvelopeAttachmentsPlaceholdersRequest ); System.out.println(response); } } ``` ## createWebhook Create webhook * HTTP Method: `POST` * Endpoint: `/webhook` **Parameters** | Name | Type | Required | Description | | :------------------- | :----------------------------------------------------------------------- | :------- | :----------- | | createWebhookRequest | [CreateWebhookRequest](/api-reference/endpoints/signplus/create-webhook) | ✅ | Request Body | **Return Type** `Webhook` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.CreateWebhookRequest; import com.alohi.signplus.models.Webhook; import com.alohi.signplus.models.WebhookEvent; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); CreateWebhookRequest createWebhookRequest = CreateWebhookRequest.builder() .event(WebhookEvent.ENVELOPE_EXPIRED) .target("target") .build(); Webhook response = signplus.signplus.createWebhook(createWebhookRequest); System.out.println(response); } } ``` ## listWebhooks List webhooks * HTTP Method: `POST` * Endpoint: `/webhooks` **Parameters** | Name | Type | Required | Description | | :------------------ | :--------------------------------------------------------------------- | :------- | :----------- | | listWebhooksRequest | [ListWebhooksRequest](/api-reference/endpoints/signplus/list-webhooks) | ❌ | Request Body | **Return Type** `ListWebhooksResponse` **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; import com.alohi.signplus.models.ListWebhooksRequest; import com.alohi.signplus.models.ListWebhooksResponse; import com.alohi.signplus.models.WebhookEvent; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); ListWebhooksRequest listWebhooksRequest = ListWebhooksRequest.builder() .webhookId("webhook_id") .event(WebhookEvent.ENVELOPE_EXPIRED) .build(); ListWebhooksResponse response = signplus.signplus.listWebhooks(listWebhooksRequest); System.out.println(response); } } ``` ## deleteWebhook Delete webhook * HTTP Method: `DELETE` * Endpoint: `/webhook/{webhook_id}` **Parameters** | Name | Type | Required | Description | | :-------- | :----- | :------- | :---------- | | webhookId | String | ✅ | | **Example Usage Code Snippet** ```java theme={null} import com.alohi.signplus.Signplus; import com.alohi.signplus.config.SignplusConfig; public class Main { public static void main(String[] args) { SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build(); Signplus signplus = new Signplus(config); signplus.signplus.deleteWebhook("webhook_id"); } } ``` # Models # SetEnvelopeAttachmentsPlaceholdersRequest **Properties** | Name | Type | Required | Description | | :----------- | :----------------------------------------- | :------- | :---------- | | placeholders | List\<AttachmentPlaceholderRequest\> | ✅ | | # Document **Properties** | Name | Type | Required | Description | | :-------- | :----------------- | :------- | :-------------------------------- | | id | String | ❌ | Unique identifier of the document | | name | String | ❌ | Name of the document | | filename | String | ❌ | Filename of the document | | pageCount | Long | ❌ | Number of pages in the document | | pages | List\<Page\> | ❌ | List of pages in the document | # CreateEnvelopeRequest **Properties** | Name | Type | Required | Description | | :------------ | :-------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | name | String | ✅ | Name of the envelope | | legalityLevel | EnvelopeLegalityLevel | ✅ | Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) | | expiresAt | Long | ❌ | Unix timestamp of the expiration date | | comment | String | ❌ | Comment for the envelope | | sandbox | Boolean | ❌ | Whether the envelope is created in sandbox mode | # ListEnvelopesRequest **Properties** | Name | Type | Required | Description | | :------------- | :--------------------------- | :------- | :------------------------------------------------ | | name | String | ❌ | Name of the envelope | | tags | List\<String\> | ❌ | List of tags | | comment | String | ❌ | Comment of the envelope | | ids | List\<String\> | ❌ | List of envelope IDs | | statuses | List\<EnvelopeStatus\> | ❌ | List of envelope statuses | | folderIds | List\<String\> | ❌ | List of folder IDs | | onlyRootFolder | Boolean | ❌ | Whether to only list envelopes in the root folder | | dateFrom | Long | ❌ | Unix timestamp of the start date | | dateTo | Long | ❌ | Unix timestamp of the end date | | uid | String | ❌ | Unique identifier of the user | | first | Long | ❌ | | | last | Long | ❌ | | | after | String | ❌ | | | before | String | ❌ | | | orderField | EnvelopeOrderField | ❌ | Field to order envelopes by | | ascending | Boolean | ❌ | Whether to order envelopes in ascending order | | includeTrash | Boolean | ❌ | Whether to include envelopes in the trash | # AttachmentPlaceholder **Properties** | Name | Type | Required | Description | | :---------- | :-------------------------------------- | :------- | :--------------------------------------------------------- | | recipientId | String | ❌ | ID of the recipient | | id | String | ❌ | ID of the attachment placeholder | | name | String | ❌ | Name of the attachment placeholder | | hint | String | ❌ | Hint of the attachment placeholder | | required | Boolean | ❌ | Whether the attachment placeholder is required | | multiple | Boolean | ❌ | Whether the attachment placeholder can have multiple files | | files | List\<AttachmentPlaceholderFile\> | ❌ | | # SetEnvelopeAttachmentsSettingsRequest **Properties** | Name | Type | Required | Description | | :------- | :----------------- | :------- | :---------- | | settings | AttachmentSettings | ✅ | | # EnvelopeNotification **Properties** | Name | Type | Required | Description | | :--------------- | :----- | :------- | :-------------------------------- | | subject | String | ❌ | Subject of the notification | | message | String | ❌ | Message of the notification | | reminderInterval | Long | ❌ | Interval in days to send reminder | # ListTemplatesRequest **Properties** | Name | Type | Required | Description | | :--------- | :------------------- | :------- | :-------------------------------------------- | | name | String | ❌ | Name of the template | | tags | List\<String\> | ❌ | List of tag templates | | ids | List\<String\> | ❌ | List of templates IDs | | first | Long | ❌ | | | last | Long | ❌ | | | after | String | ❌ | | | before | String | ❌ | | | orderField | TemplateOrderField | ❌ | Field to order templates by | | ascending | Boolean | ❌ | Whether to order templates in ascending order | # SetTemplateCommentRequest **Properties** | Name | Type | Required | Description | | :------ | :----- | :------- | :----------------------- | | comment | String | ✅ | Comment for the template | # Template **Properties** | Name | Type | Required | Description | | :-------------- | :-------------------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | id | String | ❌ | Unique identifier of the template | | name | String | ❌ | Name of the template | | comment | String | ❌ | Comment for the template | | pages | Long | ❌ | Total number of pages in the template | | legalityLevel | EnvelopeLegalityLevel | ❌ | Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) | | createdAt | Long | ❌ | Unix timestamp of the creation date | | updatedAt | Long | ❌ | Unix timestamp of the last modification date | | expirationDelay | Long | ❌ | Expiration delay added to the current time when an envelope is created from this template | | numRecipients | Long | ❌ | Number of recipients in the envelope | | signingSteps | List\<TemplateSigningStep\> | ❌ | | | documents | List\<Document\> | ❌ | | | notification | EnvelopeNotification | ❌ | | | dynamicFields | List\<String\> | ❌ | List of dynamic fields | | attachments | EnvelopeAttachments | ❌ | | # RecipientVerificationType Type of verification the recipient must complete before accessing the envelope. - `PASSCODE`: requires a code to be entered. - `SMS`: sends a code via SMS. - `ID_VERIFICATION`: prompts the recipient to complete an automated ID and selfie check. **Properties** | Name | Type | Required | Description | | :--------------- | :----- | :------- | :----------------- | | SMS | String | ✅ | "SMS" | | PASSCODE | String | ✅ | "PASSCODE" | | ID\_VERIFICATION | String | ✅ | "ID\_VERIFICATION" | # AddEnvelopeSigningStepsRequest **Properties** | Name | Type | Required | Description | | :----------- | :------------------------ | :------- | :-------------------- | | signingSteps | List\<SigningStep\> | ❌ | List of signing steps | # AnnotationFontFamily Font family of the text **Properties** | Name | Type | Required | Description | | :------ | :----- | :------- | :---------- | | UNKNOWN | String | ✅ | "UNKNOWN" | | SERIF | String | ✅ | "SERIF" | | SANS | String | ✅ | "SANS" | | MONO | String | ✅ | "MONO" | # AddTemplateSigningStepsRequest **Properties** | Name | Type | Required | Description | | :----------- | :-------------------------------- | :------- | :-------------------- | | signingSteps | List\<TemplateSigningStep\> | ✅ | List of signing steps | # SetEnvelopeCommentRequest **Properties** | Name | Type | Required | Description | | :------ | :----- | :------- | :----------------------- | | comment | String | ✅ | Comment for the envelope | # TemplateOrderField Field to order templates by **Properties** | Name | Type | Required | Description | | :--------------------------- | :----- | :------- | :----------------------------- | | TEMPLATE\_ID | String | ✅ | "TEMPLATE\_ID" | | TEMPLATE\_CREATION\_DATE | String | ✅ | "TEMPLATE\_CREATION\_DATE" | | TEMPLATE\_MODIFICATION\_DATE | String | ✅ | "TEMPLATE\_MODIFICATION\_DATE" | | TEMPLATE\_NAME | String | ✅ | "TEMPLATE\_NAME" | # EnvelopeOrderField Field to order envelopes by **Properties** | Name | Type | Required | Description | | :--------------------- | :----- | :------- | :----------------------- | | CREATION\_DATE | String | ✅ | "CREATION\_DATE" | | MODIFICATION\_DATE | String | ✅ | "MODIFICATION\_DATE" | | NAME | String | ✅ | "NAME" | | STATUS | String | ✅ | "STATUS" | | LAST\_DOCUMENT\_CHANGE | String | ✅ | "LAST\_DOCUMENT\_CHANGE" | # AddEnvelopeDocumentRequest **Properties** | Name | Type | Required | Description | | :--- | :------ | :------- | :------------------------------ | | file | byte\[] | ❌ | File to upload in binary format | # ListWebhooksRequest **Properties** | Name | Type | Required | Description | | :-------- | :----------- | :------- | :------------------- | | webhookId | String | ❌ | ID of the webhook | | event | WebhookEvent | ❌ | Event of the webhook | # SetEnvelopeLegalityLevelRequest **Properties** | Name | Type | Required | Description | | :------------ | :-------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | legalityLevel | EnvelopeLegalityLevel | ❌ | Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) | # AttachmentPlaceholderFile **Properties** | Name | Type | Required | Description | | :------- | :----- | :------- | :------------------------ | | id | String | ❌ | ID of the file | | name | String | ❌ | Name of the file | | size | Long | ❌ | Size of the file in bytes | | mimetype | String | ❌ | MIME type of the file | # SetEnvelopeExpirationRequest **Properties** | Name | Type | Required | Description | | :-------- | :--- | :------- | :------------------------------------ | | expiresAt | Long | ✅ | Unix timestamp of the expiration date | # AnnotationText Text annotation (null if annotation is not a text) **Properties** | Name | Type | Required | Description | | :--------------- | :------------- | :------- | :--------------------------------- | | size | Double | ❌ | Font size of the text in pt | | color | Double | ❌ | Text color in 32bit representation | | value | String | ❌ | Text content of the annotation | | tooltip | String | ❌ | Tooltip of the annotation | | dynamicFieldName | String | ❌ | Name of the dynamic field | | font | AnnotationFont | ❌ | | # AnnotationCheckbox Checkbox annotation (null if annotation is not a checkbox) **Properties** | Name | Type | Required | Description | | :------ | :---------------------- | :------- | :------------------------------ | | checked | Boolean | ❌ | Whether the checkbox is checked | | style | AnnotationCheckboxStyle | ❌ | Style of the checkbox | # Envelope **Properties** | Name | Type | Required | Description | | :------------ | :------------------------ | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | id | String | ❌ | Unique identifier of the envelope | | name | String | ❌ | Name of the envelope | | comment | String | ❌ | Comment for the envelope | | pages | Long | ❌ | Total number of pages in the envelope | | flowType | EnvelopeFlowType | ❌ | Flow type of the envelope (REQUEST\_SIGNATURE is a request for signature, SIGN\_MYSELF is a self-signing flow) | | legalityLevel | EnvelopeLegalityLevel | ❌ | Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) | | status | EnvelopeStatus | ❌ | Status of the envelope | | createdAt | Long | ❌ | Unix timestamp of the creation date | | updatedAt | Long | ❌ | Unix timestamp of the last modification date | | expiresAt | Long | ❌ | Unix timestamp of the expiration date | | numRecipients | Long | ❌ | Number of recipients in the envelope | | isDuplicable | Boolean | ❌ | Whether the envelope can be duplicated | | signingSteps | List\<SigningStep\> | ❌ | | | documents | List\<Document\> | ❌ | | | notification | EnvelopeNotification | ❌ | | | attachments | EnvelopeAttachments | ❌ | | # AddTemplateDocumentRequest **Properties** | Name | Type | Required | Description | | :--- | :------ | :------- | :------------------------------ | | file | byte\[] | ✅ | File to upload in binary format | # TemplateRecipient **Properties** | Name | Type | Required | Description | | :---- | :-------------------- | :------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | id | String | ❌ | Unique identifier of the recipient | | uid | String | ❌ | Unique identifier of the user associated with the recipient | | name | String | ❌ | Name of the recipient | | email | String | ❌ | Email of the recipient | | role | TemplateRecipientRole | ❌ | Role of the recipient (SIGNER signs the document, RECEIVES\_COPY receives a copy of the document, IN\_PERSON\_SIGNER signs the document in person, SENDER sends the document) | # AddAnnotationRequest **Properties** | Name | Type | Required | Description | | :---------- | :------------------ | :------- | :---------------------------------------------------------------------------------------------- | | documentId | String | ✅ | ID of the document | | page | Long | ✅ | Page number where the annotation is placed | | x | Double | ✅ | X coordinate of the annotation (in % of the page width from 0 to 100) from the top left corner | | y | Double | ✅ | Y coordinate of the annotation (in % of the page height from 0 to 100) from the top left corner | | width | Double | ✅ | Width of the annotation (in % of the page width from 0 to 100) | | height | Double | ✅ | Height of the annotation (in % of the page height from 0 to 100) | | type | AnnotationType | ✅ | Type of the annotation | | recipientId | String | ❌ | ID of the recipient | | required | Boolean | ❌ | | | signature | AnnotationSignature | ❌ | Signature annotation (null if annotation is not a signature) | | initials | AnnotationInitials | ❌ | Initials annotation (null if annotation is not initials) | | text | AnnotationText | ❌ | Text annotation (null if annotation is not a text) | | datetime | AnnotationDateTime | ❌ | Date annotation (null if annotation is not a date) | | checkbox | AnnotationCheckbox | ❌ | Checkbox annotation (null if annotation is not a checkbox) | # ListEnvelopeDocumentAnnotationsResponse **Properties** | Name | Type | Required | Description | | :---------- | :----------------------- | :------- | :---------- | | annotations | List\<Annotation\> | ❌ | | # EnvelopeStatus Status of the envelope **Properties** | Name | Type | Required | Description | | :----------- | :----- | :------- | :------------- | | DRAFT | String | ✅ | "DRAFT" | | IN\_PROGRESS | String | ✅ | "IN\_PROGRESS" | | COMPLETED | String | ✅ | "COMPLETED" | | EXPIRED | String | ✅ | "EXPIRED" | | DECLINED | String | ✅ | "DECLINED" | | VOIDED | String | ✅ | "VOIDED" | | PENDING | String | ✅ | "PENDING" | # RecipientVerification **Properties** | Name | Type | Required | Description | | :---- | :------------------------ | :------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | type | RecipientVerificationType | ❌ | Type of verification the recipient must complete before accessing the envelope. - `PASSCODE`: requires a code to be entered. - `SMS`: sends a code via SMS. - `ID_VERIFICATION`: prompts the recipient to complete an automated ID and selfie check. | | value | String | ❌ | Required for `PASSCODE` and `SMS` verification. - `PASSCODE`: code required by the recipient to sign the document. - `SMS`: recipient's phone number. - `ID_VERIFICATION`: leave empty. | # AnnotationCheckboxStyle Style of the checkbox **Properties** | Name | Type | Required | Description | | :------------ | :----- | :------- | :-------------- | | CIRCLE\_CHECK | String | ✅ | "CIRCLE\_CHECK" | | CIRCLE\_FULL | String | ✅ | "CIRCLE\_FULL" | | SQUARE\_CHECK | String | ✅ | "SQUARE\_CHECK" | | SQUARE\_FULL | String | ✅ | "SQUARE\_FULL" | | CHECK\_MARK | String | ✅ | "CHECK\_MARK" | | TIMES\_SQUARE | String | ✅ | "TIMES\_SQUARE" | # SigningStep **Properties** | Name | Type | Required | Description | | :--------- | :---------------------- | :------- | :----------------- | | recipients | List\<Recipient\> | ❌ | List of recipients | # AnnotationDateTime Date annotation (null if annotation is not a date) **Properties** | Name | Type | Required | Description | | :-------- | :----------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | size | Double | ❌ | Font size of the text in pt | | font | AnnotationFont | ❌ | | | color | String | ❌ | Color of the text in hex format | | autoFill | Boolean | ❌ | Whether the date should be automatically filled | | timezone | String | ❌ | Timezone of the date | | timestamp | Long | ❌ | Unix timestamp of the date | | format | AnnotationDateTimeFormat | ❌ | Format of the date time (DMY\_NUMERIC\_SLASH is day/month/year with slashes, MDY\_NUMERIC\_SLASH is month/day/year with slashes, YMD\_NUMERIC\_SLASH is year/month/day with slashes, DMY\_NUMERIC\_DASH\_SHORT is day/month/year with dashes, DMY\_NUMERIC\_DASH is day/month/year with dashes, YMD\_NUMERIC\_DASH is year/month/day with dashes, MDY\_TEXT\_DASH\_SHORT is month/day/year with dashes, MDY\_TEXT\_SPACE\_SHORT is month/day/year with spaces, MDY\_TEXT\_SPACE is month/day/year with spaces) | # DownloadEnvelopeSignedDocumentsParameters **Properties** | Name | Type | Required | Description | | :---------------------- | :------ | :------- | :---------------------------------------------------------------------- | | certificateOfCompletion | Boolean | ❌ | Whether to include the certificate of completion in the downloaded file | # AttachmentSettings **Properties** | Name | Type | Required | Description | | :------------------ | :------ | :------- | :-------------------------------------------------- | | visibleToRecipients | Boolean | ❌ | Whether the attachment is visible to the recipients | # CreateTemplateRequest **Properties** | Name | Type | Required | Description | | :--- | :----- | :------- | :---------- | | name | String | ✅ | | # ListTemplateDocumentsResponse **Properties** | Name | Type | Required | Description | | :-------- | :--------------------- | :------- | :---------- | | documents | List\<Document\> | ❌ | | # AnnotationInitials Initials annotation (null if annotation is not initials) **Properties** | Name | Type | Required | Description | | :--- | :----- | :------- | :------------------------------------------- | | id | String | ❌ | Unique identifier of the annotation initials | # AnnotationFont **Properties** | Name | Type | Required | Description | | :----- | :------------------- | :------- | :------------------------- | | family | AnnotationFontFamily | ❌ | Font family of the text | | italic | Boolean | ❌ | Whether the text is italic | | bold | Boolean | ❌ | Whether the text is bold | # AnnotationType Type of the annotation **Properties** | Name | Type | Required | Description | | :-------- | :----- | :------- | :---------- | | TEXT | String | ✅ | "TEXT" | | SIGNATURE | String | ✅ | "SIGNATURE" | | INITIALS | String | ✅ | "INITIALS" | | CHECKBOX | String | ✅ | "CHECKBOX" | | DATE | String | ✅ | "DATE" | # Webhook **Properties** | Name | Type | Required | Description | | :----- | :----------- | :------- | :------------------------------- | | id | String | ❌ | Unique identifier of the webhook | | event | WebhookEvent | ❌ | Event of the webhook | | target | String | ❌ | Target URL of the webhook | # RenameTemplateRequest **Properties** | Name | Type | Required | Description | | :--- | :----- | :------- | :------------------- | | name | String | ✅ | Name of the template | # ListTemplatesResponse **Properties** | Name | Type | Required | Description | | :-------------- | :--------------------- | :------- | :------------------------------- | | hasNextPage | Boolean | ❌ | Whether there is a next page | | hasPreviousPage | Boolean | ❌ | Whether there is a previous page | | templates | List\<Template\> | ❌ | | # EnvelopeAttachments **Properties** | Name | Type | Required | Description | | :--------- | :----------------------------------------------- | :------- | :---------- | | settings | AttachmentSettings | ❌ | | | recipients | List\<AttachmentPlaceholdersPerRecipient\> | ❌ | | # RecipientRole Role of the recipient (SIGNER signs the document, RECEIVES\_COPY receives a copy of the document, IN\_PERSON\_SIGNER signs the document in person, SENDER sends the document) **Properties** | Name | Type | Required | Description | | :----------------- | :----- | :------- | :------------------- | | SIGNER | String | ✅ | "SIGNER" | | RECEIVES\_COPY | String | ✅ | "RECEIVES\_COPY" | | IN\_PERSON\_SIGNER | String | ✅ | "IN\_PERSON\_SIGNER" | # Annotation **Properties** | Name | Type | Required | Description | | :---------- | :------------------ | :------- | :---------------------------------------------------------------------------------------------- | | id | String | ❌ | Unique identifier of the annotation | | recipientId | String | ❌ | ID of the recipient | | documentId | String | ❌ | ID of the document | | page | Long | ❌ | Page number where the annotation is placed | | x | Double | ❌ | X coordinate of the annotation (in % of the page width from 0 to 100) from the top left corner | | y | Double | ❌ | Y coordinate of the annotation (in % of the page height from 0 to 100) from the top left corner | | width | Double | ❌ | Width of the annotation (in % of the page width from 0 to 100) | | height | Double | ❌ | Height of the annotation (in % of the page height from 0 to 100) | | required | Boolean | ❌ | Whether the annotation is required | | type | AnnotationType | ❌ | Type of the annotation | | signature | AnnotationSignature | ❌ | Signature annotation (null if annotation is not a signature) | | initials | AnnotationInitials | ❌ | Initials annotation (null if annotation is not initials) | | text | AnnotationText | ❌ | Text annotation (null if annotation is not a text) | | datetime | AnnotationDateTime | ❌ | Date annotation (null if annotation is not a date) | | checkbox | AnnotationCheckbox | ❌ | Checkbox annotation (null if annotation is not a checkbox) | # DynamicField **Properties** | Name | Type | Required | Description | | :---- | :----- | :------- | :------------------------- | | name | String | ❌ | Name of the dynamic field | | value | String | ❌ | Value of the dynamic field | # AnnotationDateTimeFormat Format of the date time (DMY\_NUMERIC\_SLASH is day/month/year with slashes, MDY\_NUMERIC\_SLASH is month/day/year with slashes, YMD\_NUMERIC\_SLASH is year/month/day with slashes, DMY\_NUMERIC\_DASH\_SHORT is day/month/year with dashes, DMY\_NUMERIC\_DASH is day/month/year with dashes, YMD\_NUMERIC\_DASH is year/month/day with dashes, MDY\_TEXT\_DASH\_SHORT is month/day/year with dashes, MDY\_TEXT\_SPACE\_SHORT is month/day/year with spaces, MDY\_TEXT\_SPACE is month/day/year with spaces) **Properties** | Name | Type | Required | Description | | :------------------------ | :----- | :------- | :-------------------------- | | DMY\_NUMERIC\_SLASH | String | ✅ | "DMY\_NUMERIC\_SLASH" | | MDY\_NUMERIC\_SLASH | String | ✅ | "MDY\_NUMERIC\_SLASH" | | YMD\_NUMERIC\_SLASH | String | ✅ | "YMD\_NUMERIC\_SLASH" | | DMY\_NUMERIC\_DASH\_SHORT | String | ✅ | "DMY\_NUMERIC\_DASH\_SHORT" | | DMY\_NUMERIC\_DASH | String | ✅ | "DMY\_NUMERIC\_DASH" | | YMD\_NUMERIC\_DASH | String | ✅ | "YMD\_NUMERIC\_DASH" | | MDY\_TEXT\_DASH\_SHORT | String | ✅ | "MDY\_TEXT\_DASH\_SHORT" | | MDY\_TEXT\_SPACE\_SHORT | String | ✅ | "MDY\_TEXT\_SPACE\_SHORT" | | MDY\_TEXT\_SPACE | String | ✅ | "MDY\_TEXT\_SPACE" | # EnvelopeFlowType Flow type of the envelope (REQUEST\_SIGNATURE is a request for signature, SIGN\_MYSELF is a self-signing flow) **Properties** | Name | Type | Required | Description | | :----------------- | :----- | :------- | :------------------- | | REQUEST\_SIGNATURE | String | ✅ | "REQUEST\_SIGNATURE" | | SIGN\_MYSELF | String | ✅ | "SIGN\_MYSELF" | # EnvelopeLegalityLevel Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) **Properties** | Name | Type | Required | Description | | :---------- | :----- | :------- | :------------ | | SES | String | ✅ | "SES" | | QES\_EIDAS | String | ✅ | "QES\_EIDAS" | | QES\_ZERTES | String | ✅ | "QES\_ZERTES" | # TemplateRecipientRole Role of the recipient (SIGNER signs the document, RECEIVES\_COPY receives a copy of the document, IN\_PERSON\_SIGNER signs the document in person, SENDER sends the document) **Properties** | Name | Type | Required | Description | | :----------------- | :----- | :------- | :------------------- | | SIGNER | String | ✅ | "SIGNER" | | RECEIVES\_COPY | String | ✅ | "RECEIVES\_COPY" | | IN\_PERSON\_SIGNER | String | ✅ | "IN\_PERSON\_SIGNER" | | SENDER | String | ✅ | "SENDER" | # AttachmentPlaceholderRequest **Properties** | Name | Type | Required | Description | | :---------- | :------ | :------- | :--------------------------------------------- | | recipientId | String | ✅ | ID of the recipient | | name | String | ✅ | | | required | Boolean | ✅ | Whether the attachment placeholder is required | | multiple | Boolean | ✅ | | | id | String | ❌ | ID of the attachment placeholder | | hint | String | ❌ | Hint of the attachment placeholder | # SetEnvelopeDynamicFieldsRequest **Properties** | Name | Type | Required | Description | | :------------ | :------------------------- | :------- | :--------------------- | | dynamicFields | List\<DynamicField\> | ✅ | List of dynamic fields | # Page **Properties** | Name | Type | Required | Description | | :----- | :--- | :------- | :--------------------------- | | width | Long | ❌ | Width of the page in pixels | | height | Long | ❌ | Height of the page in pixels | # TemplateSigningStep **Properties** | Name | Type | Required | Description | | :--------- | :------------------------------ | :------- | :----------------- | | recipients | List\<TemplateRecipient\> | ❌ | List of recipients | # AttachmentPlaceholdersPerRecipient **Properties** | Name | Type | Required | Description | | :------------ | :---------------------------------- | :------- | :-------------------- | | recipientId | String | ❌ | ID of the recipient | | recipientName | String | ❌ | Name of the recipient | | placeholders | List\<AttachmentPlaceholder\> | ❌ | | # ListEnvelopesResponse **Properties** | Name | Type | Required | Description | | :-------------- | :--------------------- | :------- | :------------------------------- | | hasNextPage | Boolean | ❌ | Whether there is a next page | | hasPreviousPage | Boolean | ❌ | Whether there is a previous page | | envelopes | List\<Envelope\> | ❌ | | # Recipient **Properties** | Name | Type | Required | Description | | :----------- | :-------------------- | :------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | name | String | ✅ | Name of the recipient | | email | String | ✅ | Email of the recipient | | role | RecipientRole | ✅ | Role of the recipient (SIGNER signs the document, RECEIVES\_COPY receives a copy of the document, IN\_PERSON\_SIGNER signs the document in person, SENDER sends the document) | | id | String | ❌ | Unique identifier of the recipient | | uid | String | ❌ | Unique identifier of the user associated with the recipient | | verification | RecipientVerification | ❌ | | # WebhookEvent Event of the webhook **Properties** | Name | Type | Required | Description | | :--------------------- | :----- | :------- | :----------------------- | | ENVELOPE\_EXPIRED | String | ✅ | "ENVELOPE\_EXPIRED" | | ENVELOPE\_DECLINED | String | ✅ | "ENVELOPE\_DECLINED" | | ENVELOPE\_VOIDED | String | ✅ | "ENVELOPE\_VOIDED" | | ENVELOPE\_COMPLETED | String | ✅ | "ENVELOPE\_COMPLETED" | | ENVELOPE\_AUDIT\_TRAIL | String | ✅ | "ENVELOPE\_AUDIT\_TRAIL" | # CreateWebhookRequest **Properties** | Name | Type | Required | Description | | :----- | :----------- | :------- | :------------------------ | | event | WebhookEvent | ✅ | Event of the webhook | | target | String | ✅ | URL of the webhook target | # CreateEnvelopeFromTemplateRequest **Properties** | Name | Type | Required | Description | | :------ | :------ | :------- | :---------------------------------------------- | | name | String | ✅ | Name of the envelope | | comment | String | ❌ | Comment for the envelope | | sandbox | Boolean | ❌ | Whether the envelope is created in sandbox mode | # ListTemplateAnnotationsResponse **Properties** | Name | Type | Required | Description | | :---------- | :----------------------- | :------- | :---------- | | annotations | List\<Annotation\> | ❌ | | # RenameEnvelopeRequest **Properties** | Name | Type | Required | Description | | :--- | :----- | :------- | :------------------- | | name | String | ❌ | Name of the envelope | # ListTemplateDocumentAnnotationsResponse **Properties** | Name | Type | Required | Description | | :---------- | :----------------------- | :------- | :---------- | | annotations | List\<Annotation\> | ❌ | | # ListEnvelopeDocumentsResponse **Properties** | Name | Type | Required | Description | | :-------- | :--------------------- | :------- | :---------- | | documents | List\<Document\> | ❌ | | # ListWebhooksResponse **Properties** | Name | Type | Required | Description | | :------- | :-------------------- | :------- | :---------- | | webhooks | List\<Webhook\> | ❌ | | # AnnotationSignature Signature annotation (null if annotation is not a signature) **Properties** | Name | Type | Required | Description | | :--- | :----- | :------- | :-------------------------------------------- | | id | String | ❌ | Unique identifier of the annotation signature | # Install Source: https://apidoc.sign.plus/backend-sdks/php/install Install the Signplus PHP SDK package ```bash theme={null} composer install alohi/signplus ``` Call your first SDK method ```php theme={null} Signplus->createEnvelope(input: $input); print_r($response); ``` # Sdk reference Source: https://apidoc.sign.plus/backend-sdks/php/sdk-reference A list of all methods in the `Signplus` service. Click on the method name to view detailed information about that method. | Methods | Description | | :--------------------------------------------------------------------------------- | :-------------------------------------------------------------- | | [create\_envelope](#create_envelope) | Create new envelope | | [create\_envelope\_from\_template](#create_envelope_from_template) | Create new envelope from template | | [list\_envelopes](#list_envelopes) | List envelopes | | [get\_envelope](#get_envelope) | Get envelope | | [delete\_envelope](#delete_envelope) | Delete envelope | | [download\_envelope\_signed\_documents](#download_envelope_signed_documents) | Download signed documents for an envelope | | [download\_envelope\_certificate](#download_envelope_certificate) | Download certificate of completion for an envelope | | [get\_envelope\_document](#get_envelope_document) | Get envelope document | | [get\_envelope\_documents](#get_envelope_documents) | Get envelope documents | | [add\_envelope\_document](#add_envelope_document) | Add envelope document | | [set\_envelope\_dynamic\_fields](#set_envelope_dynamic_fields) | Set envelope dynamic fields | | [add\_envelope\_signing\_steps](#add_envelope_signing_steps) | Add envelope signing steps | | [set\_envelope\_attachments\_settings](#set_envelope_attachments_settings) | Set envelope attachment settings | | [set\_envelope\_attachments\_placeholders](#set_envelope_attachments_placeholders) | Placeholders to be set, completely replacing the existing ones. | | [get\_attachment\_file](#get_attachment_file) | Get envelope attachment file | | [send\_envelope](#send_envelope) | Send envelope for signature | | [duplicate\_envelope](#duplicate_envelope) | Duplicate envelope | | [void\_envelope](#void_envelope) | Void envelope | | [rename\_envelope](#rename_envelope) | Rename envelope | | [set\_envelope\_comment](#set_envelope_comment) | Set envelope comment | | [set\_envelope\_notification](#set_envelope_notification) | Set envelope notification | | [set\_envelope\_expiration\_date](#set_envelope_expiration_date) | Set envelope expiration date | | [set\_envelope\_legality\_level](#set_envelope_legality_level) | Set envelope legality level | | [get\_envelope\_annotations](#get_envelope_annotations) | Get envelope annotations | | [get\_envelope\_document\_annotations](#get_envelope_document_annotations) | Get envelope document annotations | | [add\_envelope\_annotation](#add_envelope_annotation) | Add envelope annotation | | [delete\_envelope\_annotation](#delete_envelope_annotation) | Delete envelope annotation | | [create\_template](#create_template) | Create new template | | [list\_templates](#list_templates) | List templates | | [get\_template](#get_template) | Get template | | [delete\_template](#delete_template) | Delete template | | [duplicate\_template](#duplicate_template) | Duplicate template | | [add\_template\_document](#add_template_document) | Add template document | | [get\_template\_document](#get_template_document) | Get template document | | [get\_template\_documents](#get_template_documents) | Get template documents | | [add\_template\_signing\_steps](#add_template_signing_steps) | Add template signing steps | | [rename\_template](#rename_template) | Rename template | | [set\_template\_comment](#set_template_comment) | Set template comment | | [set\_template\_notification](#set_template_notification) | Set template notification | | [get\_template\_annotations](#get_template_annotations) | Get template annotations | | [get\_document\_template\_annotations](#get_document_template_annotations) | Get document template annotations | | [add\_template\_annotation](#add_template_annotation) | Add template annotation | | [delete\_template\_annotation](#delete_template_annotation) | Delete template annotation | | [set\_template\_attachments\_settings](#set_template_attachments_settings) | Set template attachment settings | | [set\_template\_attachments\_placeholders](#set_template_attachments_placeholders) | Placeholders to be set, completely replacing the existing ones. | | [create\_webhook](#create_webhook) | Create webhook | | [list\_webhooks](#list_webhooks) | List webhooks | | [delete\_webhook](#delete_webhook) | Delete webhook | ## create\_envelope Create new envelope * HTTP Method: `POST` * Endpoint: `/envelope` **Parameters** | Name | Type | Required | Description | | :---- | :------------------------------------------------------------------------------------ | :------- | :------------------ | | input | [Models\CreateEnvelopeRequest](/api-reference/endpoints/signplus/create-new-envelope) | ✅ | Create new envelope | **Return Type** `Models\Envelope` **Example Usage Code Snippet** ```php theme={null} signplus->createEnvelope( input: $input ); print_r($response); ``` ## create\_envelope\_from\_template Create new envelope from template * HTTP Method: `POST` * Endpoint: `/envelope/from_template/{template_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :-------------------------------------------------------------------------------------------------------------- | :------- | :-------------------------------- | | input | [Models\CreateEnvelopeFromTemplateRequest](/api-reference/endpoints/signplus/create-new-envelope-from-template) | ✅ | Create new envelope from template | | \$templateId | string | ✅ | | **Return Type** `Models\Envelope` **Example Usage Code Snippet** ```php theme={null} signplus->createEnvelopeFromTemplate( input: $input, templateId: "template_id" ); print_r($response); ``` ## list\_envelopes List envelopes * HTTP Method: `POST` * Endpoint: `/envelopes` **Parameters** | Name | Type | Required | Description | | :---- | :------------------------------------------------------------------------------ | :------- | :------------- | | input | [Models\ListEnvelopesRequest](/api-reference/endpoints/signplus/list-envelopes) | ❌ | List envelopes | **Return Type** `Models\ListEnvelopesResponse` **Example Usage Code Snippet** ```php theme={null} signplus->listEnvelopes( input: $input ); print_r($response); ``` ## get\_envelope Get envelope * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :---------- | | \$envelopeId | string | ✅ | | **Return Type** `Models\Envelope` **Example Usage Code Snippet** ```php theme={null} signplus->getEnvelope( envelopeId: "envelope_id" ); print_r($response); ``` ## delete\_envelope Delete envelope * HTTP Method: `DELETE` * Endpoint: `/envelope/{envelope_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :---------- | | \$envelopeId | string | ✅ | | **Return Type** `mixed` **Example Usage Code Snippet** ```php theme={null} signplus->deleteEnvelope( envelopeId: "envelope_id" ); print_r($response); ``` ## download\_envelope\_signed\_documents Download signed documents for an envelope * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/signed_documents` **Parameters** | Name | Type | Required | Description | | :------------------------ | :----- | :------- | :---------------------------------------------------------------------- | | \$envelopeId | string | ✅ | ID of the envelope | | \$certificateOfCompletion | bool | ❌ | Whether to include the certificate of completion in the downloaded file | **Return Type** `mixed` **Example Usage Code Snippet** ```php theme={null} signplus->downloadEnvelopeSignedDocuments( certificateOfCompletion: true, envelopeId: "envelope_id" ); print_r($response); ``` ## download\_envelope\_certificate Download certificate of completion for an envelope * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/certificate` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :----------------- | | \$envelopeId | string | ✅ | ID of the envelope | **Return Type** `mixed` **Example Usage Code Snippet** ```php theme={null} signplus->downloadEnvelopeCertificate( envelopeId: "envelope_id" ); print_r($response); ``` ## get\_envelope\_document Get envelope document * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/document/{document_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :---------- | | \$envelopeId | string | ✅ | | | \$documentId | string | ✅ | | **Return Type** `Models\Document` **Example Usage Code Snippet** ```php theme={null} signplus->getEnvelopeDocument( envelopeId: "envelope_id", documentId: "document_id" ); print_r($response); ``` ## get\_envelope\_documents Get envelope documents * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/documents` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :---------- | | \$envelopeId | string | ✅ | | **Return Type** `Models\ListEnvelopeDocumentsResponse` **Example Usage Code Snippet** ```php theme={null} signplus->getEnvelopeDocuments( envelopeId: "envelope_id" ); print_r($response); ``` ## add\_envelope\_document Add envelope document * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/document` **Parameters** | Name | Type | Required | Description | | :----------- | :------------------------------------------------------------------------------------------- | :------- | :-------------------- | | input | [Models\AddEnvelopeDocumentRequest](/api-reference/endpoints/signplus/add-envelope-document) | ✅ | Add envelope document | | \$envelopeId | string | ✅ | | **Return Type** `Models\Document` **Example Usage Code Snippet** ```php theme={null} signplus->addEnvelopeDocument( input: $input, envelopeId: "envelope_id" ); print_r($response); ``` ## set\_envelope\_dynamic\_fields Set envelope dynamic fields * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/dynamic_fields` **Parameters** | Name | Type | Required | Description | | :----------- | :------------------------------------------------------------------------------------------------------ | :------- | :-------------------------- | | input | [Models\SetEnvelopeDynamicFieldsRequest](/api-reference/endpoints/signplus/set-envelope-dynamic-fields) | ✅ | Set envelope dynamic fields | | \$envelopeId | string | ✅ | | **Return Type** `Models\Envelope` **Example Usage Code Snippet** ```php theme={null} signplus->setEnvelopeDynamicFields( input: $input, envelopeId: "envelope_id" ); print_r($response); ``` ## add\_envelope\_signing\_steps Add envelope signing steps * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/signing_steps` **Parameters** | Name | Type | Required | Description | | :----------- | :---------------------------------------------------------------------------------------------------- | :------- | :------------------------- | | input | [Models\AddEnvelopeSigningStepsRequest](/api-reference/endpoints/signplus/add-envelope-signing-steps) | ✅ | Add envelope signing steps | | \$envelopeId | string | ✅ | | **Return Type** `Models\Envelope` **Example Usage Code Snippet** ```php theme={null} signplus->addEnvelopeSigningSteps( input: $input, envelopeId: "envelope_id" ); print_r($response); ``` ## set\_envelope\_attachments\_settings Set envelope attachment settings * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/attachments/settings` **Parameters** | Name | Type | Required | Description | | :----------- | :------------------------------------------- | :------- | :------------------------------- | | input | Models\SetEnvelopeAttachmentsSettingsRequest | ✅ | Set envelope attachment settings | | \$envelopeId | string | ✅ | | **Return Type** `Models\EnvelopeAttachments` **Example Usage Code Snippet** ```php theme={null} signplus->setEnvelopeAttachmentsSettings( input: $input, envelopeId: "envelope_id" ); print_r($response); ``` ## set\_envelope\_attachments\_placeholders Placeholders to be set, completely replacing the existing ones. * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/attachments/placeholders` **Parameters** | Name | Type | Required | Description | | :----------- | :----------------------------------------------- | :------- | :-------------------------------------------------------------- | | input | Models\SetEnvelopeAttachmentsPlaceholdersRequest | ✅ | Placeholders to be set, completely replacing the existing ones. | | \$envelopeId | string | ✅ | | **Return Type** `Models\EnvelopeAttachments` **Example Usage Code Snippet** ```php theme={null} signplus->setEnvelopeAttachmentsPlaceholders( input: $input, envelopeId: "envelope_id" ); print_r($response); ``` ## get\_attachment\_file Get envelope attachment file * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/attachments/{file_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :---------- | | \$envelopeId | string | ✅ | | | \$fileId | string | ✅ | | **Return Type** `mixed` **Example Usage Code Snippet** ```php theme={null} signplus->getAttachmentFile( envelopeId: "envelope_id", fileId: "file_id" ); print_r($response); ``` ## send\_envelope Send envelope for signature * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/send` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :---------- | | \$envelopeId | string | ✅ | | **Return Type** `Models\Envelope` **Example Usage Code Snippet** ```php theme={null} signplus->sendEnvelope( envelopeId: "envelope_id" ); print_r($response); ``` ## duplicate\_envelope Duplicate envelope * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/duplicate` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :---------- | | \$envelopeId | string | ✅ | | **Return Type** `Models\Envelope` **Example Usage Code Snippet** ```php theme={null} signplus->duplicateEnvelope( envelopeId: "envelope_id" ); print_r($response); ``` ## void\_envelope Void envelope * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/void` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :---------- | | \$envelopeId | string | ✅ | | **Return Type** `Models\Envelope` **Example Usage Code Snippet** ```php theme={null} signplus->voidEnvelope( envelopeId: "envelope_id" ); print_r($response); ``` ## rename\_envelope Rename envelope * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/rename` **Parameters** | Name | Type | Required | Description | | :----------- | :-------------------------------------------------------------------------------- | :------- | :-------------- | | input | [Models\RenameEnvelopeRequest](/api-reference/endpoints/signplus/rename-envelope) | ✅ | Rename envelope | | \$envelopeId | string | ✅ | | **Return Type** `Models\Envelope` **Example Usage Code Snippet** ```php theme={null} signplus->renameEnvelope( input: $input, envelopeId: "envelope_id" ); print_r($response); ``` ## set\_envelope\_comment Set envelope comment * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/set_comment` **Parameters** | Name | Type | Required | Description | | :----------- | :----------------------------------------------------------------------------------------- | :------- | :------------------- | | input | [Models\SetEnvelopeCommentRequest](/api-reference/endpoints/signplus/set-envelope-comment) | ✅ | Set envelope comment | | \$envelopeId | string | ✅ | | **Return Type** `Models\Envelope` **Example Usage Code Snippet** ```php theme={null} signplus->setEnvelopeComment( input: $input, envelopeId: "envelope_id" ); print_r($response); ``` ## set\_envelope\_notification Set envelope notification * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/set_notification` **Parameters** | Name | Type | Required | Description | | :----------- | :-------------------------- | :------- | :------------------------ | | input | Models\EnvelopeNotification | ✅ | Set envelope notification | | \$envelopeId | string | ✅ | | **Return Type** `Models\Envelope` **Example Usage Code Snippet** ```php theme={null} signplus->setEnvelopeNotification( input: $input, envelopeId: "envelope_id" ); print_r($response); ``` ## set\_envelope\_expiration\_date Set envelope expiration date * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/set_expiration_date` **Parameters** | Name | Type | Required | Description | | :----------- | :---------------------------------- | :------- | :--------------------------- | | input | Models\SetEnvelopeExpirationRequest | ✅ | Set envelope expiration date | | \$envelopeId | string | ✅ | | **Return Type** `Models\Envelope` **Example Usage Code Snippet** ```php theme={null} signplus->setEnvelopeExpirationDate( input: $input, envelopeId: "envelope_id" ); print_r($response); ``` ## set\_envelope\_legality\_level Set envelope legality level * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/set_legality_level` **Parameters** | Name | Type | Required | Description | | :----------- | :------------------------------------- | :------- | :-------------------------- | | input | Models\SetEnvelopeLegalityLevelRequest | ✅ | Set envelope legality level | | \$envelopeId | string | ✅ | | **Return Type** `Models\Envelope` **Example Usage Code Snippet** ```php theme={null} signplus->setEnvelopeLegalityLevel( input: $input, envelopeId: "envelope_id" ); print_r($response); ``` ## get\_envelope\_annotations Get envelope annotations * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/annotations` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :----------------- | | \$envelopeId | string | ✅ | ID of the envelope | **Return Type** `array` **Example Usage Code Snippet** ```php theme={null} signplus->getEnvelopeAnnotations( envelopeId: "envelope_id" ); print_r($response); ``` ## get\_envelope\_document\_annotations Get envelope document annotations * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/annotations/{document_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :----------------- | | \$envelopeId | string | ✅ | ID of the envelope | | \$documentId | string | ✅ | ID of document | **Return Type** `Models\ListEnvelopeDocumentAnnotationsResponse` **Example Usage Code Snippet** ```php theme={null} signplus->getEnvelopeDocumentAnnotations( envelopeId: "envelope_id", documentId: "document_id" ); print_r($response); ``` ## add\_envelope\_annotation Add envelope annotation * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/annotation` **Parameters** | Name | Type | Required | Description | | :----------- | :--------------------------------------------------------------------------------------- | :------- | :---------------------- | | input | [Models\AddAnnotationRequest](/api-reference/endpoints/signplus/add-envelope-annotation) | ✅ | Add envelope annotation | | \$envelopeId | string | ✅ | ID of the envelope | **Return Type** `Models\Annotation` **Example Usage Code Snippet** ```php theme={null} signplus->addEnvelopeAnnotation( input: $input, envelopeId: "envelope_id" ); print_r($response); ``` ## delete\_envelope\_annotation Delete envelope annotation * HTTP Method: `DELETE` * Endpoint: `/envelope/{envelope_id}/annotation/{annotation_id}` **Parameters** | Name | Type | Required | Description | | :------------- | :----- | :------- | :----------------------------- | | \$envelopeId | string | ✅ | ID of the envelope | | \$annotationId | string | ✅ | ID of the annotation to delete | **Return Type** `mixed` **Example Usage Code Snippet** ```php theme={null} signplus->deleteEnvelopeAnnotation( envelopeId: "envelope_id", annotationId: "annotation_id" ); print_r($response); ``` ## create\_template Create new template * HTTP Method: `POST` * Endpoint: `/template` **Parameters** | Name | Type | Required | Description | | :---- | :------------------------------------------------------------------------------------ | :------- | :------------------ | | input | [Models\CreateTemplateRequest](/api-reference/endpoints/signplus/create-new-template) | ✅ | Create new template | **Return Type** `Models\Template` **Example Usage Code Snippet** ```php theme={null} signplus->createTemplate( input: $input ); print_r($response); ``` ## list\_templates List templates * HTTP Method: `POST` * Endpoint: `/templates` **Parameters** | Name | Type | Required | Description | | :---- | :------------------------------------------------------------------------------ | :------- | :------------- | | input | [Models\ListTemplatesRequest](/api-reference/endpoints/signplus/list-templates) | ❌ | List templates | **Return Type** `Models\ListTemplatesResponse` **Example Usage Code Snippet** ```php theme={null} signplus->listTemplates( input: $input ); print_r($response); ``` ## get\_template Get template * HTTP Method: `GET` * Endpoint: `/template/{template_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :---------- | | \$templateId | string | ✅ | | **Return Type** `Models\Template` **Example Usage Code Snippet** ```php theme={null} signplus->getTemplate( templateId: "template_id" ); print_r($response); ``` ## delete\_template Delete template * HTTP Method: `DELETE` * Endpoint: `/template/{template_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :---------- | | \$templateId | string | ✅ | | **Return Type** `mixed` **Example Usage Code Snippet** ```php theme={null} signplus->deleteTemplate( templateId: "template_id" ); print_r($response); ``` ## duplicate\_template Duplicate template * HTTP Method: `POST` * Endpoint: `/template/{template_id}/duplicate` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :---------- | | \$templateId | string | ✅ | | **Return Type** `Models\Template` **Example Usage Code Snippet** ```php theme={null} signplus->duplicateTemplate( templateId: "template_id" ); print_r($response); ``` ## add\_template\_document Add template document * HTTP Method: `POST` * Endpoint: `/template/{template_id}/document` **Parameters** | Name | Type | Required | Description | | :----------- | :-------------------------------- | :------- | :-------------------- | | input | Models\AddTemplateDocumentRequest | ✅ | Add template document | | \$templateId | string | ✅ | | **Return Type** `Models\Document` **Example Usage Code Snippet** ```php theme={null} signplus->addTemplateDocument( input: $input, templateId: "template_id" ); print_r($response); ``` ## get\_template\_document Get template document * HTTP Method: `GET` * Endpoint: `/template/{template_id}/document/{document_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :---------- | | \$templateId | string | ✅ | | | \$documentId | string | ✅ | | **Return Type** `Models\Document` **Example Usage Code Snippet** ```php theme={null} signplus->getTemplateDocument( templateId: "template_id", documentId: "document_id" ); print_r($response); ``` ## get\_template\_documents Get template documents * HTTP Method: `GET` * Endpoint: `/template/{template_id}/documents` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :---------- | | \$templateId | string | ✅ | | **Return Type** `Models\ListTemplateDocumentsResponse` **Example Usage Code Snippet** ```php theme={null} signplus->getTemplateDocuments( templateId: "template_id" ); print_r($response); ``` ## add\_template\_signing\_steps Add template signing steps * HTTP Method: `POST` * Endpoint: `/template/{template_id}/signing_steps` **Parameters** | Name | Type | Required | Description | | :----------- | :------------------------------------ | :------- | :------------------------- | | input | Models\AddTemplateSigningStepsRequest | ✅ | Add template signing steps | | \$templateId | string | ✅ | | **Return Type** `Models\Template` **Example Usage Code Snippet** ```php theme={null} signplus->addTemplateSigningSteps( input: $input, templateId: "template_id" ); print_r($response); ``` ## rename\_template Rename template * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/rename` **Parameters** | Name | Type | Required | Description | | :----------- | :--------------------------- | :------- | :-------------- | | input | Models\RenameTemplateRequest | ✅ | Rename template | | \$templateId | string | ✅ | | **Return Type** `Models\Template` **Example Usage Code Snippet** ```php theme={null} signplus->renameTemplate( input: $input, templateId: "template_id" ); print_r($response); ``` ## set\_template\_comment Set template comment * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/set_comment` **Parameters** | Name | Type | Required | Description | | :----------- | :------------------------------- | :------- | :------------------- | | input | Models\SetTemplateCommentRequest | ✅ | Set template comment | | \$templateId | string | ✅ | | **Return Type** `Models\Template` **Example Usage Code Snippet** ```php theme={null} signplus->setTemplateComment( input: $input, templateId: "template_id" ); print_r($response); ``` ## set\_template\_notification Set template notification * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/set_notification` **Parameters** | Name | Type | Required | Description | | :----------- | :-------------------------- | :------- | :------------------------ | | input | Models\EnvelopeNotification | ✅ | Set template notification | | \$templateId | string | ✅ | | **Return Type** `Models\Template` **Example Usage Code Snippet** ```php theme={null} signplus->setTemplateNotification( input: $input, templateId: "template_id" ); print_r($response); ``` ## get\_template\_annotations Get template annotations * HTTP Method: `GET` * Endpoint: `/template/{template_id}/annotations` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :----------------- | | \$templateId | string | ✅ | ID of the template | **Return Type** `Models\ListTemplateAnnotationsResponse` **Example Usage Code Snippet** ```php theme={null} signplus->getTemplateAnnotations( templateId: "template_id" ); print_r($response); ``` ## get\_document\_template\_annotations Get document template annotations * HTTP Method: `GET` * Endpoint: `/template/{template_id}/annotations/{document_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :----------------- | | \$templateId | string | ✅ | ID of the template | | \$documentId | string | ✅ | ID of document | **Return Type** `Models\ListTemplateDocumentAnnotationsResponse` **Example Usage Code Snippet** ```php theme={null} signplus->getDocumentTemplateAnnotations( templateId: "template_id", documentId: "document_id" ); print_r($response); ``` ## add\_template\_annotation Add template annotation * HTTP Method: `POST` * Endpoint: `/template/{template_id}/annotation` **Parameters** | Name | Type | Required | Description | | :----------- | :--------------------------------------------------------------------------------------- | :------- | :---------------------- | | input | [Models\AddAnnotationRequest](/api-reference/endpoints/signplus/add-envelope-annotation) | ✅ | Add template annotation | | \$templateId | string | ✅ | ID of the template | **Return Type** `Models\Annotation` **Example Usage Code Snippet** ```php theme={null} signplus->addTemplateAnnotation( input: $input, templateId: "template_id" ); print_r($response); ``` ## delete\_template\_annotation Delete template annotation * HTTP Method: `DELETE` * Endpoint: `/template/{template_id}/annotation/{annotation_id}` **Parameters** | Name | Type | Required | Description | | :------------- | :----- | :------- | :----------------------------- | | \$templateId | string | ✅ | ID of the template | | \$annotationId | string | ✅ | ID of the annotation to delete | **Return Type** `mixed` **Example Usage Code Snippet** ```php theme={null} signplus->deleteTemplateAnnotation( templateId: "template_id", annotationId: "annotation_id" ); print_r($response); ``` ## set\_template\_attachments\_settings Set template attachment settings * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/attachments/settings` **Parameters** | Name | Type | Required | Description | | :----------- | :------------------------------------------- | :------- | :------------------------------- | | input | Models\SetEnvelopeAttachmentsSettingsRequest | ✅ | Set template attachment settings | | \$templateId | string | ✅ | | **Return Type** `Models\EnvelopeAttachments` **Example Usage Code Snippet** ```php theme={null} signplus->setTemplateAttachmentsSettings( input: $input, templateId: "template_id" ); print_r($response); ``` ## set\_template\_attachments\_placeholders Placeholders to be set, completely replacing the existing ones. * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/attachments/placeholders` **Parameters** | Name | Type | Required | Description | | :----------- | :----------------------------------------------- | :------- | :-------------------------------------------------------------- | | input | Models\SetEnvelopeAttachmentsPlaceholdersRequest | ✅ | Placeholders to be set, completely replacing the existing ones. | | \$templateId | string | ✅ | | **Return Type** `Models\EnvelopeAttachments` **Example Usage Code Snippet** ```php theme={null} signplus->setTemplateAttachmentsPlaceholders( input: $input, templateId: "template_id" ); print_r($response); ``` ## create\_webhook Create webhook * HTTP Method: `POST` * Endpoint: `/webhook` **Parameters** | Name | Type | Required | Description | | :---- | :------------------------------------------------------------------------------ | :------- | :------------- | | input | [Models\CreateWebhookRequest](/api-reference/endpoints/signplus/create-webhook) | ✅ | Create webhook | **Return Type** `Models\Webhook` **Example Usage Code Snippet** ```php theme={null} signplus->createWebhook( input: $input ); print_r($response); ``` ## list\_webhooks List webhooks * HTTP Method: `POST` * Endpoint: `/webhooks` **Parameters** | Name | Type | Required | Description | | :---- | :---------------------------------------------------------------------------- | :------- | :------------ | | input | [Models\ListWebhooksRequest](/api-reference/endpoints/signplus/list-webhooks) | ❌ | List webhooks | **Return Type** `Models\ListWebhooksResponse` **Example Usage Code Snippet** ```php theme={null} signplus->listWebhooks( input: $input ); print_r($response); ``` ## delete\_webhook Delete webhook * HTTP Method: `DELETE` * Endpoint: `/webhook/{webhook_id}` **Parameters** | Name | Type | Required | Description | | :---------- | :----- | :------- | :---------- | | \$webhookId | string | ✅ | | **Return Type** `mixed` **Example Usage Code Snippet** ```php theme={null} signplus->deleteWebhook( webhookId: "webhook_id" ); print_r($response); ``` # Models # SetEnvelopeAttachmentsPlaceholdersRequest **Properties** | Name | Type | Required | Description | | :----------- | :---- | :------- | :---------- | | placeholders | array | ✅ | | # Document **Properties** | Name | Type | Required | Description | | :-------- | :------ | :------- | :-------------------------------- | | id | string | ❌ | Unique identifier of the document | | name | string | ❌ | Name of the document | | filename | string | ❌ | Filename of the document | | pageCount | integer | ❌ | Number of pages in the document | | pages | array | ❌ | List of pages in the document | # CreateEnvelopeRequest **Properties** | Name | Type | Required | Description | | :------------ | :------ | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | name | string | ✅ | Name of the envelope | | legalityLevel | model | ✅ | Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) | | expiresAt | integer | ❌ | Unix timestamp of the expiration date | | comment | string | ❌ | Comment for the envelope | | sandbox | boolean | ❌ | Whether the envelope is created in sandbox mode | # ListEnvelopesRequest **Properties** | Name | Type | Required | Description | | :------------- | :------ | :------- | :------------------------------------------------ | | name | string | ❌ | Name of the envelope | | tags | array | ❌ | List of tags | | comment | string | ❌ | Comment of the envelope | | ids | array | ❌ | List of envelope IDs | | statuses | array | ❌ | List of envelope statuses | | folderIds | array | ❌ | List of folder IDs | | onlyRootFolder | boolean | ❌ | Whether to only list envelopes in the root folder | | dateFrom | integer | ❌ | Unix timestamp of the start date | | dateTo | integer | ❌ | Unix timestamp of the end date | | uid | string | ❌ | Unique identifier of the user | | first | integer | ❌ | | | last | integer | ❌ | | | after | string | ❌ | | | before | string | ❌ | | | orderField | model | ❌ | Field to order envelopes by | | ascending | boolean | ❌ | Whether to order envelopes in ascending order | | includeTrash | boolean | ❌ | Whether to include envelopes in the trash | # AttachmentPlaceholder **Properties** | Name | Type | Required | Description | | :---------- | :------ | :------- | :--------------------------------------------------------- | | recipientId | string | ❌ | ID of the recipient | | id | string | ❌ | ID of the attachment placeholder | | name | string | ❌ | Name of the attachment placeholder | | hint | string | ❌ | Hint of the attachment placeholder | | required | boolean | ❌ | Whether the attachment placeholder is required | | multiple | boolean | ❌ | Whether the attachment placeholder can have multiple files | | files | array | ❌ | | # SetEnvelopeAttachmentsSettingsRequest **Properties** | Name | Type | Required | Description | | :------- | :---- | :------- | :---------- | | settings | model | ✅ | | # EnvelopeNotification **Properties** | Name | Type | Required | Description | | :--------------- | :------ | :------- | :-------------------------------- | | subject | string | ❌ | Subject of the notification | | message | string | ❌ | Message of the notification | | reminderInterval | integer | ❌ | Interval in days to send reminder | # ListTemplatesRequest **Properties** | Name | Type | Required | Description | | :--------- | :------ | :------- | :-------------------------------------------- | | name | string | ❌ | Name of the template | | tags | array | ❌ | List of tag templates | | ids | array | ❌ | List of templates IDs | | first | integer | ❌ | | | last | integer | ❌ | | | after | string | ❌ | | | before | string | ❌ | | | orderField | model | ❌ | Field to order templates by | | ascending | boolean | ❌ | Whether to order templates in ascending order | # SetTemplateCommentRequest **Properties** | Name | Type | Required | Description | | :------ | :----- | :------- | :----------------------- | | comment | string | ✅ | Comment for the template | # Template **Properties** | Name | Type | Required | Description | | :-------------- | :------ | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | id | string | ❌ | Unique identifier of the template | | name | string | ❌ | Name of the template | | comment | string | ❌ | Comment for the template | | pages | integer | ❌ | Total number of pages in the template | | legalityLevel | model | ❌ | Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) | | createdAt | integer | ❌ | Unix timestamp of the creation date | | updatedAt | integer | ❌ | Unix timestamp of the last modification date | | expirationDelay | integer | ❌ | Expiration delay added to the current time when an envelope is created from this template | | numRecipients | integer | ❌ | Number of recipients in the envelope | | signingSteps | array | ❌ | | | documents | array | ❌ | | | notification | model | ❌ | | | dynamicFields | array | ❌ | List of dynamic fields | | attachments | model | ❌ | | # RecipientVerificationType Type of verification the recipient must complete before accessing the envelope. - `PASSCODE`: requires a code to be entered. - `SMS`: sends a code via SMS. - `ID_VERIFICATION`: prompts the recipient to complete an automated ID and selfie check. **Properties** | Name | Type | Required | Description | | :------------- | :----- | :------- | :--------------- | | Sms | string | | SMS | | Passcode | string | | PASSCODE | | IdVerification | string | | ID\_VERIFICATION | # AddEnvelopeSigningStepsRequest **Properties** | Name | Type | Required | Description | | :----------- | :---- | :------- | :-------------------- | | signingSteps | array | ❌ | List of signing steps | # AnnotationFontFamily Font family of the text **Properties** | Name | Type | Required | Description | | :------ | :----- | :------- | :---------- | | Unknown | string | | UNKNOWN | | Serif | string | | SERIF | | Sans | string | | SANS | | Mono | string | | MONO | # AddTemplateSigningStepsRequest **Properties** | Name | Type | Required | Description | | :----------- | :---- | :------- | :-------------------- | | signingSteps | array | ✅ | List of signing steps | # SetEnvelopeCommentRequest **Properties** | Name | Type | Required | Description | | :------ | :----- | :------- | :----------------------- | | comment | string | ✅ | Comment for the envelope | # TemplateOrderField Field to order templates by **Properties** | Name | Type | Required | Description | | :----------------------- | :----- | :------- | :--------------------------- | | TemplateId | string | | TEMPLATE\_ID | | TemplateCreationDate | string | | TEMPLATE\_CREATION\_DATE | | TemplateModificationDate | string | | TEMPLATE\_MODIFICATION\_DATE | | TemplateName | string | | TEMPLATE\_NAME | # EnvelopeOrderField Field to order envelopes by **Properties** | Name | Type | Required | Description | | :----------------- | :----- | :------- | :--------------------- | | CreationDate | string | | CREATION\_DATE | | ModificationDate | string | | MODIFICATION\_DATE | | Name | string | | NAME | | Status | string | | STATUS | | LastDocumentChange | string | | LAST\_DOCUMENT\_CHANGE | # AddEnvelopeDocumentRequest **Properties** | Name | Type | Required | Description | | :--- | :----- | :------- | :------------------------------ | | file | binary | ❌ | File to upload in binary format | # ListWebhooksRequest **Properties** | Name | Type | Required | Description | | :-------- | :----- | :------- | :------------------- | | webhookId | string | ❌ | ID of the webhook | | event | model | ❌ | Event of the webhook | # SetEnvelopeLegalityLevelRequest **Properties** | Name | Type | Required | Description | | :------------ | :---- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | legalityLevel | model | ❌ | Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) | # AttachmentPlaceholderFile **Properties** | Name | Type | Required | Description | | :------- | :------ | :------- | :------------------------ | | id | string | ❌ | ID of the file | | name | string | ❌ | Name of the file | | size | integer | ❌ | Size of the file in bytes | | mimetype | string | ❌ | MIME type of the file | # SetEnvelopeExpirationRequest **Properties** | Name | Type | Required | Description | | :-------- | :------ | :------- | :------------------------------------ | | expiresAt | integer | ✅ | Unix timestamp of the expiration date | # AnnotationText Text annotation (null if annotation is not a text) **Properties** | Name | Type | Required | Description | | :--------------- | :----- | :------- | :--------------------------------- | | size | number | ❌ | Font size of the text in pt | | color | number | ❌ | Text color in 32bit representation | | value | string | ❌ | Text content of the annotation | | tooltip | string | ❌ | Tooltip of the annotation | | dynamicFieldName | string | ❌ | Name of the dynamic field | | font | model | ❌ | | # AnnotationCheckbox Checkbox annotation (null if annotation is not a checkbox) **Properties** | Name | Type | Required | Description | | :------ | :------ | :------- | :------------------------------ | | checked | boolean | ❌ | Whether the checkbox is checked | | style | model | ❌ | Style of the checkbox | # Envelope **Properties** | Name | Type | Required | Description | | :------------ | :------ | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | id | string | ❌ | Unique identifier of the envelope | | name | string | ❌ | Name of the envelope | | comment | string | ❌ | Comment for the envelope | | pages | integer | ❌ | Total number of pages in the envelope | | flowType | model | ❌ | Flow type of the envelope (REQUEST\_SIGNATURE is a request for signature, SIGN\_MYSELF is a self-signing flow) | | legalityLevel | model | ❌ | Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) | | status | model | ❌ | Status of the envelope | | createdAt | integer | ❌ | Unix timestamp of the creation date | | updatedAt | integer | ❌ | Unix timestamp of the last modification date | | expiresAt | integer | ❌ | Unix timestamp of the expiration date | | numRecipients | integer | ❌ | Number of recipients in the envelope | | isDuplicable | boolean | ❌ | Whether the envelope can be duplicated | | signingSteps | array | ❌ | | | documents | array | ❌ | | | notification | model | ❌ | | | attachments | model | ❌ | | # AddTemplateDocumentRequest **Properties** | Name | Type | Required | Description | | :--- | :----- | :------- | :------------------------------ | | file | binary | ✅ | File to upload in binary format | # TemplateRecipient **Properties** | Name | Type | Required | Description | | :---- | :----- | :------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | id | string | ❌ | Unique identifier of the recipient | | uid | string | ❌ | Unique identifier of the user associated with the recipient | | name | string | ❌ | Name of the recipient | | email | string | ❌ | Email of the recipient | | role | model | ❌ | Role of the recipient (SIGNER signs the document, RECEIVES\_COPY receives a copy of the document, IN\_PERSON\_SIGNER signs the document in person, SENDER sends the document) | # AddAnnotationRequest **Properties** | Name | Type | Required | Description | | :---------- | :------ | :------- | :---------------------------------------------------------------------------------------------- | | documentId | string | ✅ | ID of the document | | page | integer | ✅ | Page number where the annotation is placed | | x | number | ✅ | X coordinate of the annotation (in % of the page width from 0 to 100) from the top left corner | | y | number | ✅ | Y coordinate of the annotation (in % of the page height from 0 to 100) from the top left corner | | width | number | ✅ | Width of the annotation (in % of the page width from 0 to 100) | | height | number | ✅ | Height of the annotation (in % of the page height from 0 to 100) | | type | model | ✅ | Type of the annotation | | recipientId | string | ❌ | ID of the recipient | | required | boolean | ❌ | | | signature | model | ❌ | Signature annotation (null if annotation is not a signature) | | initials | model | ❌ | Initials annotation (null if annotation is not initials) | | text | model | ❌ | Text annotation (null if annotation is not a text) | | datetime | model | ❌ | Date annotation (null if annotation is not a date) | | checkbox | model | ❌ | Checkbox annotation (null if annotation is not a checkbox) | # ListEnvelopeDocumentAnnotationsResponse **Properties** | Name | Type | Required | Description | | :---------- | :---- | :------- | :---------- | | annotations | array | ❌ | | # EnvelopeStatus Status of the envelope **Properties** | Name | Type | Required | Description | | :--------- | :----- | :------- | :----------- | | Draft | string | | DRAFT | | InProgress | string | | IN\_PROGRESS | | Completed | string | | COMPLETED | | Expired | string | | EXPIRED | | Declined | string | | DECLINED | | Voided | string | | VOIDED | | Pending | string | | PENDING | # RecipientVerification **Properties** | Name | Type | Required | Description | | :---- | :----- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | type | model | ❌ | Type of verification the recipient must complete before accessing the envelope. - `PASSCODE`: requires a code to be entered. - `SMS`: sends a code via SMS. - `ID_VERIFICATION`: prompts the recipient to complete an automated ID and selfie check. | | value | string | ❌ | Required for `PASSCODE` and `SMS` verification. - `PASSCODE`: code required by the recipient to sign the document. - `SMS`: recipient's phone number. - `ID_VERIFICATION`: leave empty. | # AnnotationCheckboxStyle Style of the checkbox **Properties** | Name | Type | Required | Description | | :---------- | :----- | :------- | :------------ | | CircleCheck | string | | CIRCLE\_CHECK | | CircleFull | string | | CIRCLE\_FULL | | SquareCheck | string | | SQUARE\_CHECK | | SquareFull | string | | SQUARE\_FULL | | CheckMark | string | | CHECK\_MARK | | TimesSquare | string | | TIMES\_SQUARE | # SigningStep **Properties** | Name | Type | Required | Description | | :--------- | :---- | :------- | :----------------- | | recipients | array | ❌ | List of recipients | # AnnotationDateTime Date annotation (null if annotation is not a date) **Properties** | Name | Type | Required | Description | | :-------- | :------ | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | size | number | ❌ | Font size of the text in pt | | font | model | ❌ | | | color | string | ❌ | Color of the text in hex format | | autoFill | boolean | ❌ | Whether the date should be automatically filled | | timezone | string | ❌ | Timezone of the date | | timestamp | integer | ❌ | Unix timestamp of the date | | format | model | ❌ | Format of the date time (DMY\_NUMERIC\_SLASH is day/month/year with slashes, MDY\_NUMERIC\_SLASH is month/day/year with slashes, YMD\_NUMERIC\_SLASH is year/month/day with slashes, DMY\_NUMERIC\_DASH\_SHORT is day/month/year with dashes, DMY\_NUMERIC\_DASH is day/month/year with dashes, YMD\_NUMERIC\_DASH is year/month/day with dashes, MDY\_TEXT\_DASH\_SHORT is month/day/year with dashes, MDY\_TEXT\_SPACE\_SHORT is month/day/year with spaces, MDY\_TEXT\_SPACE is month/day/year with spaces) | # AttachmentSettings **Properties** | Name | Type | Required | Description | | :------------------ | :------ | :------- | :-------------------------------------------------- | | visibleToRecipients | boolean | ❌ | Whether the attachment is visible to the recipients | # CreateTemplateRequest **Properties** | Name | Type | Required | Description | | :--- | :----- | :------- | :---------- | | name | string | ✅ | | # ListTemplateDocumentsResponse **Properties** | Name | Type | Required | Description | | :-------- | :---- | :------- | :---------- | | documents | array | ❌ | | # AnnotationInitials Initials annotation (null if annotation is not initials) **Properties** | Name | Type | Required | Description | | :--- | :----- | :------- | :------------------------------------------- | | id | string | ❌ | Unique identifier of the annotation initials | # AnnotationFont **Properties** | Name | Type | Required | Description | | :----- | :------ | :------- | :------------------------- | | family | model | ❌ | Font family of the text | | italic | boolean | ❌ | Whether the text is italic | | bold | boolean | ❌ | Whether the text is bold | # AnnotationType Type of the annotation **Properties** | Name | Type | Required | Description | | :-------- | :----- | :------- | :---------- | | Text | string | | TEXT | | Signature | string | | SIGNATURE | | Initials | string | | INITIALS | | Checkbox | string | | CHECKBOX | | Date | string | | DATE | # Webhook **Properties** | Name | Type | Required | Description | | :----- | :----- | :------- | :------------------------------- | | id | string | ❌ | Unique identifier of the webhook | | event | model | ❌ | Event of the webhook | | target | string | ❌ | Target URL of the webhook | # RenameTemplateRequest **Properties** | Name | Type | Required | Description | | :--- | :----- | :------- | :------------------- | | name | string | ✅ | Name of the template | # ListTemplatesResponse **Properties** | Name | Type | Required | Description | | :-------------- | :------ | :------- | :------------------------------- | | hasNextPage | boolean | ❌ | Whether there is a next page | | hasPreviousPage | boolean | ❌ | Whether there is a previous page | | templates | array | ❌ | | # EnvelopeAttachments **Properties** | Name | Type | Required | Description | | :--------- | :---- | :------- | :---------- | | settings | model | ❌ | | | recipients | array | ❌ | | # RecipientRole Role of the recipient (SIGNER signs the document, RECEIVES\_COPY receives a copy of the document, IN\_PERSON\_SIGNER signs the document in person, SENDER sends the document) **Properties** | Name | Type | Required | Description | | :------------- | :----- | :------- | :----------------- | | Signer | string | | SIGNER | | ReceivesCopy | string | | RECEIVES\_COPY | | InPersonSigner | string | | IN\_PERSON\_SIGNER | # Annotation **Properties** | Name | Type | Required | Description | | :---------- | :------ | :------- | :---------------------------------------------------------------------------------------------- | | id | string | ❌ | Unique identifier of the annotation | | recipientId | string | ❌ | ID of the recipient | | documentId | string | ❌ | ID of the document | | page | integer | ❌ | Page number where the annotation is placed | | x | number | ❌ | X coordinate of the annotation (in % of the page width from 0 to 100) from the top left corner | | y | number | ❌ | Y coordinate of the annotation (in % of the page height from 0 to 100) from the top left corner | | width | number | ❌ | Width of the annotation (in % of the page width from 0 to 100) | | height | number | ❌ | Height of the annotation (in % of the page height from 0 to 100) | | required | boolean | ❌ | Whether the annotation is required | | type | model | ❌ | Type of the annotation | | signature | model | ❌ | Signature annotation (null if annotation is not a signature) | | initials | model | ❌ | Initials annotation (null if annotation is not initials) | | text | model | ❌ | Text annotation (null if annotation is not a text) | | datetime | model | ❌ | Date annotation (null if annotation is not a date) | | checkbox | model | ❌ | Checkbox annotation (null if annotation is not a checkbox) | # DynamicField **Properties** | Name | Type | Required | Description | | :---- | :----- | :------- | :------------------------- | | name | string | ❌ | Name of the dynamic field | | value | string | ❌ | Value of the dynamic field | # AnnotationDateTimeFormat Format of the date time (DMY\_NUMERIC\_SLASH is day/month/year with slashes, MDY\_NUMERIC\_SLASH is month/day/year with slashes, YMD\_NUMERIC\_SLASH is year/month/day with slashes, DMY\_NUMERIC\_DASH\_SHORT is day/month/year with dashes, DMY\_NUMERIC\_DASH is day/month/year with dashes, YMD\_NUMERIC\_DASH is year/month/day with dashes, MDY\_TEXT\_DASH\_SHORT is month/day/year with dashes, MDY\_TEXT\_SPACE\_SHORT is month/day/year with spaces, MDY\_TEXT\_SPACE is month/day/year with spaces) **Properties** | Name | Type | Required | Description | | :------------------ | :----- | :------- | :------------------------ | | DmyNumericSlash | string | | DMY\_NUMERIC\_SLASH | | MdyNumericSlash | string | | MDY\_NUMERIC\_SLASH | | YmdNumericSlash | string | | YMD\_NUMERIC\_SLASH | | DmyNumericDashShort | string | | DMY\_NUMERIC\_DASH\_SHORT | | DmyNumericDash | string | | DMY\_NUMERIC\_DASH | | YmdNumericDash | string | | YMD\_NUMERIC\_DASH | | MdyTextDashShort | string | | MDY\_TEXT\_DASH\_SHORT | | MdyTextSpaceShort | string | | MDY\_TEXT\_SPACE\_SHORT | | MdyTextSpace | string | | MDY\_TEXT\_SPACE | # EnvelopeFlowType Flow type of the envelope (REQUEST\_SIGNATURE is a request for signature, SIGN\_MYSELF is a self-signing flow) **Properties** | Name | Type | Required | Description | | :--------------- | :----- | :------- | :----------------- | | RequestSignature | string | | REQUEST\_SIGNATURE | | SignMyself | string | | SIGN\_MYSELF | # EnvelopeLegalityLevel Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) **Properties** | Name | Type | Required | Description | | :-------- | :----- | :------- | :---------- | | Ses | string | | SES | | QesEidas | string | | QES\_EIDAS | | QesZertes | string | | QES\_ZERTES | # TemplateRecipientRole Role of the recipient (SIGNER signs the document, RECEIVES\_COPY receives a copy of the document, IN\_PERSON\_SIGNER signs the document in person, SENDER sends the document) **Properties** | Name | Type | Required | Description | | :------------- | :----- | :------- | :----------------- | | Signer | string | | SIGNER | | ReceivesCopy | string | | RECEIVES\_COPY | | InPersonSigner | string | | IN\_PERSON\_SIGNER | | Sender | string | | SENDER | # AttachmentPlaceholderRequest **Properties** | Name | Type | Required | Description | | :---------- | :------ | :------- | :--------------------------------------------- | | recipientId | string | ✅ | ID of the recipient | | name | string | ✅ | | | required | boolean | ✅ | Whether the attachment placeholder is required | | multiple | boolean | ✅ | | | id | string | ❌ | ID of the attachment placeholder | | hint | string | ❌ | Hint of the attachment placeholder | # SetEnvelopeDynamicFieldsRequest **Properties** | Name | Type | Required | Description | | :------------ | :---- | :------- | :--------------------- | | dynamicFields | array | ✅ | List of dynamic fields | # Page **Properties** | Name | Type | Required | Description | | :----- | :------ | :------- | :--------------------------- | | width | integer | ❌ | Width of the page in pixels | | height | integer | ❌ | Height of the page in pixels | # TemplateSigningStep **Properties** | Name | Type | Required | Description | | :--------- | :---- | :------- | :----------------- | | recipients | array | ❌ | List of recipients | # AttachmentPlaceholdersPerRecipient **Properties** | Name | Type | Required | Description | | :------------ | :----- | :------- | :-------------------- | | recipientId | string | ❌ | ID of the recipient | | recipientName | string | ❌ | Name of the recipient | | placeholders | array | ❌ | | # ListEnvelopesResponse **Properties** | Name | Type | Required | Description | | :-------------- | :------ | :------- | :------------------------------- | | hasNextPage | boolean | ❌ | Whether there is a next page | | hasPreviousPage | boolean | ❌ | Whether there is a previous page | | envelopes | array | ❌ | | # Recipient **Properties** | Name | Type | Required | Description | | :----------- | :----- | :------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | name | string | ✅ | Name of the recipient | | email | string | ✅ | Email of the recipient | | role | model | ✅ | Role of the recipient (SIGNER signs the document, RECEIVES\_COPY receives a copy of the document, IN\_PERSON\_SIGNER signs the document in person, SENDER sends the document) | | id | string | ❌ | Unique identifier of the recipient | | uid | string | ❌ | Unique identifier of the user associated with the recipient | | verification | model | ❌ | | # WebhookEvent Event of the webhook **Properties** | Name | Type | Required | Description | | :----------------- | :----- | :------- | :--------------------- | | EnvelopeExpired | string | | ENVELOPE\_EXPIRED | | EnvelopeDeclined | string | | ENVELOPE\_DECLINED | | EnvelopeVoided | string | | ENVELOPE\_VOIDED | | EnvelopeCompleted | string | | ENVELOPE\_COMPLETED | | EnvelopeAuditTrail | string | | ENVELOPE\_AUDIT\_TRAIL | # CreateWebhookRequest **Properties** | Name | Type | Required | Description | | :----- | :----- | :------- | :------------------------ | | event | model | ✅ | Event of the webhook | | target | string | ✅ | URL of the webhook target | # CreateEnvelopeFromTemplateRequest **Properties** | Name | Type | Required | Description | | :------ | :------ | :------- | :---------------------------------------------- | | name | string | ✅ | Name of the envelope | | comment | string | ❌ | Comment for the envelope | | sandbox | boolean | ❌ | Whether the envelope is created in sandbox mode | # ListTemplateAnnotationsResponse **Properties** | Name | Type | Required | Description | | :---------- | :---- | :------- | :---------- | | annotations | array | ❌ | | # RenameEnvelopeRequest **Properties** | Name | Type | Required | Description | | :--- | :----- | :------- | :------------------- | | name | string | ❌ | Name of the envelope | # ListTemplateDocumentAnnotationsResponse **Properties** | Name | Type | Required | Description | | :---------- | :---- | :------- | :---------- | | annotations | array | ❌ | | # ListEnvelopeDocumentsResponse **Properties** | Name | Type | Required | Description | | :-------- | :---- | :------- | :---------- | | documents | array | ❌ | | # ListWebhooksResponse **Properties** | Name | Type | Required | Description | | :------- | :---- | :------- | :---------- | | webhooks | array | ❌ | | # AnnotationSignature Signature annotation (null if annotation is not a signature) **Properties** | Name | Type | Required | Description | | :--- | :----- | :------- | :-------------------------------------------- | | id | string | ❌ | Unique identifier of the annotation signature | # Install Source: https://apidoc.sign.plus/backend-sdks/python/install To install the signplus-python package using pip, you can use the following command: ```bash theme={null} pip install signplus-python ``` After installing the package, you can call your first SDK method: ```python theme={null} from signplus import Signplus, Environment from signplus.models import CreateEnvelopeRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = CreateEnvelopeRequest( name="name", flow_type="REQUEST_SIGNATURE", legality_level="SES", expires_at=1822567389015, comment="comment", sandbox=True ) result = sdk.signplus.create_envelope(request_body=request_body) print(result) ``` # Sdk reference Source: https://apidoc.sign.plus/backend-sdks/python/sdk-reference A list of all methods in the `SignplusService` service. Click on the method name to view detailed information about that method. | Methods | Description | | :--------------------------------------------------------------------------------- | :-------------------------------------------------------------- | | [create\_envelope](#create_envelope) | Create new envelope | | [create\_envelope\_from\_template](#create_envelope_from_template) | Create new envelope from template | | [list\_envelopes](#list_envelopes) | List envelopes | | [get\_envelope](#get_envelope) | Get envelope | | [delete\_envelope](#delete_envelope) | Delete envelope | | [download\_envelope\_signed\_documents](#download_envelope_signed_documents) | Download signed documents for an envelope | | [download\_envelope\_certificate](#download_envelope_certificate) | Download certificate of completion for an envelope | | [get\_envelope\_document](#get_envelope_document) | Get envelope document | | [get\_envelope\_documents](#get_envelope_documents) | Get envelope documents | | [add\_envelope\_document](#add_envelope_document) | Add envelope document | | [set\_envelope\_dynamic\_fields](#set_envelope_dynamic_fields) | Set envelope dynamic fields | | [add\_envelope\_signing\_steps](#add_envelope_signing_steps) | Add envelope signing steps | | [set\_envelope\_attachments\_settings](#set_envelope_attachments_settings) | Set envelope attachment settings | | [set\_envelope\_attachments\_placeholders](#set_envelope_attachments_placeholders) | Placeholders to be set, completely replacing the existing ones. | | [get\_attachment\_file](#get_attachment_file) | Get envelope attachment file | | [send\_envelope](#send_envelope) | Send envelope for signature | | [duplicate\_envelope](#duplicate_envelope) | Duplicate envelope | | [void\_envelope](#void_envelope) | Void envelope | | [rename\_envelope](#rename_envelope) | Rename envelope | | [set\_envelope\_comment](#set_envelope_comment) | Set envelope comment | | [set\_envelope\_notification](#set_envelope_notification) | Set envelope notification | | [set\_envelope\_expiration\_date](#set_envelope_expiration_date) | Set envelope expiration date | | [set\_envelope\_legality\_level](#set_envelope_legality_level) | Set envelope legality level | | [get\_envelope\_annotations](#get_envelope_annotations) | Get envelope annotations | | [get\_envelope\_document\_annotations](#get_envelope_document_annotations) | Get envelope document annotations | | [add\_envelope\_annotation](#add_envelope_annotation) | Add envelope annotation | | [delete\_envelope\_annotation](#delete_envelope_annotation) | Delete envelope annotation | | [create\_template](#create_template) | Create new template | | [list\_templates](#list_templates) | List templates | | [get\_template](#get_template) | Get template | | [delete\_template](#delete_template) | Delete template | | [duplicate\_template](#duplicate_template) | Duplicate template | | [add\_template\_document](#add_template_document) | Add template document | | [get\_template\_document](#get_template_document) | Get template document | | [get\_template\_documents](#get_template_documents) | Get template documents | | [add\_template\_signing\_steps](#add_template_signing_steps) | Add template signing steps | | [rename\_template](#rename_template) | Rename template | | [set\_template\_comment](#set_template_comment) | Set template comment | | [set\_template\_notification](#set_template_notification) | Set template notification | | [get\_template\_annotations](#get_template_annotations) | Get template annotations | | [get\_document\_template\_annotations](#get_document_template_annotations) | Get document template annotations | | [add\_template\_annotation](#add_template_annotation) | Add template annotation | | [delete\_template\_annotation](#delete_template_annotation) | Delete template annotation | | [set\_template\_attachments\_settings](#set_template_attachments_settings) | Set template attachment settings | | [set\_template\_attachments\_placeholders](#set_template_attachments_placeholders) | Placeholders to be set, completely replacing the existing ones. | | [create\_webhook](#create_webhook) | Create webhook | | [list\_webhooks](#list_webhooks) | List webhooks | | [delete\_webhook](#delete_webhook) | Delete webhook | ## create\_envelope Create new envelope * HTTP Method: `POST` * Endpoint: `/envelope` **Parameters** | Name | Type | Required | Description | | :------------ | :----------------------------------------------------------------------------- | :------- | :---------------- | | request\_body | [CreateEnvelopeRequest](/api-reference/endpoints/signplus/create-new-envelope) | ✅ | The request body. | **Return Type** `Envelope` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import CreateEnvelopeRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = CreateEnvelopeRequest( name="name", legality_level="SES", expires_at=8, comment="comment", sandbox=False ) result = sdk.signplus.create_envelope(request_body=request_body) print(result) ``` ## create\_envelope\_from\_template Create new envelope from template * HTTP Method: `POST` * Endpoint: `/envelope/from_template/{template_id}` **Parameters** | Name | Type | Required | Description | | :------------ | :------------------------------------------------------------------------------------------------------- | :------- | :---------------- | | request\_body | [CreateEnvelopeFromTemplateRequest](/api-reference/endpoints/signplus/create-new-envelope-from-template) | ✅ | The request body. | | template\_id | str | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import CreateEnvelopeFromTemplateRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = CreateEnvelopeFromTemplateRequest( name="name", comment="comment", sandbox=True ) result = sdk.signplus.create_envelope_from_template( request_body=request_body, template_id="template_id" ) print(result) ``` ## list\_envelopes List envelopes * HTTP Method: `POST` * Endpoint: `/envelopes` **Parameters** | Name | Type | Required | Description | | :------------ | :----------------------------------------------------------------------- | :------- | :---------------- | | request\_body | [ListEnvelopesRequest](/api-reference/endpoints/signplus/list-envelopes) | ❌ | The request body. | **Return Type** `ListEnvelopesResponse` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import ListEnvelopesRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = ListEnvelopesRequest( name="name", tags=[ "tags" ], comment="comment", ids=[ "ids" ], statuses=[ "DRAFT" ], folder_ids=[ "folder_ids" ], only_root_folder=True, date_from=5, date_to=9, uid="uid", first=9, last=7, after="after", before="before", order_field="CREATION_DATE", ascending=True, include_trash=True ) result = sdk.signplus.list_envelopes(request_body=request_body) print(result) ``` ## get\_envelope Get envelope * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :--- | :------- | :---------- | | envelope\_id | str | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.get_envelope(envelope_id="envelope_id") print(result) ``` ## delete\_envelope Delete envelope * HTTP Method: `DELETE` * Endpoint: `/envelope/{envelope_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :--- | :------- | :---------- | | envelope\_id | str | ✅ | | **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.delete_envelope(envelope_id="envelope_id") print(result) ``` ## download\_envelope\_signed\_documents Download signed documents for an envelope * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/signed_documents` **Parameters** | Name | Type | Required | Description | | :-------------------------- | :--- | :------- | :---------------------------------------------------------------------- | | envelope\_id | str | ✅ | ID of the envelope | | certificate\_of\_completion | bool | ❌ | Whether to include the certificate of completion in the downloaded file | **Return Type** `any` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.download_envelope_signed_documents( envelope_id="envelope_id", certificate_of_completion=True ) print(result) ``` ## download\_envelope\_certificate Download certificate of completion for an envelope * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/certificate` **Parameters** | Name | Type | Required | Description | | :----------- | :--- | :------- | :----------------- | | envelope\_id | str | ✅ | ID of the envelope | **Return Type** `any` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.download_envelope_certificate(envelope_id="envelope_id") print(result) ``` ## get\_envelope\_document Get envelope document * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/document/{document_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :--- | :------- | :---------- | | envelope\_id | str | ✅ | | | document\_id | str | ✅ | | **Return Type** `Document` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.get_envelope_document( envelope_id="envelope_id", document_id="document_id" ) print(result) ``` ## get\_envelope\_documents Get envelope documents * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/documents` **Parameters** | Name | Type | Required | Description | | :----------- | :--- | :------- | :---------- | | envelope\_id | str | ✅ | | **Return Type** `ListEnvelopeDocumentsResponse` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.get_envelope_documents(envelope_id="envelope_id") print(result) ``` ## add\_envelope\_document Add envelope document * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/document` **Parameters** | Name | Type | Required | Description | | :------------ | :------------------------------------------------------------------------------------ | :------- | :---------------- | | request\_body | [AddEnvelopeDocumentRequest](/api-reference/endpoints/signplus/add-envelope-document) | ✅ | The request body. | | envelope\_id | str | ✅ | | **Return Type** `Document` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import AddEnvelopeDocumentRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = AddEnvelopeDocumentRequest( file="file" ) result = sdk.signplus.add_envelope_document( request_body=request_body, envelope_id="envelope_id" ) print(result) ``` ## set\_envelope\_dynamic\_fields Set envelope dynamic fields * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/dynamic_fields` **Parameters** | Name | Type | Required | Description | | :------------ | :----------------------------------------------------------------------------------------------- | :------- | :---------------- | | request\_body | [SetEnvelopeDynamicFieldsRequest](/api-reference/endpoints/signplus/set-envelope-dynamic-fields) | ✅ | The request body. | | envelope\_id | str | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import SetEnvelopeDynamicFieldsRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = SetEnvelopeDynamicFieldsRequest( dynamic_fields=[ { "name": "name", "value": "value" } ] ) result = sdk.signplus.set_envelope_dynamic_fields( request_body=request_body, envelope_id="envelope_id" ) print(result) ``` ## add\_envelope\_signing\_steps Add envelope signing steps * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/signing_steps` **Parameters** | Name | Type | Required | Description | | :------------ | :--------------------------------------------------------------------------------------------- | :------- | :---------------- | | request\_body | [AddEnvelopeSigningStepsRequest](/api-reference/endpoints/signplus/add-envelope-signing-steps) | ✅ | The request body. | | envelope\_id | str | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import AddEnvelopeSigningStepsRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = AddEnvelopeSigningStepsRequest( signing_steps=[ { "recipients": [ { "id_": "id", "uid": "uid", "name": "name", "email": "email", "role": "SIGNER", "verification": { "type_": "SMS", "value": "value" } } ] } ] ) result = sdk.signplus.add_envelope_signing_steps( request_body=request_body, envelope_id="envelope_id" ) print(result) ``` ## set\_envelope\_attachments\_settings Set envelope attachment settings * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/attachments/settings` **Parameters** | Name | Type | Required | Description | | :------------ | :---------------------------------------------------------------------------------------------------------- | :------- | :---------------- | | request\_body | [SetEnvelopeAttachmentsSettingsRequest](/api-reference/endpoints/signplus/set-envelope-attachment-settings) | ✅ | The request body. | | envelope\_id | str | ✅ | | **Return Type** `EnvelopeAttachments` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import SetEnvelopeAttachmentsSettingsRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = SetEnvelopeAttachmentsSettingsRequest( settings={ "visible_to_recipients": False } ) result = sdk.signplus.set_envelope_attachments_settings( request_body=request_body, envelope_id="envelope_id" ) print(result) ``` ## set\_envelope\_attachments\_placeholders Placeholders to be set, completely replacing the existing ones. * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/attachments/placeholders` **Parameters** | Name | Type | Required | Description | | :------------ | :------------------------------------------------------------------------------------------------------------------ | :------- | :---------------- | | request\_body | [SetEnvelopeAttachmentsPlaceholdersRequest](/api-reference/endpoints/signplus/set-envelope-attachment-placeholders) | ✅ | The request body. | | envelope\_id | str | ✅ | | **Return Type** `EnvelopeAttachments` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import SetEnvelopeAttachmentsPlaceholdersRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = SetEnvelopeAttachmentsPlaceholdersRequest( placeholders=[ { "recipient_id": "recipient_id", "id_": "id", "name": "name", "hint": "hint", "required": False, "multiple": True } ] ) result = sdk.signplus.set_envelope_attachments_placeholders( request_body=request_body, envelope_id="envelope_id" ) print(result) ``` ## get\_attachment\_file Get envelope attachment file * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/attachments/{file_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :--- | :------- | :---------- | | envelope\_id | str | ✅ | | | file\_id | str | ✅ | | **Return Type** `bytes` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.get_attachment_file( envelope_id="envelope_id", file_id="file_id" ) with open("output-file.ext", "wb") as f: f.write(result) ``` ## send\_envelope Send envelope for signature * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/send` **Parameters** | Name | Type | Required | Description | | :----------- | :--- | :------- | :---------- | | envelope\_id | str | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.send_envelope(envelope_id="envelope_id") print(result) ``` ## duplicate\_envelope Duplicate envelope * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/duplicate` **Parameters** | Name | Type | Required | Description | | :----------- | :--- | :------- | :---------- | | envelope\_id | str | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.duplicate_envelope(envelope_id="envelope_id") print(result) ``` ## void\_envelope Void envelope * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/void` **Parameters** | Name | Type | Required | Description | | :----------- | :--- | :------- | :---------- | | envelope\_id | str | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.void_envelope(envelope_id="envelope_id") print(result) ``` ## rename\_envelope Rename envelope * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/rename` **Parameters** | Name | Type | Required | Description | | :------------ | :------------------------------------------------------------------------- | :------- | :---------------- | | request\_body | [RenameEnvelopeRequest](/api-reference/endpoints/signplus/rename-envelope) | ✅ | The request body. | | envelope\_id | str | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import RenameEnvelopeRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = RenameEnvelopeRequest( name="name" ) result = sdk.signplus.rename_envelope( request_body=request_body, envelope_id="envelope_id" ) print(result) ``` ## set\_envelope\_comment Set envelope comment * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/set_comment` **Parameters** | Name | Type | Required | Description | | :------------ | :---------------------------------------------------------------------------------- | :------- | :---------------- | | request\_body | [SetEnvelopeCommentRequest](/api-reference/endpoints/signplus/set-envelope-comment) | ✅ | The request body. | | envelope\_id | str | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import SetEnvelopeCommentRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = SetEnvelopeCommentRequest( comment="comment" ) result = sdk.signplus.set_envelope_comment( request_body=request_body, envelope_id="envelope_id" ) print(result) ``` ## set\_envelope\_notification Set envelope notification * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/set_notification` **Parameters** | Name | Type | Required | Description | | :------------ | :---------------------------------------------------------------------------------- | :------- | :---------------- | | request\_body | [EnvelopeNotification](/api-reference/endpoints/signplus/set-envelope-notification) | ✅ | The request body. | | envelope\_id | str | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import EnvelopeNotification sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = EnvelopeNotification( subject="subject", message="message", reminder_interval=1 ) result = sdk.signplus.set_envelope_notification( request_body=request_body, envelope_id="envelope_id" ) print(result) ``` ## set\_envelope\_expiration\_date Set envelope expiration date * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/set_expiration_date` **Parameters** | Name | Type | Required | Description | | :------------ | :--------------------------------------------------------------------------------------------- | :------- | :---------------- | | request\_body | [SetEnvelopeExpirationRequest](/api-reference/endpoints/signplus/set-envelope-expiration-date) | ✅ | The request body. | | envelope\_id | str | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import SetEnvelopeExpirationRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = SetEnvelopeExpirationRequest( expires_at=0 ) result = sdk.signplus.set_envelope_expiration_date( request_body=request_body, envelope_id="envelope_id" ) print(result) ``` ## set\_envelope\_legality\_level Set envelope legality level * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/set_legality_level` **Parameters** | Name | Type | Required | Description | | :------------ | :----------------------------------------------------------------------------------------------- | :------- | :---------------- | | request\_body | [SetEnvelopeLegalityLevelRequest](/api-reference/endpoints/signplus/set-envelope-legality-level) | ✅ | The request body. | | envelope\_id | str | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import SetEnvelopeLegalityLevelRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = SetEnvelopeLegalityLevelRequest( legality_level="SES" ) result = sdk.signplus.set_envelope_legality_level( request_body=request_body, envelope_id="envelope_id" ) print(result) ``` ## get\_envelope\_annotations Get envelope annotations * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/annotations` **Parameters** | Name | Type | Required | Description | | :----------- | :--- | :------- | :----------------- | | envelope\_id | str | ✅ | ID of the envelope | **Return Type** `List[Annotation]` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.get_envelope_annotations(envelope_id="envelope_id") print(result) ``` ## get\_envelope\_document\_annotations Get envelope document annotations * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/annotations/{document_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :--- | :------- | :----------------- | | envelope\_id | str | ✅ | ID of the envelope | | document\_id | str | ✅ | ID of document | **Return Type** `ListEnvelopeDocumentAnnotationsResponse` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.get_envelope_document_annotations( envelope_id="envelope_id", document_id="document_id" ) print(result) ``` ## add\_envelope\_annotation Add envelope annotation * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/annotation` **Parameters** | Name | Type | Required | Description | | :------------ | :-------------------------------------------------------------------------------- | :------- | :----------------- | | request\_body | [AddAnnotationRequest](/api-reference/endpoints/signplus/add-envelope-annotation) | ✅ | The request body. | | envelope\_id | str | ✅ | ID of the envelope | **Return Type** `Annotation` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import AddAnnotationRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = AddAnnotationRequest( recipient_id="recipient_id", document_id="document_id", page=2, x=1.99, y=8.2, width=4.89, height=9.43, required=False, type_="TEXT", signature={ "id_": "id" }, initials={ "id_": "id" }, text={ "size": 5.96, "color": 8.73, "value": "value", "tooltip": "tooltip", "dynamic_field_name": "dynamic_field_name", "font": { "family": "UNKNOWN", "italic": True, "bold": True } }, datetime_={ "size": 0.26, "font": { "family": "UNKNOWN", "italic": True, "bold": True }, "color": "color", "auto_fill": True, "timezone": "timezone", "timestamp": 1, "format": "DMY_NUMERIC_SLASH" }, checkbox={ "checked": True, "style": "CIRCLE_CHECK" } ) result = sdk.signplus.add_envelope_annotation( request_body=request_body, envelope_id="envelope_id" ) print(result) ``` ## delete\_envelope\_annotation Delete envelope annotation * HTTP Method: `DELETE` * Endpoint: `/envelope/{envelope_id}/annotation/{annotation_id}` **Parameters** | Name | Type | Required | Description | | :------------- | :--- | :------- | :----------------------------- | | envelope\_id | str | ✅ | ID of the envelope | | annotation\_id | str | ✅ | ID of the annotation to delete | **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.delete_envelope_annotation( envelope_id="envelope_id", annotation_id="annotation_id" ) print(result) ``` ## create\_template Create new template * HTTP Method: `POST` * Endpoint: `/template` **Parameters** | Name | Type | Required | Description | | :------------ | :----------------------------------------------------------------------------- | :------- | :---------------- | | request\_body | [CreateTemplateRequest](/api-reference/endpoints/signplus/create-new-template) | ✅ | The request body. | **Return Type** `Template` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import CreateTemplateRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = CreateTemplateRequest( name="name" ) result = sdk.signplus.create_template(request_body=request_body) print(result) ``` ## list\_templates List templates * HTTP Method: `POST` * Endpoint: `/templates` **Parameters** | Name | Type | Required | Description | | :------------ | :----------------------------------------------------------------------- | :------- | :---------------- | | request\_body | [ListTemplatesRequest](/api-reference/endpoints/signplus/list-templates) | ❌ | The request body. | **Return Type** `ListTemplatesResponse` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import ListTemplatesRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = ListTemplatesRequest( name="name", tags=[ "tags" ], ids=[ "ids" ], first=1, last=6, after="after", before="before", order_field="TEMPLATE_ID", ascending=False ) result = sdk.signplus.list_templates(request_body=request_body) print(result) ``` ## get\_template Get template * HTTP Method: `GET` * Endpoint: `/template/{template_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :--- | :------- | :---------- | | template\_id | str | ✅ | | **Return Type** `Template` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.get_template(template_id="template_id") print(result) ``` ## delete\_template Delete template * HTTP Method: `DELETE` * Endpoint: `/template/{template_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :--- | :------- | :---------- | | template\_id | str | ✅ | | **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.delete_template(template_id="template_id") print(result) ``` ## duplicate\_template Duplicate template * HTTP Method: `POST` * Endpoint: `/template/{template_id}/duplicate` **Parameters** | Name | Type | Required | Description | | :----------- | :--- | :------- | :---------- | | template\_id | str | ✅ | | **Return Type** `Template` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.duplicate_template(template_id="template_id") print(result) ``` ## add\_template\_document Add template document * HTTP Method: `POST` * Endpoint: `/template/{template_id}/document` **Parameters** | Name | Type | Required | Description | | :------------ | :------------------------------------------------------------------------------------ | :------- | :---------------- | | request\_body | [AddTemplateDocumentRequest](/api-reference/endpoints/signplus/add-template-document) | ✅ | The request body. | | template\_id | str | ✅ | | **Return Type** `Document` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import AddTemplateDocumentRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = AddTemplateDocumentRequest( file="file" ) result = sdk.signplus.add_template_document( request_body=request_body, template_id="template_id" ) print(result) ``` ## get\_template\_document Get template document * HTTP Method: `GET` * Endpoint: `/template/{template_id}/document/{document_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :--- | :------- | :---------- | | template\_id | str | ✅ | | | document\_id | str | ✅ | | **Return Type** `Document` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.get_template_document( template_id="template_id", document_id="document_id" ) print(result) ``` ## get\_template\_documents Get template documents * HTTP Method: `GET` * Endpoint: `/template/{template_id}/documents` **Parameters** | Name | Type | Required | Description | | :----------- | :--- | :------- | :---------- | | template\_id | str | ✅ | | **Return Type** `ListTemplateDocumentsResponse` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.get_template_documents(template_id="template_id") print(result) ``` ## add\_template\_signing\_steps Add template signing steps * HTTP Method: `POST` * Endpoint: `/template/{template_id}/signing_steps` **Parameters** | Name | Type | Required | Description | | :------------ | :--------------------------------------------------------------------------------------------- | :------- | :---------------- | | request\_body | [AddTemplateSigningStepsRequest](/api-reference/endpoints/signplus/add-template-signing-steps) | ✅ | The request body. | | template\_id | str | ✅ | | **Return Type** `Template` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import AddTemplateSigningStepsRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = AddTemplateSigningStepsRequest( signing_steps=[ { "recipients": [ { "id_": "id", "uid": "uid", "name": "name", "email": "email", "role": "SIGNER" } ] } ] ) result = sdk.signplus.add_template_signing_steps( request_body=request_body, template_id="template_id" ) print(result) ``` ## rename\_template Rename template * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/rename` **Parameters** | Name | Type | Required | Description | | :------------ | :------------------------------------------------------------------------- | :------- | :---------------- | | request\_body | [RenameTemplateRequest](/api-reference/endpoints/signplus/rename-template) | ✅ | The request body. | | template\_id | str | ✅ | | **Return Type** `Template` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import RenameTemplateRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = RenameTemplateRequest( name="name" ) result = sdk.signplus.rename_template( request_body=request_body, template_id="template_id" ) print(result) ``` ## set\_template\_comment Set template comment * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/set_comment` **Parameters** | Name | Type | Required | Description | | :------------ | :---------------------------------------------------------------------------------- | :------- | :---------------- | | request\_body | [SetTemplateCommentRequest](/api-reference/endpoints/signplus/set-template-comment) | ✅ | The request body. | | template\_id | str | ✅ | | **Return Type** `Template` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import SetTemplateCommentRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = SetTemplateCommentRequest( comment="comment" ) result = sdk.signplus.set_template_comment( request_body=request_body, template_id="template_id" ) print(result) ``` ## set\_template\_notification Set template notification * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/set_notification` **Parameters** | Name | Type | Required | Description | | :------------ | :---------------------------------------------------------------------------------- | :------- | :---------------- | | request\_body | [EnvelopeNotification](/api-reference/endpoints/signplus/set-envelope-notification) | ✅ | The request body. | | template\_id | str | ✅ | | **Return Type** `Template` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import EnvelopeNotification sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = EnvelopeNotification( subject="subject", message="message", reminder_interval=1 ) result = sdk.signplus.set_template_notification( request_body=request_body, template_id="template_id" ) print(result) ``` ## get\_template\_annotations Get template annotations * HTTP Method: `GET` * Endpoint: `/template/{template_id}/annotations` **Parameters** | Name | Type | Required | Description | | :----------- | :--- | :------- | :----------------- | | template\_id | str | ✅ | ID of the template | **Return Type** `ListTemplateAnnotationsResponse` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.get_template_annotations(template_id="template_id") print(result) ``` ## get\_document\_template\_annotations Get document template annotations * HTTP Method: `GET` * Endpoint: `/template/{template_id}/annotations/{document_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :--- | :------- | :----------------- | | template\_id | str | ✅ | ID of the template | | document\_id | str | ✅ | ID of document | **Return Type** `ListTemplateDocumentAnnotationsResponse` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.get_document_template_annotations( template_id="template_id", document_id="document_id" ) print(result) ``` ## add\_template\_annotation Add template annotation * HTTP Method: `POST` * Endpoint: `/template/{template_id}/annotation` **Parameters** | Name | Type | Required | Description | | :------------ | :-------------------------------------------------------------------------------- | :------- | :----------------- | | request\_body | [AddAnnotationRequest](/api-reference/endpoints/signplus/add-envelope-annotation) | ✅ | The request body. | | template\_id | str | ✅ | ID of the template | **Return Type** `Annotation` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import AddAnnotationRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = AddAnnotationRequest( recipient_id="recipient_id", document_id="document_id", page=2, x=1.99, y=8.2, width=4.89, height=9.43, required=False, type_="TEXT", signature={ "id_": "id" }, initials={ "id_": "id" }, text={ "size": 5.96, "color": 8.73, "value": "value", "tooltip": "tooltip", "dynamic_field_name": "dynamic_field_name", "font": { "family": "UNKNOWN", "italic": True, "bold": True } }, datetime_={ "size": 0.26, "font": { "family": "UNKNOWN", "italic": True, "bold": True }, "color": "color", "auto_fill": True, "timezone": "timezone", "timestamp": 1, "format": "DMY_NUMERIC_SLASH" }, checkbox={ "checked": True, "style": "CIRCLE_CHECK" } ) result = sdk.signplus.add_template_annotation( request_body=request_body, template_id="template_id" ) print(result) ``` ## delete\_template\_annotation Delete template annotation * HTTP Method: `DELETE` * Endpoint: `/template/{template_id}/annotation/{annotation_id}` **Parameters** | Name | Type | Required | Description | | :------------- | :--- | :------- | :----------------------------- | | template\_id | str | ✅ | ID of the template | | annotation\_id | str | ✅ | ID of the annotation to delete | **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.delete_template_annotation( template_id="template_id", annotation_id="annotation_id" ) print(result) ``` ## set\_template\_attachments\_settings Set template attachment settings * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/attachments/settings` **Parameters** | Name | Type | Required | Description | | :------------ | :---------------------------------------------------------------------------------------------------------- | :------- | :---------------- | | request\_body | [SetEnvelopeAttachmentsSettingsRequest](/api-reference/endpoints/signplus/set-envelope-attachment-settings) | ✅ | The request body. | | template\_id | str | ✅ | | **Return Type** `EnvelopeAttachments` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import SetEnvelopeAttachmentsSettingsRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = SetEnvelopeAttachmentsSettingsRequest( settings={ "visible_to_recipients": False } ) result = sdk.signplus.set_template_attachments_settings( request_body=request_body, template_id="template_id" ) print(result) ``` ## set\_template\_attachments\_placeholders Placeholders to be set, completely replacing the existing ones. * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/attachments/placeholders` **Parameters** | Name | Type | Required | Description | | :------------ | :------------------------------------------------------------------------------------------------------------------ | :------- | :---------------- | | request\_body | [SetEnvelopeAttachmentsPlaceholdersRequest](/api-reference/endpoints/signplus/set-envelope-attachment-placeholders) | ✅ | The request body. | | template\_id | str | ✅ | | **Return Type** `EnvelopeAttachments` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import SetEnvelopeAttachmentsPlaceholdersRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = SetEnvelopeAttachmentsPlaceholdersRequest( placeholders=[ { "recipient_id": "recipient_id", "id_": "id", "name": "name", "hint": "hint", "required": False, "multiple": True } ] ) result = sdk.signplus.set_template_attachments_placeholders( request_body=request_body, template_id="template_id" ) print(result) ``` ## create\_webhook Create webhook * HTTP Method: `POST` * Endpoint: `/webhook` **Parameters** | Name | Type | Required | Description | | :------------ | :----------------------------------------------------------------------- | :------- | :---------------- | | request\_body | [CreateWebhookRequest](/api-reference/endpoints/signplus/create-webhook) | ✅ | The request body. | **Return Type** `Webhook` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import CreateWebhookRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = CreateWebhookRequest( event="ENVELOPE_EXPIRED", target="target" ) result = sdk.signplus.create_webhook(request_body=request_body) print(result) ``` ## list\_webhooks List webhooks * HTTP Method: `POST` * Endpoint: `/webhooks` **Parameters** | Name | Type | Required | Description | | :------------ | :--------------------------------------------------------------------- | :------- | :---------------- | | request\_body | [ListWebhooksRequest](/api-reference/endpoints/signplus/list-webhooks) | ❌ | The request body. | **Return Type** `ListWebhooksResponse` **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus from signplus.models import ListWebhooksRequest sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) request_body = ListWebhooksRequest( webhook_id="webhook_id", event="ENVELOPE_EXPIRED" ) result = sdk.signplus.list_webhooks(request_body=request_body) print(result) ``` ## delete\_webhook Delete webhook * HTTP Method: `DELETE` * Endpoint: `/webhook/{webhook_id}` **Parameters** | Name | Type | Required | Description | | :---------- | :--- | :------- | :---------- | | webhook\_id | str | ✅ | | **Example Usage Code Snippet** ```python theme={null} from signplus import Signplus sdk = Signplus( access_token="YOUR_ACCESS_TOKEN", timeout=10000 ) result = sdk.signplus.delete_webhook(webhook_id="webhook_id") print(result) ``` # Models # SetEnvelopeAttachmentsPlaceholdersRequest **Properties** | Name | Type | Required | Description | | :----------- | :---------------------------------- | :------- | :---------- | | placeholders | List\[AttachmentPlaceholderRequest] | ✅ | | # Document **Properties** | Name | Type | Required | Description | | :---------- | :---------- | :------- | :-------------------------------- | | id\_ | str | ❌ | Unique identifier of the document | | name | str | ❌ | Name of the document | | filename | str | ❌ | Filename of the document | | page\_count | int | ❌ | Number of pages in the document | | pages | List\[Page] | ❌ | List of pages in the document | # CreateEnvelopeRequest **Properties** | Name | Type | Required | Description | | :-------------- | :-------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | name | str | ✅ | Name of the envelope | | legality\_level | EnvelopeLegalityLevel | ✅ | Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) | | expires\_at | int | ❌ | Unix timestamp of the expiration date | | comment | str | ❌ | Comment for the envelope | | sandbox | bool | ❌ | Whether the envelope is created in sandbox mode | # ListEnvelopesRequest **Properties** | Name | Type | Required | Description | | :----------------- | :-------------------- | :------- | :------------------------------------------------ | | name | str | ❌ | Name of the envelope | | tags | List\[str] | ❌ | List of tags | | comment | str | ❌ | Comment of the envelope | | ids | List\[str] | ❌ | List of envelope IDs | | statuses | List\[EnvelopeStatus] | ❌ | List of envelope statuses | | folder\_ids | List\[str] | ❌ | List of folder IDs | | only\_root\_folder | bool | ❌ | Whether to only list envelopes in the root folder | | date\_from | int | ❌ | Unix timestamp of the start date | | date\_to | int | ❌ | Unix timestamp of the end date | | uid | str | ❌ | Unique identifier of the user | | first | int | ❌ | | | last | int | ❌ | | | after | str | ❌ | | | before | str | ❌ | | | order\_field | EnvelopeOrderField | ❌ | Field to order envelopes by | | ascending | bool | ❌ | Whether to order envelopes in ascending order | | include\_trash | bool | ❌ | Whether to include envelopes in the trash | # AttachmentPlaceholder **Properties** | Name | Type | Required | Description | | :------------ | :------------------------------- | :------- | :--------------------------------------------------------- | | recipient\_id | str | ❌ | ID of the recipient | | id\_ | str | ❌ | ID of the attachment placeholder | | name | str | ❌ | Name of the attachment placeholder | | hint | str | ❌ | Hint of the attachment placeholder | | required | bool | ❌ | Whether the attachment placeholder is required | | multiple | bool | ❌ | Whether the attachment placeholder can have multiple files | | files | List\[AttachmentPlaceholderFile] | ❌ | | # SetEnvelopeAttachmentsSettingsRequest **Properties** | Name | Type | Required | Description | | :------- | :----------------- | :------- | :---------- | | settings | AttachmentSettings | ✅ | | # EnvelopeNotification **Properties** | Name | Type | Required | Description | | :----------------- | :--- | :------- | :-------------------------------- | | subject | str | ❌ | Subject of the notification | | message | str | ❌ | Message of the notification | | reminder\_interval | int | ❌ | Interval in days to send reminder | # ListTemplatesRequest **Properties** | Name | Type | Required | Description | | :----------- | :----------------- | :------- | :-------------------------------------------- | | name | str | ❌ | Name of the template | | tags | List\[str] | ❌ | List of tag templates | | ids | List\[str] | ❌ | List of templates IDs | | first | int | ❌ | | | last | int | ❌ | | | after | str | ❌ | | | before | str | ❌ | | | order\_field | TemplateOrderField | ❌ | Field to order templates by | | ascending | bool | ❌ | Whether to order templates in ascending order | # SetTemplateCommentRequest **Properties** | Name | Type | Required | Description | | :------ | :--- | :------- | :----------------------- | | comment | str | ✅ | Comment for the template | # Template **Properties** | Name | Type | Required | Description | | :---------------- | :------------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | id\_ | str | ❌ | Unique identifier of the template | | name | str | ❌ | Name of the template | | comment | str | ❌ | Comment for the template | | pages | int | ❌ | Total number of pages in the template | | legality\_level | EnvelopeLegalityLevel | ❌ | Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) | | created\_at | int | ❌ | Unix timestamp of the creation date | | updated\_at | int | ❌ | Unix timestamp of the last modification date | | expiration\_delay | int | ❌ | Expiration delay added to the current time when an envelope is created from this template | | num\_recipients | int | ❌ | Number of recipients in the envelope | | signing\_steps | List\[TemplateSigningStep] | ❌ | | | documents | List\[Document] | ❌ | | | notification | EnvelopeNotification | ❌ | | | dynamic\_fields | List\[str] | ❌ | List of dynamic fields | | attachments | EnvelopeAttachments | ❌ | | # RecipientVerificationType Type of verification the recipient must complete before accessing the envelope. - `PASSCODE`: requires a code to be entered. - `SMS`: sends a code via SMS. - `ID_VERIFICATION`: prompts the recipient to complete an automated ID and selfie check. **Properties** | Name | Type | Required | Description | | :------------- | :--- | :------- | :----------------- | | SMS | str | ✅ | "SMS" | | PASSCODE | str | ✅ | "PASSCODE" | | IDVERIFICATION | str | ✅ | "ID\_VERIFICATION" | # AddEnvelopeSigningStepsRequest **Properties** | Name | Type | Required | Description | | :------------- | :----------------- | :------- | :-------------------- | | signing\_steps | List\[SigningStep] | ❌ | List of signing steps | # AnnotationFontFamily Font family of the text **Properties** | Name | Type | Required | Description | | :------ | :--- | :------- | :---------- | | UNKNOWN | str | ✅ | "UNKNOWN" | | SERIF | str | ✅ | "SERIF" | | SANS | str | ✅ | "SANS" | | MONO | str | ✅ | "MONO" | # AddTemplateSigningStepsRequest **Properties** | Name | Type | Required | Description | | :------------- | :------------------------- | :------- | :-------------------- | | signing\_steps | List\[TemplateSigningStep] | ✅ | List of signing steps | # SetEnvelopeCommentRequest **Properties** | Name | Type | Required | Description | | :------ | :--- | :------- | :----------------------- | | comment | str | ✅ | Comment for the envelope | # TemplateOrderField Field to order templates by **Properties** | Name | Type | Required | Description | | :----------------------- | :--- | :------- | :----------------------------- | | TEMPLATEID | str | ✅ | "TEMPLATE\_ID" | | TEMPLATECREATIONDATE | str | ✅ | "TEMPLATE\_CREATION\_DATE" | | TEMPLATEMODIFICATIONDATE | str | ✅ | "TEMPLATE\_MODIFICATION\_DATE" | | TEMPLATENAME | str | ✅ | "TEMPLATE\_NAME" | # EnvelopeOrderField Field to order envelopes by **Properties** | Name | Type | Required | Description | | :----------------- | :--- | :------- | :----------------------- | | CREATIONDATE | str | ✅ | "CREATION\_DATE" | | MODIFICATIONDATE | str | ✅ | "MODIFICATION\_DATE" | | NAME | str | ✅ | "NAME" | | STATUS | str | ✅ | "STATUS" | | LASTDOCUMENTCHANGE | str | ✅ | "LAST\_DOCUMENT\_CHANGE" | # AddEnvelopeDocumentRequest **Properties** | Name | Type | Required | Description | | :--- | :---- | :------- | :------------------------------ | | file | bytes | ❌ | File to upload in binary format | # ListWebhooksRequest **Properties** | Name | Type | Required | Description | | :---------- | :----------- | :------- | :------------------- | | webhook\_id | str | ❌ | ID of the webhook | | event | WebhookEvent | ❌ | Event of the webhook | # SetEnvelopeLegalityLevelRequest **Properties** | Name | Type | Required | Description | | :-------------- | :-------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | legality\_level | EnvelopeLegalityLevel | ❌ | Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) | # AttachmentPlaceholderFile **Properties** | Name | Type | Required | Description | | :------- | :--- | :------- | :------------------------ | | id\_ | str | ❌ | ID of the file | | name | str | ❌ | Name of the file | | size | int | ❌ | Size of the file in bytes | | mimetype | str | ❌ | MIME type of the file | # SetEnvelopeExpirationRequest **Properties** | Name | Type | Required | Description | | :---------- | :--- | :------- | :------------------------------------ | | expires\_at | int | ✅ | Unix timestamp of the expiration date | # AnnotationText Text annotation (null if annotation is not a text) **Properties** | Name | Type | Required | Description | | :------------------- | :------------- | :------- | :--------------------------------- | | size | float | ❌ | Font size of the text in pt | | color | float | ❌ | Text color in 32bit representation | | value | str | ❌ | Text content of the annotation | | tooltip | str | ❌ | Tooltip of the annotation | | dynamic\_field\_name | str | ❌ | Name of the dynamic field | | font | AnnotationFont | ❌ | | # AnnotationCheckbox Checkbox annotation (null if annotation is not a checkbox) **Properties** | Name | Type | Required | Description | | :------ | :---------------------- | :------- | :------------------------------ | | checked | bool | ❌ | Whether the checkbox is checked | | style | AnnotationCheckboxStyle | ❌ | Style of the checkbox | # Envelope **Properties** | Name | Type | Required | Description | | :-------------- | :-------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | id\_ | str | ❌ | Unique identifier of the envelope | | name | str | ❌ | Name of the envelope | | comment | str | ❌ | Comment for the envelope | | pages | int | ❌ | Total number of pages in the envelope | | flow\_type | EnvelopeFlowType | ❌ | Flow type of the envelope (REQUEST\_SIGNATURE is a request for signature, SIGN\_MYSELF is a self-signing flow) | | legality\_level | EnvelopeLegalityLevel | ❌ | Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) | | status | EnvelopeStatus | ❌ | Status of the envelope | | created\_at | int | ❌ | Unix timestamp of the creation date | | updated\_at | int | ❌ | Unix timestamp of the last modification date | | expires\_at | int | ❌ | Unix timestamp of the expiration date | | num\_recipients | int | ❌ | Number of recipients in the envelope | | is\_duplicable | bool | ❌ | Whether the envelope can be duplicated | | signing\_steps | List\[SigningStep] | ❌ | | | documents | List\[Document] | ❌ | | | notification | EnvelopeNotification | ❌ | | | attachments | EnvelopeAttachments | ❌ | | # AddTemplateDocumentRequest **Properties** | Name | Type | Required | Description | | :--- | :---- | :------- | :------------------------------ | | file | bytes | ✅ | File to upload in binary format | # TemplateRecipient **Properties** | Name | Type | Required | Description | | :---- | :-------------------- | :------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | id\_ | str | ❌ | Unique identifier of the recipient | | uid | str | ❌ | Unique identifier of the user associated with the recipient | | name | str | ❌ | Name of the recipient | | email | str | ❌ | Email of the recipient | | role | TemplateRecipientRole | ❌ | Role of the recipient (SIGNER signs the document, RECEIVES\_COPY receives a copy of the document, IN\_PERSON\_SIGNER signs the document in person, SENDER sends the document) | # AddAnnotationRequest **Properties** | Name | Type | Required | Description | | :------------ | :------------------ | :------- | :---------------------------------------------------------------------------------------------- | | document\_id | str | ✅ | ID of the document | | page | int | ✅ | Page number where the annotation is placed | | x | float | ✅ | X coordinate of the annotation (in % of the page width from 0 to 100) from the top left corner | | y | float | ✅ | Y coordinate of the annotation (in % of the page height from 0 to 100) from the top left corner | | width | float | ✅ | Width of the annotation (in % of the page width from 0 to 100) | | height | float | ✅ | Height of the annotation (in % of the page height from 0 to 100) | | type\_ | AnnotationType | ✅ | Type of the annotation | | recipient\_id | str | ❌ | ID of the recipient | | required | bool | ❌ | | | signature | AnnotationSignature | ❌ | Signature annotation (null if annotation is not a signature) | | initials | AnnotationInitials | ❌ | Initials annotation (null if annotation is not initials) | | text | AnnotationText | ❌ | Text annotation (null if annotation is not a text) | | datetime\_ | AnnotationDateTime | ❌ | Date annotation (null if annotation is not a date) | | checkbox | AnnotationCheckbox | ❌ | Checkbox annotation (null if annotation is not a checkbox) | # ListEnvelopeDocumentAnnotationsResponse **Properties** | Name | Type | Required | Description | | :---------- | :---------------- | :------- | :---------- | | annotations | List\[Annotation] | ❌ | | # EnvelopeStatus Status of the envelope **Properties** | Name | Type | Required | Description | | :--------- | :--- | :------- | :------------- | | DRAFT | str | ✅ | "DRAFT" | | INPROGRESS | str | ✅ | "IN\_PROGRESS" | | COMPLETED | str | ✅ | "COMPLETED" | | EXPIRED | str | ✅ | "EXPIRED" | | DECLINED | str | ✅ | "DECLINED" | | VOIDED | str | ✅ | "VOIDED" | | PENDING | str | ✅ | "PENDING" | # RecipientVerification **Properties** | Name | Type | Required | Description | | :----- | :------------------------ | :------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | type\_ | RecipientVerificationType | ❌ | Type of verification the recipient must complete before accessing the envelope. - `PASSCODE`: requires a code to be entered. - `SMS`: sends a code via SMS. - `ID_VERIFICATION`: prompts the recipient to complete an automated ID and selfie check. | | value | str | ❌ | Required for `PASSCODE` and `SMS` verification. - `PASSCODE`: code required by the recipient to sign the document. - `SMS`: recipient's phone number. - `ID_VERIFICATION`: leave empty. | # AnnotationCheckboxStyle Style of the checkbox **Properties** | Name | Type | Required | Description | | :---------- | :--- | :------- | :-------------- | | CIRCLECHECK | str | ✅ | "CIRCLE\_CHECK" | | CIRCLEFULL | str | ✅ | "CIRCLE\_FULL" | | SQUARECHECK | str | ✅ | "SQUARE\_CHECK" | | SQUAREFULL | str | ✅ | "SQUARE\_FULL" | | CHECKMARK | str | ✅ | "CHECK\_MARK" | | TIMESSQUARE | str | ✅ | "TIMES\_SQUARE" | # SigningStep **Properties** | Name | Type | Required | Description | | :--------- | :--------------- | :------- | :----------------- | | recipients | List\[Recipient] | ❌ | List of recipients | # AnnotationDateTime Date annotation (null if annotation is not a date) **Properties** | Name | Type | Required | Description | | :--------- | :----------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | size | float | ❌ | Font size of the text in pt | | font | AnnotationFont | ❌ | | | color | str | ❌ | Color of the text in hex format | | auto\_fill | bool | ❌ | Whether the date should be automatically filled | | timezone | str | ❌ | Timezone of the date | | timestamp | int | ❌ | Unix timestamp of the date | | format | AnnotationDateTimeFormat | ❌ | Format of the date time (DMY\_NUMERIC\_SLASH is day/month/year with slashes, MDY\_NUMERIC\_SLASH is month/day/year with slashes, YMD\_NUMERIC\_SLASH is year/month/day with slashes, DMY\_NUMERIC\_DASH\_SHORT is day/month/year with dashes, DMY\_NUMERIC\_DASH is day/month/year with dashes, YMD\_NUMERIC\_DASH is year/month/day with dashes, MDY\_TEXT\_DASH\_SHORT is month/day/year with dashes, MDY\_TEXT\_SPACE\_SHORT is month/day/year with spaces, MDY\_TEXT\_SPACE is month/day/year with spaces) | # AttachmentSettings **Properties** | Name | Type | Required | Description | | :---------------------- | :--- | :------- | :-------------------------------------------------- | | visible\_to\_recipients | bool | ❌ | Whether the attachment is visible to the recipients | # CreateTemplateRequest **Properties** | Name | Type | Required | Description | | :--- | :--- | :------- | :---------- | | name | str | ✅ | | # ListTemplateDocumentsResponse **Properties** | Name | Type | Required | Description | | :-------- | :-------------- | :------- | :---------- | | documents | List\[Document] | ❌ | | # AnnotationInitials Initials annotation (null if annotation is not initials) **Properties** | Name | Type | Required | Description | | :--- | :--- | :------- | :------------------------------------------- | | id\_ | str | ❌ | Unique identifier of the annotation initials | # AnnotationFont **Properties** | Name | Type | Required | Description | | :----- | :------------------- | :------- | :------------------------- | | family | AnnotationFontFamily | ❌ | Font family of the text | | italic | bool | ❌ | Whether the text is italic | | bold | bool | ❌ | Whether the text is bold | # AnnotationType Type of the annotation **Properties** | Name | Type | Required | Description | | :-------- | :--- | :------- | :---------- | | TEXT | str | ✅ | "TEXT" | | SIGNATURE | str | ✅ | "SIGNATURE" | | INITIALS | str | ✅ | "INITIALS" | | CHECKBOX | str | ✅ | "CHECKBOX" | | DATE | str | ✅ | "DATE" | # Webhook **Properties** | Name | Type | Required | Description | | :----- | :----------- | :------- | :------------------------------- | | id\_ | str | ❌ | Unique identifier of the webhook | | event | WebhookEvent | ❌ | Event of the webhook | | target | str | ❌ | Target URL of the webhook | # RenameTemplateRequest **Properties** | Name | Type | Required | Description | | :--- | :--- | :------- | :------------------- | | name | str | ✅ | Name of the template | # ListTemplatesResponse **Properties** | Name | Type | Required | Description | | :------------------ | :-------------- | :------- | :------------------------------- | | has\_next\_page | bool | ❌ | Whether there is a next page | | has\_previous\_page | bool | ❌ | Whether there is a previous page | | templates | List\[Template] | ❌ | | # EnvelopeAttachments **Properties** | Name | Type | Required | Description | | :--------- | :---------------------------------------- | :------- | :---------- | | settings | AttachmentSettings | ❌ | | | recipients | List\[AttachmentPlaceholdersPerRecipient] | ❌ | | # RecipientRole Role of the recipient (SIGNER signs the document, RECEIVES\_COPY receives a copy of the document, IN\_PERSON\_SIGNER signs the document in person, SENDER sends the document) **Properties** | Name | Type | Required | Description | | :------------- | :--- | :------- | :------------------- | | SIGNER | str | ✅ | "SIGNER" | | RECEIVESCOPY | str | ✅ | "RECEIVES\_COPY" | | INPERSONSIGNER | str | ✅ | "IN\_PERSON\_SIGNER" | # Annotation **Properties** | Name | Type | Required | Description | | :------------ | :------------------ | :------- | :---------------------------------------------------------------------------------------------- | | id\_ | str | ❌ | Unique identifier of the annotation | | recipient\_id | str | ❌ | ID of the recipient | | document\_id | str | ❌ | ID of the document | | page | int | ❌ | Page number where the annotation is placed | | x | float | ❌ | X coordinate of the annotation (in % of the page width from 0 to 100) from the top left corner | | y | float | ❌ | Y coordinate of the annotation (in % of the page height from 0 to 100) from the top left corner | | width | float | ❌ | Width of the annotation (in % of the page width from 0 to 100) | | height | float | ❌ | Height of the annotation (in % of the page height from 0 to 100) | | required | bool | ❌ | Whether the annotation is required | | type\_ | AnnotationType | ❌ | Type of the annotation | | signature | AnnotationSignature | ❌ | Signature annotation (null if annotation is not a signature) | | initials | AnnotationInitials | ❌ | Initials annotation (null if annotation is not initials) | | text | AnnotationText | ❌ | Text annotation (null if annotation is not a text) | | datetime\_ | AnnotationDateTime | ❌ | Date annotation (null if annotation is not a date) | | checkbox | AnnotationCheckbox | ❌ | Checkbox annotation (null if annotation is not a checkbox) | # DynamicField **Properties** | Name | Type | Required | Description | | :---- | :--- | :------- | :------------------------- | | name | str | ❌ | Name of the dynamic field | | value | str | ❌ | Value of the dynamic field | # AnnotationDateTimeFormat Format of the date time (DMY\_NUMERIC\_SLASH is day/month/year with slashes, MDY\_NUMERIC\_SLASH is month/day/year with slashes, YMD\_NUMERIC\_SLASH is year/month/day with slashes, DMY\_NUMERIC\_DASH\_SHORT is day/month/year with dashes, DMY\_NUMERIC\_DASH is day/month/year with dashes, YMD\_NUMERIC\_DASH is year/month/day with dashes, MDY\_TEXT\_DASH\_SHORT is month/day/year with dashes, MDY\_TEXT\_SPACE\_SHORT is month/day/year with spaces, MDY\_TEXT\_SPACE is month/day/year with spaces) **Properties** | Name | Type | Required | Description | | :------------------ | :--- | :------- | :-------------------------- | | DMYNUMERICSLASH | str | ✅ | "DMY\_NUMERIC\_SLASH" | | MDYNUMERICSLASH | str | ✅ | "MDY\_NUMERIC\_SLASH" | | YMDNUMERICSLASH | str | ✅ | "YMD\_NUMERIC\_SLASH" | | DMYNUMERICDASHSHORT | str | ✅ | "DMY\_NUMERIC\_DASH\_SHORT" | | DMYNUMERICDASH | str | ✅ | "DMY\_NUMERIC\_DASH" | | YMDNUMERICDASH | str | ✅ | "YMD\_NUMERIC\_DASH" | | MDYTEXTDASHSHORT | str | ✅ | "MDY\_TEXT\_DASH\_SHORT" | | MDYTEXTSPACESHORT | str | ✅ | "MDY\_TEXT\_SPACE\_SHORT" | | MDYTEXTSPACE | str | ✅ | "MDY\_TEXT\_SPACE" | # EnvelopeFlowType Flow type of the envelope (REQUEST\_SIGNATURE is a request for signature, SIGN\_MYSELF is a self-signing flow) **Properties** | Name | Type | Required | Description | | :--------------- | :--- | :------- | :------------------- | | REQUESTSIGNATURE | str | ✅ | "REQUEST\_SIGNATURE" | | SIGNMYSELF | str | ✅ | "SIGN\_MYSELF" | # EnvelopeLegalityLevel Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) **Properties** | Name | Type | Required | Description | | :-------- | :--- | :------- | :------------ | | SES | str | ✅ | "SES" | | QESEIDAS | str | ✅ | "QES\_EIDAS" | | QESZERTES | str | ✅ | "QES\_ZERTES" | # TemplateRecipientRole Role of the recipient (SIGNER signs the document, RECEIVES\_COPY receives a copy of the document, IN\_PERSON\_SIGNER signs the document in person, SENDER sends the document) **Properties** | Name | Type | Required | Description | | :------------- | :--- | :------- | :------------------- | | SIGNER | str | ✅ | "SIGNER" | | RECEIVESCOPY | str | ✅ | "RECEIVES\_COPY" | | INPERSONSIGNER | str | ✅ | "IN\_PERSON\_SIGNER" | | SENDER | str | ✅ | "SENDER" | # AttachmentPlaceholderRequest **Properties** | Name | Type | Required | Description | | :------------ | :--- | :------- | :--------------------------------------------- | | recipient\_id | str | ✅ | ID of the recipient | | name | str | ✅ | | | required | bool | ✅ | Whether the attachment placeholder is required | | multiple | bool | ✅ | | | id\_ | str | ❌ | ID of the attachment placeholder | | hint | str | ❌ | Hint of the attachment placeholder | # SetEnvelopeDynamicFieldsRequest **Properties** | Name | Type | Required | Description | | :-------------- | :------------------ | :------- | :--------------------- | | dynamic\_fields | List\[DynamicField] | ✅ | List of dynamic fields | # Page **Properties** | Name | Type | Required | Description | | :----- | :--- | :------- | :--------------------------- | | width | int | ❌ | Width of the page in pixels | | height | int | ❌ | Height of the page in pixels | # TemplateSigningStep **Properties** | Name | Type | Required | Description | | :--------- | :----------------------- | :------- | :----------------- | | recipients | List\[TemplateRecipient] | ❌ | List of recipients | # AttachmentPlaceholdersPerRecipient **Properties** | Name | Type | Required | Description | | :-------------- | :--------------------------- | :------- | :-------------------- | | recipient\_id | str | ❌ | ID of the recipient | | recipient\_name | str | ❌ | Name of the recipient | | placeholders | List\[AttachmentPlaceholder] | ❌ | | # ListEnvelopesResponse **Properties** | Name | Type | Required | Description | | :------------------ | :-------------- | :------- | :------------------------------- | | has\_next\_page | bool | ❌ | Whether there is a next page | | has\_previous\_page | bool | ❌ | Whether there is a previous page | | envelopes | List\[Envelope] | ❌ | | # Recipient **Properties** | Name | Type | Required | Description | | :----------- | :-------------------- | :------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | name | str | ✅ | Name of the recipient | | email | str | ✅ | Email of the recipient | | role | RecipientRole | ✅ | Role of the recipient (SIGNER signs the document, RECEIVES\_COPY receives a copy of the document, IN\_PERSON\_SIGNER signs the document in person, SENDER sends the document) | | id\_ | str | ❌ | Unique identifier of the recipient | | uid | str | ❌ | Unique identifier of the user associated with the recipient | | verification | RecipientVerification | ❌ | | # WebhookEvent Event of the webhook **Properties** | Name | Type | Required | Description | | :----------------- | :--- | :------- | :----------------------- | | ENVELOPEEXPIRED | str | ✅ | "ENVELOPE\_EXPIRED" | | ENVELOPEDECLINED | str | ✅ | "ENVELOPE\_DECLINED" | | ENVELOPEVOIDED | str | ✅ | "ENVELOPE\_VOIDED" | | ENVELOPECOMPLETED | str | ✅ | "ENVELOPE\_COMPLETED" | | ENVELOPEAUDITTRAIL | str | ✅ | "ENVELOPE\_AUDIT\_TRAIL" | # CreateWebhookRequest **Properties** | Name | Type | Required | Description | | :----- | :----------- | :------- | :------------------------ | | event | WebhookEvent | ✅ | Event of the webhook | | target | str | ✅ | URL of the webhook target | # CreateEnvelopeFromTemplateRequest **Properties** | Name | Type | Required | Description | | :------ | :--- | :------- | :---------------------------------------------- | | name | str | ✅ | Name of the envelope | | comment | str | ❌ | Comment for the envelope | | sandbox | bool | ❌ | Whether the envelope is created in sandbox mode | # ListTemplateAnnotationsResponse **Properties** | Name | Type | Required | Description | | :---------- | :---------------- | :------- | :---------- | | annotations | List\[Annotation] | ❌ | | # RenameEnvelopeRequest **Properties** | Name | Type | Required | Description | | :--- | :--- | :------- | :------------------- | | name | str | ❌ | Name of the envelope | # ListTemplateDocumentAnnotationsResponse **Properties** | Name | Type | Required | Description | | :---------- | :---------------- | :------- | :---------- | | annotations | List\[Annotation] | ❌ | | # ListEnvelopeDocumentsResponse **Properties** | Name | Type | Required | Description | | :-------- | :-------------- | :------- | :---------- | | documents | List\[Document] | ❌ | | # ListWebhooksResponse **Properties** | Name | Type | Required | Description | | :------- | :------------- | :------- | :---------- | | webhooks | List\[Webhook] | ❌ | | # AnnotationSignature Signature annotation (null if annotation is not a signature) **Properties** | Name | Type | Required | Description | | :--- | :--- | :------- | :-------------------------------------------- | | id\_ | str | ❌ | Unique identifier of the annotation signature | # Install Source: https://apidoc.sign.plus/backend-sdks/sharp/install Install the Signplus C# SDK package ```bash theme={null} dotnet add package Alohi.Signplus ``` Call your first SDK method ```csharp theme={null} using Signplus; using Signplus.Config; using Environment = Signplus.Http.Environment; var config = new SignplusConfig { Environment = Environment.Default, AccessToken = "YOUR_ACCESS_TOKEN" }; var client = new SignplusClient(config); var response = await client.Signplus.GetEnvelopeAsync("envelope_id"); Console.WriteLine(response); ``` # Sdk reference Source: https://apidoc.sign.plus/backend-sdks/sharp/sdk-reference A list of all methods in the `SignplusService` service. Click on the method name to view detailed information about that method. | Methods | Description | | :---------------------------------------------------------------------------------- | :-------------------------------------------------------------- | | [CreateEnvelopeAsync](#createenvelopeasync) | Create new envelope | | [CreateEnvelopeFromTemplateAsync](#createenvelopefromtemplateasync) | Create new envelope from template | | [ListEnvelopesAsync](#listenvelopesasync) | List envelopes | | [GetEnvelopeAsync](#getenvelopeasync) | Get envelope | | [DeleteEnvelopeAsync](#deleteenvelopeasync) | Delete envelope | | [DownloadEnvelopeSignedDocumentsAsync](#downloadenvelopesigneddocumentsasync) | Download signed documents for an envelope | | [DownloadEnvelopeCertificateAsync](#downloadenvelopecertificateasync) | Download certificate of completion for an envelope | | [GetEnvelopeDocumentAsync](#getenvelopedocumentasync) | Get envelope document | | [GetEnvelopeDocumentsAsync](#getenvelopedocumentsasync) | Get envelope documents | | [AddEnvelopeDocumentAsync](#addenvelopedocumentasync) | Add envelope document | | [SetEnvelopeDynamicFieldsAsync](#setenvelopedynamicfieldsasync) | Set envelope dynamic fields | | [AddEnvelopeSigningStepsAsync](#addenvelopesigningstepsasync) | Add envelope signing steps | | [SetEnvelopeAttachmentsSettingsAsync](#setenvelopeattachmentssettingsasync) | Set envelope attachment settings | | [SetEnvelopeAttachmentsPlaceholdersAsync](#setenvelopeattachmentsplaceholdersasync) | Placeholders to be set, completely replacing the existing ones. | | [GetAttachmentFileAsync](#getattachmentfileasync) | Get envelope attachment file | | [SendEnvelopeAsync](#sendenvelopeasync) | Send envelope for signature | | [DuplicateEnvelopeAsync](#duplicateenvelopeasync) | Duplicate envelope | | [VoidEnvelopeAsync](#voidenvelopeasync) | Void envelope | | [RenameEnvelopeAsync](#renameenvelopeasync) | Rename envelope | | [SetEnvelopeCommentAsync](#setenvelopecommentasync) | Set envelope comment | | [SetEnvelopeNotificationAsync](#setenvelopenotificationasync) | Set envelope notification | | [SetEnvelopeExpirationDateAsync](#setenvelopeexpirationdateasync) | Set envelope expiration date | | [SetEnvelopeLegalityLevelAsync](#setenvelopelegalitylevelasync) | Set envelope legality level | | [GetEnvelopeAnnotationsAsync](#getenvelopeannotationsasync) | Get envelope annotations | | [GetEnvelopeDocumentAnnotationsAsync](#getenvelopedocumentannotationsasync) | Get envelope document annotations | | [AddEnvelopeAnnotationAsync](#addenvelopeannotationasync) | Add envelope annotation | | [DeleteEnvelopeAnnotationAsync](#deleteenvelopeannotationasync) | Delete envelope annotation | | [CreateTemplateAsync](#createtemplateasync) | Create new template | | [ListTemplatesAsync](#listtemplatesasync) | List templates | | [GetTemplateAsync](#gettemplateasync) | Get template | | [DeleteTemplateAsync](#deletetemplateasync) | Delete template | | [DuplicateTemplateAsync](#duplicatetemplateasync) | Duplicate template | | [AddTemplateDocumentAsync](#addtemplatedocumentasync) | Add template document | | [GetTemplateDocumentAsync](#gettemplatedocumentasync) | Get template document | | [GetTemplateDocumentsAsync](#gettemplatedocumentsasync) | Get template documents | | [AddTemplateSigningStepsAsync](#addtemplatesigningstepsasync) | Add template signing steps | | [RenameTemplateAsync](#renametemplateasync) | Rename template | | [SetTemplateCommentAsync](#settemplatecommentasync) | Set template comment | | [SetTemplateNotificationAsync](#settemplatenotificationasync) | Set template notification | | [GetTemplateAnnotationsAsync](#gettemplateannotationsasync) | Get template annotations | | [GetDocumentTemplateAnnotationsAsync](#getdocumenttemplateannotationsasync) | Get document template annotations | | [AddTemplateAnnotationAsync](#addtemplateannotationasync) | Add template annotation | | [DeleteTemplateAnnotationAsync](#deletetemplateannotationasync) | Delete template annotation | | [SetTemplateAttachmentsSettingsAsync](#settemplateattachmentssettingsasync) | Set template attachment settings | | [SetTemplateAttachmentsPlaceholdersAsync](#settemplateattachmentsplaceholdersasync) | Placeholders to be set, completely replacing the existing ones. | | [CreateWebhookAsync](#createwebhookasync) | Create webhook | | [ListWebhooksAsync](#listwebhooksasync) | List webhooks | | [DeleteWebhookAsync](#deletewebhookasync) | Delete webhook | ## CreateEnvelopeAsync Create new envelope * HTTP Method: `POST` * Endpoint: `/envelope` **Parameters** | Name | Type | Required | Description | | :---- | :----------------------------------------------------------------------------- | :------- | :---------------- | | input | [CreateEnvelopeRequest](/api-reference/endpoints/signplus/create-new-envelope) | ✅ | The request body. | **Return Type** `Envelope` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var input = new CreateEnvelopeRequest("name", EnvelopeLegalityLevel.Ses, 8, "comment", false); var response = await client.Signplus.CreateEnvelopeAsync(input); Console.WriteLine(response); ``` ## CreateEnvelopeFromTemplateAsync Create new envelope from template * HTTP Method: `POST` * Endpoint: `/envelope/from_template/{template_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :------------------------------------------------------------------------------------------------------- | :------- | :---------------- | | input | [CreateEnvelopeFromTemplateRequest](/api-reference/endpoints/signplus/create-new-envelope-from-template) | ✅ | The request body. | | templateId | string | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var input = new CreateEnvelopeFromTemplateRequest("name", "comment", true); var response = await client.Signplus.CreateEnvelopeFromTemplateAsync(input, "template_id"); Console.WriteLine(response); ``` ## ListEnvelopesAsync List envelopes * HTTP Method: `POST` * Endpoint: `/envelopes` **Parameters** | Name | Type | Required | Description | | :---- | :----------------------------------------------------------------------- | :------- | :---------------- | | input | [ListEnvelopesRequest](/api-reference/endpoints/signplus/list-envelopes) | ❌ | The request body. | **Return Type** `ListEnvelopesResponse` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var tags = new List() { "tags" }; var ids = new List() { "ids" }; var statuses = new List() { EnvelopeStatus.Draft }; var folderIds = new List() { "folder_ids" }; var input = new ListEnvelopesRequest("name", tags, "comment", ids, statuses, folderIds, true, 5, 9, "uid", 9, 7, "after", "before", EnvelopeOrderField.CreationDate, true, true); var response = await client.Signplus.ListEnvelopesAsync(input); Console.WriteLine(response); ``` ## GetEnvelopeAsync Get envelope * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | envelopeId | string | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); var response = await client.Signplus.GetEnvelopeAsync("envelope_id"); Console.WriteLine(response); ``` ## DeleteEnvelopeAsync Delete envelope * HTTP Method: `DELETE` * Endpoint: `/envelope/{envelope_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | envelopeId | string | ✅ | | **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); await client.Signplus.DeleteEnvelopeAsync("envelope_id"); ``` ## DownloadEnvelopeSignedDocumentsAsync Download signed documents for an envelope * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/signed_documents` **Parameters** | Name | Type | Required | Description | | :---------------------- | :----- | :------- | :---------------------------------------------------------------------- | | envelopeId | string | ✅ | ID of the envelope | | certificateOfCompletion | bool | ❌ | Whether to include the certificate of completion in the downloaded file | **Return Type** `byte[]` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); var response = await client.Signplus.DownloadEnvelopeSignedDocumentsAsync("envelope_id", true); Console.WriteLine(response); ``` ## DownloadEnvelopeCertificateAsync Download certificate of completion for an envelope * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/certificate` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :----------------- | | envelopeId | string | ✅ | ID of the envelope | **Return Type** `byte[]` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); var response = await client.Signplus.DownloadEnvelopeCertificateAsync("envelope_id"); Console.WriteLine(response); ``` ## GetEnvelopeDocumentAsync Get envelope document * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/document/{document_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | envelopeId | string | ✅ | | | documentId | string | ✅ | | **Return Type** `Document` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); var response = await client.Signplus.GetEnvelopeDocumentAsync("envelope_id", "document_id"); Console.WriteLine(response); ``` ## GetEnvelopeDocumentsAsync Get envelope documents * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/documents` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | envelopeId | string | ✅ | | **Return Type** `ListEnvelopeDocumentsResponse` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); var response = await client.Signplus.GetEnvelopeDocumentsAsync("envelope_id"); Console.WriteLine(response); ``` ## AddEnvelopeDocumentAsync Add envelope document * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/document` **Parameters** | Name | Type | Required | Description | | :--------- | :------------------------- | :------- | :---------------- | | input | AddEnvelopeDocumentRequest | ✅ | The request body. | | envelopeId | string | ✅ | | **Return Type** `Document` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var input = new AddEnvelopeDocumentRequest(new byte[] {}); var response = await client.Signplus.AddEnvelopeDocumentAsync(input, "envelope_id"); Console.WriteLine(response); ``` ## SetEnvelopeDynamicFieldsAsync Set envelope dynamic fields * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/dynamic_fields` **Parameters** | Name | Type | Required | Description | | :--------- | :------------------------------ | :------- | :---------------- | | input | SetEnvelopeDynamicFieldsRequest | ✅ | The request body. | | envelopeId | string | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var dynamicFieldsItem = new DynamicField("name", "value"); var dynamicFields = new List() { dynamicFieldsItem }; var input = new SetEnvelopeDynamicFieldsRequest(dynamicFields); var response = await client.Signplus.SetEnvelopeDynamicFieldsAsync(input, "envelope_id"); Console.WriteLine(response); ``` ## AddEnvelopeSigningStepsAsync Add envelope signing steps * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/signing_steps` **Parameters** | Name | Type | Required | Description | | :--------- | :----------------------------- | :------- | :---------------- | | input | AddEnvelopeSigningStepsRequest | ✅ | The request body. | | envelopeId | string | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var verification = new RecipientVerification(RecipientVerificationType.Sms, "value"); var recipientsItem = new Recipient("name", "email", RecipientRole.Signer, "id", "uid", verification); var recipients = new List() { recipientsItem }; var signingStepsItem = new SigningStep(recipients); var signingSteps = new List() { signingStepsItem }; var input = new AddEnvelopeSigningStepsRequest(signingSteps); var response = await client.Signplus.AddEnvelopeSigningStepsAsync(input, "envelope_id"); Console.WriteLine(response); ``` ## SetEnvelopeAttachmentsSettingsAsync Set envelope attachment settings * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/attachments/settings` **Parameters** | Name | Type | Required | Description | | :--------- | :------------------------------------ | :------- | :---------------- | | input | SetEnvelopeAttachmentsSettingsRequest | ✅ | The request body. | | envelopeId | string | ✅ | | **Return Type** `EnvelopeAttachments` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var settings = new AttachmentSettings(false); var input = new SetEnvelopeAttachmentsSettingsRequest(settings); var response = await client.Signplus.SetEnvelopeAttachmentsSettingsAsync(input, "envelope_id"); Console.WriteLine(response); ``` ## SetEnvelopeAttachmentsPlaceholdersAsync Placeholders to be set, completely replacing the existing ones. * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/attachments/placeholders` **Parameters** | Name | Type | Required | Description | | :--------- | :---------------------------------------- | :------- | :---------------- | | input | SetEnvelopeAttachmentsPlaceholdersRequest | ✅ | The request body. | | envelopeId | string | ✅ | | **Return Type** `EnvelopeAttachments` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var placeholdersItem = new AttachmentPlaceholderRequest("recipient_id", "name", false, true, "id", "hint"); var placeholders = new List() { placeholdersItem }; var input = new SetEnvelopeAttachmentsPlaceholdersRequest(placeholders); var response = await client.Signplus.SetEnvelopeAttachmentsPlaceholdersAsync(input, "envelope_id"); Console.WriteLine(response); ``` ## GetAttachmentFileAsync Get envelope attachment file * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/attachments/{file_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | envelopeId | string | ✅ | | | fileId | string | ✅ | | **Return Type** `byte[]` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); var response = await client.Signplus.GetAttachmentFileAsync("envelope_id", "file_id"); Console.WriteLine(response); ``` ## SendEnvelopeAsync Send envelope for signature * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/send` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | envelopeId | string | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); var response = await client.Signplus.SendEnvelopeAsync("envelope_id"); Console.WriteLine(response); ``` ## DuplicateEnvelopeAsync Duplicate envelope * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/duplicate` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | envelopeId | string | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); var response = await client.Signplus.DuplicateEnvelopeAsync("envelope_id"); Console.WriteLine(response); ``` ## VoidEnvelopeAsync Void envelope * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/void` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | envelopeId | string | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); var response = await client.Signplus.VoidEnvelopeAsync("envelope_id"); Console.WriteLine(response); ``` ## RenameEnvelopeAsync Rename envelope * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/rename` **Parameters** | Name | Type | Required | Description | | :--------- | :-------------------- | :------- | :---------------- | | input | RenameEnvelopeRequest | ✅ | The request body. | | envelopeId | string | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var input = new RenameEnvelopeRequest("name"); var response = await client.Signplus.RenameEnvelopeAsync(input, "envelope_id"); Console.WriteLine(response); ``` ## SetEnvelopeCommentAsync Set envelope comment * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/set_comment` **Parameters** | Name | Type | Required | Description | | :--------- | :------------------------ | :------- | :---------------- | | input | SetEnvelopeCommentRequest | ✅ | The request body. | | envelopeId | string | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var input = new SetEnvelopeCommentRequest("comment"); var response = await client.Signplus.SetEnvelopeCommentAsync(input, "envelope_id"); Console.WriteLine(response); ``` ## SetEnvelopeNotificationAsync Set envelope notification * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/set_notification` **Parameters** | Name | Type | Required | Description | | :--------- | :------------------- | :------- | :---------------- | | input | EnvelopeNotification | ✅ | The request body. | | envelopeId | string | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var input = new EnvelopeNotification("subject", "message", 1); var response = await client.Signplus.SetEnvelopeNotificationAsync(input, "envelope_id"); Console.WriteLine(response); ``` ## SetEnvelopeExpirationDateAsync Set envelope expiration date * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/set_expiration_date` **Parameters** | Name | Type | Required | Description | | :--------- | :--------------------------- | :------- | :---------------- | | input | SetEnvelopeExpirationRequest | ✅ | The request body. | | envelopeId | string | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var input = new SetEnvelopeExpirationRequest(0); var response = await client.Signplus.SetEnvelopeExpirationDateAsync(input, "envelope_id"); Console.WriteLine(response); ``` ## SetEnvelopeLegalityLevelAsync Set envelope legality level * HTTP Method: `PUT` * Endpoint: `/envelope/{envelope_id}/set_legality_level` **Parameters** | Name | Type | Required | Description | | :--------- | :------------------------------ | :------- | :---------------- | | input | SetEnvelopeLegalityLevelRequest | ✅ | The request body. | | envelopeId | string | ✅ | | **Return Type** `Envelope` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var input = new SetEnvelopeLegalityLevelRequest(EnvelopeLegalityLevel.Ses); var response = await client.Signplus.SetEnvelopeLegalityLevelAsync(input, "envelope_id"); Console.WriteLine(response); ``` ## GetEnvelopeAnnotationsAsync Get envelope annotations * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/annotations` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :----------------- | | envelopeId | string | ✅ | ID of the envelope | **Return Type** `List<Annotation>` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); var response = await client.Signplus.GetEnvelopeAnnotationsAsync("envelope_id"); Console.WriteLine(response); ``` ## GetEnvelopeDocumentAnnotationsAsync Get envelope document annotations * HTTP Method: `GET` * Endpoint: `/envelope/{envelope_id}/annotations/{document_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :----------------- | | envelopeId | string | ✅ | ID of the envelope | | documentId | string | ✅ | ID of document | **Return Type** `ListEnvelopeDocumentAnnotationsResponse` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); var response = await client.Signplus.GetEnvelopeDocumentAnnotationsAsync("envelope_id", "document_id"); Console.WriteLine(response); ``` ## AddEnvelopeAnnotationAsync Add envelope annotation * HTTP Method: `POST` * Endpoint: `/envelope/{envelope_id}/annotation` **Parameters** | Name | Type | Required | Description | | :--------- | :------------------- | :------- | :----------------- | | input | AddAnnotationRequest | ✅ | The request body. | | envelopeId | string | ✅ | ID of the envelope | **Return Type** `Annotation` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var signature = new AnnotationSignature("id"); var initials = new AnnotationInitials("id"); var font = new AnnotationFont(AnnotationFontFamily.Unknown, true, true); var text = new AnnotationText(5.96, 8.73, "value", "tooltip", "dynamic_field_name", font); var font = new AnnotationFont(AnnotationFontFamily.Unknown, true, true); var datetime = new AnnotationDateTime(0.26, font, "color", true, "timezone", 1, AnnotationDateTimeFormat.DmyNumericSlash); var checkbox = new AnnotationCheckbox(true, AnnotationCheckboxStyle.CircleCheck); var input = new AddAnnotationRequest("document_id", 2, 1.99, 8.2, 4.89, 9.43, AnnotationType.Text, "recipient_id", false, signature, initials, text, datetime, checkbox); var response = await client.Signplus.AddEnvelopeAnnotationAsync(input, "envelope_id"); Console.WriteLine(response); ``` ## DeleteEnvelopeAnnotationAsync Delete envelope annotation * HTTP Method: `DELETE` * Endpoint: `/envelope/{envelope_id}/annotation/{annotation_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :----------------------------- | | envelopeId | string | ✅ | ID of the envelope | | annotationId | string | ✅ | ID of the annotation to delete | **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); await client.Signplus.DeleteEnvelopeAnnotationAsync("envelope_id", "annotation_id"); ``` ## CreateTemplateAsync Create new template * HTTP Method: `POST` * Endpoint: `/template` **Parameters** | Name | Type | Required | Description | | :---- | :----------------------------------------------------------------------------- | :------- | :---------------- | | input | [CreateTemplateRequest](/api-reference/endpoints/signplus/create-new-template) | ✅ | The request body. | **Return Type** `Template` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var input = new CreateTemplateRequest("name"); var response = await client.Signplus.CreateTemplateAsync(input); Console.WriteLine(response); ``` ## ListTemplatesAsync List templates * HTTP Method: `POST` * Endpoint: `/templates` **Parameters** | Name | Type | Required | Description | | :---- | :----------------------------------------------------------------------- | :------- | :---------------- | | input | [ListTemplatesRequest](/api-reference/endpoints/signplus/list-templates) | ❌ | The request body. | **Return Type** `ListTemplatesResponse` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var tags = new List() { "tags" }; var ids = new List() { "ids" }; var input = new ListTemplatesRequest("name", tags, ids, 1, 6, "after", "before", TemplateOrderField.TemplateId, false); var response = await client.Signplus.ListTemplatesAsync(input); Console.WriteLine(response); ``` ## GetTemplateAsync Get template * HTTP Method: `GET` * Endpoint: `/template/{template_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | templateId | string | ✅ | | **Return Type** `Template` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); var response = await client.Signplus.GetTemplateAsync("template_id"); Console.WriteLine(response); ``` ## DeleteTemplateAsync Delete template * HTTP Method: `DELETE` * Endpoint: `/template/{template_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | templateId | string | ✅ | | **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); await client.Signplus.DeleteTemplateAsync("template_id"); ``` ## DuplicateTemplateAsync Duplicate template * HTTP Method: `POST` * Endpoint: `/template/{template_id}/duplicate` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | templateId | string | ✅ | | **Return Type** `Template` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); var response = await client.Signplus.DuplicateTemplateAsync("template_id"); Console.WriteLine(response); ``` ## AddTemplateDocumentAsync Add template document * HTTP Method: `POST` * Endpoint: `/template/{template_id}/document` **Parameters** | Name | Type | Required | Description | | :--------- | :------------------------- | :------- | :---------------- | | input | AddTemplateDocumentRequest | ✅ | The request body. | | templateId | string | ✅ | | **Return Type** `Document` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var input = new AddTemplateDocumentRequest(new byte[] {}); var response = await client.Signplus.AddTemplateDocumentAsync(input, "template_id"); Console.WriteLine(response); ``` ## GetTemplateDocumentAsync Get template document * HTTP Method: `GET` * Endpoint: `/template/{template_id}/document/{document_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | templateId | string | ✅ | | | documentId | string | ✅ | | **Return Type** `Document` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); var response = await client.Signplus.GetTemplateDocumentAsync("template_id", "document_id"); Console.WriteLine(response); ``` ## GetTemplateDocumentsAsync Get template documents * HTTP Method: `GET` * Endpoint: `/template/{template_id}/documents` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :---------- | | templateId | string | ✅ | | **Return Type** `ListTemplateDocumentsResponse` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); var response = await client.Signplus.GetTemplateDocumentsAsync("template_id"); Console.WriteLine(response); ``` ## AddTemplateSigningStepsAsync Add template signing steps * HTTP Method: `POST` * Endpoint: `/template/{template_id}/signing_steps` **Parameters** | Name | Type | Required | Description | | :--------- | :----------------------------- | :------- | :---------------- | | input | AddTemplateSigningStepsRequest | ✅ | The request body. | | templateId | string | ✅ | | **Return Type** `Template` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var recipientsItem = new TemplateRecipient("id", "uid", "name", "email", TemplateRecipientRole.Signer); var recipients = new List() { recipientsItem }; var signingStepsItem = new TemplateSigningStep(recipients); var signingSteps = new List() { signingStepsItem }; var input = new AddTemplateSigningStepsRequest(signingSteps); var response = await client.Signplus.AddTemplateSigningStepsAsync(input, "template_id"); Console.WriteLine(response); ``` ## RenameTemplateAsync Rename template * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/rename` **Parameters** | Name | Type | Required | Description | | :--------- | :-------------------- | :------- | :---------------- | | input | RenameTemplateRequest | ✅ | The request body. | | templateId | string | ✅ | | **Return Type** `Template` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var input = new RenameTemplateRequest("name"); var response = await client.Signplus.RenameTemplateAsync(input, "template_id"); Console.WriteLine(response); ``` ## SetTemplateCommentAsync Set template comment * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/set_comment` **Parameters** | Name | Type | Required | Description | | :--------- | :------------------------ | :------- | :---------------- | | input | SetTemplateCommentRequest | ✅ | The request body. | | templateId | string | ✅ | | **Return Type** `Template` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var input = new SetTemplateCommentRequest("comment"); var response = await client.Signplus.SetTemplateCommentAsync(input, "template_id"); Console.WriteLine(response); ``` ## SetTemplateNotificationAsync Set template notification * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/set_notification` **Parameters** | Name | Type | Required | Description | | :--------- | :------------------- | :------- | :---------------- | | input | EnvelopeNotification | ✅ | The request body. | | templateId | string | ✅ | | **Return Type** `Template` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var input = new EnvelopeNotification("subject", "message", 1); var response = await client.Signplus.SetTemplateNotificationAsync(input, "template_id"); Console.WriteLine(response); ``` ## GetTemplateAnnotationsAsync Get template annotations * HTTP Method: `GET` * Endpoint: `/template/{template_id}/annotations` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :----------------- | | templateId | string | ✅ | ID of the template | **Return Type** `ListTemplateAnnotationsResponse` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); var response = await client.Signplus.GetTemplateAnnotationsAsync("template_id"); Console.WriteLine(response); ``` ## GetDocumentTemplateAnnotationsAsync Get document template annotations * HTTP Method: `GET` * Endpoint: `/template/{template_id}/annotations/{document_id}` **Parameters** | Name | Type | Required | Description | | :--------- | :----- | :------- | :----------------- | | templateId | string | ✅ | ID of the template | | documentId | string | ✅ | ID of document | **Return Type** `ListTemplateDocumentAnnotationsResponse` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); var response = await client.Signplus.GetDocumentTemplateAnnotationsAsync("template_id", "document_id"); Console.WriteLine(response); ``` ## AddTemplateAnnotationAsync Add template annotation * HTTP Method: `POST` * Endpoint: `/template/{template_id}/annotation` **Parameters** | Name | Type | Required | Description | | :--------- | :------------------- | :------- | :----------------- | | input | AddAnnotationRequest | ✅ | The request body. | | templateId | string | ✅ | ID of the template | **Return Type** `Annotation` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var signature = new AnnotationSignature("id"); var initials = new AnnotationInitials("id"); var font = new AnnotationFont(AnnotationFontFamily.Unknown, true, true); var text = new AnnotationText(5.96, 8.73, "value", "tooltip", "dynamic_field_name", font); var font = new AnnotationFont(AnnotationFontFamily.Unknown, true, true); var datetime = new AnnotationDateTime(0.26, font, "color", true, "timezone", 1, AnnotationDateTimeFormat.DmyNumericSlash); var checkbox = new AnnotationCheckbox(true, AnnotationCheckboxStyle.CircleCheck); var input = new AddAnnotationRequest("document_id", 2, 1.99, 8.2, 4.89, 9.43, AnnotationType.Text, "recipient_id", false, signature, initials, text, datetime, checkbox); var response = await client.Signplus.AddTemplateAnnotationAsync(input, "template_id"); Console.WriteLine(response); ``` ## DeleteTemplateAnnotationAsync Delete template annotation * HTTP Method: `DELETE` * Endpoint: `/template/{template_id}/annotation/{annotation_id}` **Parameters** | Name | Type | Required | Description | | :----------- | :----- | :------- | :----------------------------- | | templateId | string | ✅ | ID of the template | | annotationId | string | ✅ | ID of the annotation to delete | **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); await client.Signplus.DeleteTemplateAnnotationAsync("template_id", "annotation_id"); ``` ## SetTemplateAttachmentsSettingsAsync Set template attachment settings * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/attachments/settings` **Parameters** | Name | Type | Required | Description | | :--------- | :------------------------------------ | :------- | :---------------- | | input | SetEnvelopeAttachmentsSettingsRequest | ✅ | The request body. | | templateId | string | ✅ | | **Return Type** `EnvelopeAttachments` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var settings = new AttachmentSettings(false); var input = new SetEnvelopeAttachmentsSettingsRequest(settings); var response = await client.Signplus.SetTemplateAttachmentsSettingsAsync(input, "template_id"); Console.WriteLine(response); ``` ## SetTemplateAttachmentsPlaceholdersAsync Placeholders to be set, completely replacing the existing ones. * HTTP Method: `PUT` * Endpoint: `/template/{template_id}/attachments/placeholders` **Parameters** | Name | Type | Required | Description | | :--------- | :---------------------------------------- | :------- | :---------------- | | input | SetEnvelopeAttachmentsPlaceholdersRequest | ✅ | The request body. | | templateId | string | ✅ | | **Return Type** `EnvelopeAttachments` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var placeholdersItem = new AttachmentPlaceholderRequest("recipient_id", "name", false, true, "id", "hint"); var placeholders = new List() { placeholdersItem }; var input = new SetEnvelopeAttachmentsPlaceholdersRequest(placeholders); var response = await client.Signplus.SetTemplateAttachmentsPlaceholdersAsync(input, "template_id"); Console.WriteLine(response); ``` ## CreateWebhookAsync Create webhook * HTTP Method: `POST` * Endpoint: `/webhook` **Parameters** | Name | Type | Required | Description | | :---- | :----------------------------------------------------------------------- | :------- | :---------------- | | input | [CreateWebhookRequest](/api-reference/endpoints/signplus/create-webhook) | ✅ | The request body. | **Return Type** `Webhook` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var input = new CreateWebhookRequest(WebhookEvent.EnvelopeExpired, "target"); var response = await client.Signplus.CreateWebhookAsync(input); Console.WriteLine(response); ``` ## ListWebhooksAsync List webhooks * HTTP Method: `POST` * Endpoint: `/webhooks` **Parameters** | Name | Type | Required | Description | | :---- | :--------------------------------------------------------------------- | :------- | :---------------- | | input | [ListWebhooksRequest](/api-reference/endpoints/signplus/list-webhooks) | ❌ | The request body. | **Return Type** `ListWebhooksResponse` **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; using Alohi.Signplus.Models; var config = new SignplusConfig{}; var client = new SignplusClient(config); var input = new ListWebhooksRequest("webhook_id", WebhookEvent.EnvelopeExpired); var response = await client.Signplus.ListWebhooksAsync(input); Console.WriteLine(response); ``` ## DeleteWebhookAsync Delete webhook * HTTP Method: `DELETE` * Endpoint: `/webhook/{webhook_id}` **Parameters** | Name | Type | Required | Description | | :-------- | :----- | :------- | :---------- | | webhookId | string | ✅ | | **Example Usage Code Snippet** ```csharp theme={null} using Alohi.Signplus; using Alohi.Signplus.Config; var config = new SignplusConfig{}; var client = new SignplusClient(config); await client.Signplus.DeleteWebhookAsync("webhook_id"); ``` # Models # SetEnvelopeAttachmentsPlaceholdersRequest **Properties** | Name | Type | Required | Description | | :----------- | :---------------------------------- | :------- | :---------- | | Placeholders | List\ | ✅ | | # Document **Properties** | Name | Type | Required | Description | | :-------- | :---------- | :------- | :-------------------------------- | | Id | string | ❌ | Unique identifier of the document | | Name | string | ❌ | Name of the document | | Filename | string | ❌ | Filename of the document | | PageCount | long | ❌ | Number of pages in the document | | Pages | List\ | ❌ | List of pages in the document | # CreateEnvelopeRequest **Properties** | Name | Type | Required | Description | | :------------ | :-------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Name | string | ✅ | Name of the envelope | | LegalityLevel | EnvelopeLegalityLevel | ✅ | Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) | | ExpiresAt | long | ❌ | Unix timestamp of the expiration date | | Comment | string | ❌ | Comment for the envelope | | Sandbox | bool | ❌ | Whether the envelope is created in sandbox mode | # ListEnvelopesRequest **Properties** | Name | Type | Required | Description | | :------------- | :-------------------- | :------- | :------------------------------------------------ | | Name | string | ❌ | Name of the envelope | | Tags | List\ | ❌ | List of tags | | Comment | string | ❌ | Comment of the envelope | | Ids | List\ | ❌ | List of envelope IDs | | Statuses | List\ | ❌ | List of envelope statuses | | FolderIds | List\ | ❌ | List of folder IDs | | OnlyRootFolder | bool | ❌ | Whether to only list envelopes in the root folder | | DateFrom | long | ❌ | Unix timestamp of the start date | | DateTo | long | ❌ | Unix timestamp of the end date | | Uid | string | ❌ | Unique identifier of the user | | First | long | ❌ | | | Last | long | ❌ | | | After | string | ❌ | | | Before | string | ❌ | | | OrderField | EnvelopeOrderField | ❌ | Field to order envelopes by | | Ascending | bool | ❌ | Whether to order envelopes in ascending order | | IncludeTrash | bool | ❌ | Whether to include envelopes in the trash | # AttachmentPlaceholder **Properties** | Name | Type | Required | Description | | :---------- | :------------------------------- | :------- | :--------------------------------------------------------- | | RecipientId | string | ❌ | ID of the recipient | | Id | string | ❌ | ID of the attachment placeholder | | Name | string | ❌ | Name of the attachment placeholder | | Hint | string | ❌ | Hint of the attachment placeholder | | Required | bool | ❌ | Whether the attachment placeholder is required | | Multiple | bool | ❌ | Whether the attachment placeholder can have multiple files | | Files | List\ | ❌ | | # SetEnvelopeAttachmentsSettingsRequest **Properties** | Name | Type | Required | Description | | :------- | :----------------- | :------- | :---------- | | Settings | AttachmentSettings | ✅ | | # EnvelopeNotification **Properties** | Name | Type | Required | Description | | :--------------- | :----- | :------- | :-------------------------------- | | Subject | string | ❌ | Subject of the notification | | Message | string | ❌ | Message of the notification | | ReminderInterval | long | ❌ | Interval in days to send reminder | # ListTemplatesRequest **Properties** | Name | Type | Required | Description | | :--------- | :----------------- | :------- | :-------------------------------------------- | | Name | string | ❌ | Name of the template | | Tags | List\ | ❌ | List of tag templates | | Ids | List\ | ❌ | List of templates IDs | | First | long | ❌ | | | Last | long | ❌ | | | After | string | ❌ | | | Before | string | ❌ | | | OrderField | TemplateOrderField | ❌ | Field to order templates by | | Ascending | bool | ❌ | Whether to order templates in ascending order | # SetTemplateCommentRequest **Properties** | Name | Type | Required | Description | | :------ | :----- | :------- | :----------------------- | | Comment | string | ✅ | Comment for the template | # Template **Properties** | Name | Type | Required | Description | | :-------------- | :------------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Id | string | ❌ | Unique identifier of the template | | Name | string | ❌ | Name of the template | | Comment | string | ❌ | Comment for the template | | Pages | long | ❌ | Total number of pages in the template | | LegalityLevel | EnvelopeLegalityLevel | ❌ | Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) | | CreatedAt | long | ❌ | Unix timestamp of the creation date | | UpdatedAt | long | ❌ | Unix timestamp of the last modification date | | ExpirationDelay | long | ❌ | Expiration delay added to the current time when an envelope is created from this template | | NumRecipients | long | ❌ | Number of recipients in the envelope | | SigningSteps | List\ | ❌ | | | Documents | List\ | ❌ | | | Notification | EnvelopeNotification | ❌ | | | DynamicFields | List\ | ❌ | List of dynamic fields | | Attachments | EnvelopeAttachments | ❌ | | # RecipientVerificationType Type of verification the recipient must complete before accessing the envelope. - `PASSCODE`: requires a code to be entered. - `SMS`: sends a code via SMS. - `ID_VERIFICATION`: prompts the recipient to complete an automated ID and selfie check. **Properties** | Name | Type | Required | Description | | :------------- | :----- | :------- | :----------------- | | Sms | string | ✅ | "SMS" | | Passcode | string | ✅ | "PASSCODE" | | IdVerification | string | ✅ | "ID\_VERIFICATION" | # AddEnvelopeSigningStepsRequest **Properties** | Name | Type | Required | Description | | :----------- | :----------------- | :------- | :-------------------- | | SigningSteps | List\ | ❌ | List of signing steps | # AnnotationFontFamily Font family of the text **Properties** | Name | Type | Required | Description | | :------ | :----- | :------- | :---------- | | Unknown | string | ✅ | "UNKNOWN" | | Serif | string | ✅ | "SERIF" | | Sans | string | ✅ | "SANS" | | Mono | string | ✅ | "MONO" | # AddTemplateSigningStepsRequest **Properties** | Name | Type | Required | Description | | :----------- | :------------------------- | :------- | :-------------------- | | SigningSteps | List\ | ✅ | List of signing steps | # SetEnvelopeCommentRequest **Properties** | Name | Type | Required | Description | | :------ | :----- | :------- | :----------------------- | | Comment | string | ✅ | Comment for the envelope | # TemplateOrderField Field to order templates by **Properties** | Name | Type | Required | Description | | :----------------------- | :----- | :------- | :----------------------------- | | TemplateId | string | ✅ | "TEMPLATE\_ID" | | TemplateCreationDate | string | ✅ | "TEMPLATE\_CREATION\_DATE" | | TemplateModificationDate | string | ✅ | "TEMPLATE\_MODIFICATION\_DATE" | | TemplateName | string | ✅ | "TEMPLATE\_NAME" | # EnvelopeOrderField Field to order envelopes by **Properties** | Name | Type | Required | Description | | :----------------- | :----- | :------- | :----------------------- | | CreationDate | string | ✅ | "CREATION\_DATE" | | ModificationDate | string | ✅ | "MODIFICATION\_DATE" | | Name | string | ✅ | "NAME" | | Status | string | ✅ | "STATUS" | | LastDocumentChange | string | ✅ | "LAST\_DOCUMENT\_CHANGE" | # AddEnvelopeDocumentRequest **Properties** | Name | Type | Required | Description | | :--- | :------ | :------- | :------------------------------ | | File | byte\[] | ❌ | File to upload in binary format | # ListWebhooksRequest **Properties** | Name | Type | Required | Description | | :-------- | :----------- | :------- | :------------------- | | WebhookId | string | ❌ | ID of the webhook | | Event\_ | WebhookEvent | ❌ | Event of the webhook | # SetEnvelopeLegalityLevelRequest **Properties** | Name | Type | Required | Description | | :------------ | :-------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | LegalityLevel | EnvelopeLegalityLevel | ❌ | Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) | # AttachmentPlaceholderFile **Properties** | Name | Type | Required | Description | | :------- | :----- | :------- | :------------------------ | | Id | string | ❌ | ID of the file | | Name | string | ❌ | Name of the file | | Size | long | ❌ | Size of the file in bytes | | Mimetype | string | ❌ | MIME type of the file | # SetEnvelopeExpirationRequest **Properties** | Name | Type | Required | Description | | :-------- | :--- | :------- | :------------------------------------ | | ExpiresAt | long | ✅ | Unix timestamp of the expiration date | # AnnotationText Text annotation (null if annotation is not a text) **Properties** | Name | Type | Required | Description | | :--------------- | :------------- | :------- | :--------------------------------- | | Size | double | ❌ | Font size of the text in pt | | Color | double | ❌ | Text color in 32bit representation | | Value | string | ❌ | Text content of the annotation | | Tooltip | string | ❌ | Tooltip of the annotation | | DynamicFieldName | string | ❌ | Name of the dynamic field | | Font | AnnotationFont | ❌ | | # AnnotationCheckbox Checkbox annotation (null if annotation is not a checkbox) **Properties** | Name | Type | Required | Description | | :-------- | :---------------------- | :------- | :------------------------------ | | Checked\_ | bool | ❌ | Whether the checkbox is checked | | Style | AnnotationCheckboxStyle | ❌ | Style of the checkbox | # Envelope **Properties** | Name | Type | Required | Description | | :------------ | :-------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Id | string | ❌ | Unique identifier of the envelope | | Name | string | ❌ | Name of the envelope | | Comment | string | ❌ | Comment for the envelope | | Pages | long | ❌ | Total number of pages in the envelope | | FlowType | EnvelopeFlowType | ❌ | Flow type of the envelope (REQUEST\_SIGNATURE is a request for signature, SIGN\_MYSELF is a self-signing flow) | | LegalityLevel | EnvelopeLegalityLevel | ❌ | Legal level of the envelope (SES is Simple Electronic Signature, QES\_EIDAS is Qualified Electronic Signature, QES\_ZERTES is Qualified Electronic Signature with Zertes) | | Status | EnvelopeStatus | ❌ | Status of the envelope | | CreatedAt | long | ❌ | Unix timestamp of the creation date | | UpdatedAt | long | ❌ | Unix timestamp of the last modification date | | ExpiresAt | long | ❌ | Unix timestamp of the expiration date | | NumRecipients | long | ❌ | Number of recipients in the envelope | | IsDuplicable | bool | ❌ | Whether the envelope can be duplicated | | SigningSteps | List\ | ❌ | | | Documents | List\ | ❌ | | | Notification | EnvelopeNotification | ❌ | | | Attachments | EnvelopeAttachments | ❌ | | # AddTemplateDocumentRequest **Properties** | Name | Type | Required | Description | | :--- | :------ | :------- | :------------------------------ | | File | byte\[] | ✅ | File to upload in binary format | # TemplateRecipient **Properties** | Name | Type | Required | Description | | :---- | :-------------------- | :------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Id | string | ❌ | Unique identifier of the recipient | | Uid | string | ❌ | Unique identifier of the user associated with the recipient | | Name | string | ❌ | Name of the recipient | | Email | string | ❌ | Email of the recipient | | Role | TemplateRecipientRole | ❌ | Role of the recipient (SIGNER signs the document, RECEIVES\_COPY receives a copy of the document, IN\_PERSON\_SIGNER signs the document in person, SENDER sends the document) | # AddAnnotationRequest **Properties** | Name | Type | Required | Description | | :---------- | :------------------ | :------- | :---------------------------------------------------------------------------------------------- | | DocumentId | string | ✅ | ID of the document | | Page | long | ✅ | Page number where the annotation is placed | | X | double | ✅ | X coordinate of the annotation (in % of the page width from 0 to 100) from the top left corner | | Y | double | ✅ | Y coordinate of the annotation (in % of the page height from 0 to 100) from the top left corner | | Width | double | ✅ | Width of the annotation (in % of the page width from 0 to 100) | | Height | double | ✅ | Height of the annotation (in % of the page height from 0 to 100) | | Type\_ | AnnotationType | ✅ | Type of the annotation | | RecipientId | string | ❌ | ID of the recipient | | Required | bool | ❌ | | | Signature | AnnotationSignature | ❌ | Signature annotation (null if annotation is not a signature) | | Initials | AnnotationInitials | ❌ | Initials annotation (null if annotation is not initials) | | Text | AnnotationText | ❌ | Text annotation (null if annotation is not a text) | | Datetime | AnnotationDateTime | ❌ | Date annotation (null if annotation is not a date) | | Checkbox | AnnotationCheckbox | ❌ | Checkbox annotation (null if annotation is not a checkbox) | # ListEnvelopeDocumentAnnotationsResponse **Properties** | Name | Type | Required | Description | | :---------- | :---------------- | :------- | :---------- | | Annotations | List\ | ❌ | | # EnvelopeStatus Status of the envelope **Properties** | Name | Type | Required | Description | | :--------- | :----- | :------- | :------------- | | Draft | string | ✅ | "DRAFT" | | InProgress | string | ✅ | "IN\_PROGRESS" | | Completed | string | ✅ | "COMPLETED" | | Expired | string | ✅ | "EXPIRED" | | Declined | string | ✅ | "DECLINED" | | Voided | string | ✅ | "VOIDED" | | Pending | string | ✅ | "PENDING" | # RecipientVerification **Properties** | Name | Type | Required | Description | | :----- | :------------------------ | :------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Type\_ | RecipientVerificationType | ❌ | Type of verification the recipient must complete before accessing the envelope. - `PASSCODE`: requires a code to be entered. - `SMS`: sends a code via SMS. - `ID_VERIFICATION`: prompts the recipient to complete an automated ID and selfie check. | | Value | string | ❌ | Required for `PASSCODE` and `SMS` verification. - `PASSCODE`: code required by the recipient to sign the document. - `SMS`: recipient's phone number. - `ID_VERIFICATION`: leave empty. | # AnnotationCheckboxStyle Style of the checkbox **Properties** | Name | Type | Required | Description | | :---------- | :----- | :------- | :-------------- | | CircleCheck | string | ✅ | "CIRCLE\_CHECK" | | CircleFull | string | ✅ | "CIRCLE\_FULL" | | SquareCheck | string | ✅ | "SQUARE\_CHECK" | | SquareFull | string | ✅ | "SQUARE\_FULL" | | CheckMark | string | ✅ | "CHECK\_MARK" | | TimesSquare | string | ✅ | "TIMES\_SQUARE" | # SigningStep **Properties** | Name | Type | Required | Description | | :--------- | :--------------- | :------- | :----------------- | | Recipients | List\ | ❌ | List of recipients | # AnnotationDateTime Date annotation (null if annotation is not a date) **Properties** | Name | Type | Required | Description | | :-------- | :----------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Size | double | ❌ | Font size of the text in pt | | Font | AnnotationFont | ❌ | | | Color | string | ❌ | Color of the text in hex format | | AutoFill | bool | ❌ | Whether the date should be automatically filled | | Timezone | string | ❌ | Timezone of the date | | Timestamp | long | ❌ | Unix timestamp of the date | | Format | AnnotationDateTimeFormat | ❌ | Format of the date time (DMY\_NUMERIC\_SLASH is day/month/year with slashes, MDY\_NUMERIC\_SLASH is month/day/year with slashes, YMD\_NUMERIC\_SLASH is year/month/day with slashes, DMY\_NUMERIC\_DASH\_SHORT is day/month/year with dashes, DMY\_NUMERIC\_DASH is day/month/year with dashes, YMD\_NUMERIC\_DASH is year/month/day with dashes, MDY\_TEXT\_DASH\_SHORT is month/day/year with dashes, MDY\_TEXT\_SPACE\_SHORT is month/day/year with spaces, MDY\_TEXT\_SPACE is month/day/year with spaces) | # AttachmentSettings **Properties** | Name | Type | Required | Description | | :------------------ | :--- | :------- | :-------------------------------------------------- | | VisibleToRecipients | bool | ❌ | Whether the attachment is visible to the recipients | # CreateTemplateRequest **Properties** | Name | Type | Required | Description | | :--- | :----- | :------- | :---------- | | Name | string | ✅ | | # ListTemplateDocumentsResponse **Properties** | Name | Type | Required | Description | | :-------- | :-------------- | :------- | :---------- | | Documents | List\ | ❌ | | # AnnotationInitials Initials annotation (null if annotation is not initials) **Properties** | Name | Type | Required | Description | | :--- | :----- | :------- | :------------------------------------------- | | Id | string | ❌ | Unique identifier of the annotation initials | # AnnotationFont **Properties** | Name | Type | Required | Description | | :----- | :------------------- | :------- | :------------------------- | | Family | AnnotationFontFamily | ❌ | Font family of the text | | Italic | bool | ❌ | Whether the text is italic | | Bold | bool | ❌ | Whether the text is bold | # AnnotationType Type of the annotation **Properties** | Name | Type | Required | Description | | :-------- | :----- | :------- | :---------- | | Text | string | ✅ | "TEXT" | | Signature | string | ✅ | "SIGNATURE" | | Initials | string | ✅ | "INITIALS" | | Checkbox | string | ✅ | "CHECKBOX" | | Date | string | ✅ | "DATE" | # Webhook **Properties** | Name | Type | Required | Description | | :------ | :----------- | :------- | :------------------------------- | | Id | string | ❌ | Unique identifier of the webhook | | Event\_ | WebhookEvent | ❌ | Event of the webhook | | Target | string | ❌ | Target URL of the webhook | # RenameTemplateRequest **Properties** | Name | Type | Required | Description | | :--- | :----- | :------- | :------------------- | | Name | string | ✅ | Name of the template | # ListTemplatesResponse **Properties** | Name | Type | Required | Description | | :-------------- | :-------------- | :------- | :------------------------------- | | HasNextPage | bool | ❌ | Whether there is a next page | | HasPreviousPage | bool | ❌ | Whether there is a previous page | | Templates | List\