A list of all methods in the SignplusService
service. Click on the method name to view detailed information about that method.
Create new envelope
- HTTP Method:
POST
- Endpoint:
/envelope
Parameters
Name | Type | Required | Description |
---|---|---|---|
input | CreateEnvelopeRequest | ✅ | The request body. |
Return Type
Envelope
Example Usage Code Snippet
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var input = new CreateEnvelopeRequest("name", EnvelopeLegalityLevel.Ses, 2, "comment", true);
var response = await client.Signplus.CreateEnvelopeAsync(input);
Console.WriteLine(response);
Create new envelope from template
- HTTP Method:
POST
- Endpoint:
/envelope/from_template/{template_id}
Parameters
Name | Type | Required | Description |
---|---|---|---|
input | CreateEnvelopeFromTemplateRequest | ✅ | The request body. |
templateId | string | ✅ |
Return Type
Envelope
Example Usage Code Snippet
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var input = new CreateEnvelopeFromTemplateRequest("name", "comment", true);
var response = await client.Signplus.CreateEnvelopeFromTemplateAsync(input, "template_id");
Console.WriteLine(response);
List envelopes
- HTTP Method:
POST
- Endpoint:
/envelopes
Parameters
Name | Type | Required | Description |
---|---|---|---|
input | ListEnvelopesRequest | ❌ | The request body. |
Return Type
ListEnvelopesResponse
Example Usage Code Snippet
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var tags = new List<string>() { "tags" };
var ids = new List<string>() { "ids" };
var statuses = new List<EnvelopeStatus>() { EnvelopeStatus.Draft };
var folderIds = new List<string>() { "folder_ids" };
var input = new ListEnvelopesRequest("name", tags, "comment", ids, statuses, folderIds, false, 5, 0, "uid", 10, 8, "after", "before", EnvelopeOrderField.CreationDate, false, true);
var response = await client.Signplus.ListEnvelopesAsync(input);
Console.WriteLine(response);
Get envelope
- HTTP Method:
GET
- Endpoint:
/envelope/{envelope_id}
Parameters
Name | Type | Required | Description |
---|---|---|---|
envelopeId | string | ✅ |
Return Type
Envelope
Example Usage Code Snippet
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var response = await client.Signplus.GetEnvelopeAsync("envelope_id");
Console.WriteLine(response);
Delete envelope
- HTTP Method:
DELETE
- Endpoint:
/envelope/{envelope_id}
Parameters
Name | Type | Required | Description |
---|---|---|---|
envelopeId | string | ✅ |
Example Usage Code Snippet
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
await client.Signplus.DeleteEnvelopeAsync("envelope_id");
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var response = await client.Signplus.GetEnvelopeDocumentAsync("envelope_id", "document_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var response = await client.Signplus.GetEnvelopeDocumentsAsync("envelope_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var input = new AddEnvelopeDocumentRequest(new byte[] {});
var response = await client.Signplus.AddEnvelopeDocumentAsync(input, "envelope_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var dynamicFieldsItem = new DynamicField("name", "value");
var dynamicFields = new List<DynamicField>() { dynamicFieldsItem };
var input = new SetEnvelopeDynamicFieldsRequest(dynamicFields);
var response = await client.Signplus.SetEnvelopeDynamicFieldsAsync(input, "envelope_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
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<Recipient>() { recipientsItem };
var signingStepsItem = new SigningStep(recipients);
var signingSteps = new List<SigningStep>() { signingStepsItem };
var input = new AddEnvelopeSigningStepsRequest(signingSteps);
var response = await client.Signplus.AddEnvelopeSigningStepsAsync(input, "envelope_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var response = await client.Signplus.SendEnvelopeAsync("envelope_id");
Console.WriteLine(response);
Duplicate envelope
- HTTP Method:
POST
- Endpoint:
/envelope/{envelope_id}/duplicate
Parameters
Name | Type | Required | Description |
---|---|---|---|
envelopeId | string | ✅ |
Return Type
Envelope
Example Usage Code Snippet
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var response = await client.Signplus.DuplicateEnvelopeAsync("envelope_id");
Console.WriteLine(response);
Void envelope
- HTTP Method:
PUT
- Endpoint:
/envelope/{envelope_id}/void
Parameters
Name | Type | Required | Description |
---|---|---|---|
envelopeId | string | ✅ |
Return Type
Envelope
Example Usage Code Snippet
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var response = await client.Signplus.VoidEnvelopeAsync("envelope_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var input = new RenameEnvelopeRequest("name");
var response = await client.Signplus.RenameEnvelopeAsync(input, "envelope_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var input = new SetEnvelopeCommentRequest("comment");
var response = await client.Signplus.SetEnvelopeCommentAsync(input, "envelope_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var input = new EnvelopeNotification("subject", "message", 10);
var response = await client.Signplus.SetEnvelopeNotificationAsync(input, "envelope_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var input = new SetEnvelopeExpirationRequest(0);
var response = await client.Signplus.SetEnvelopeExpirationDateAsync(input, "envelope_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var input = new SetEnvelopeLegalityLevelRequest(EnvelopeLegalityLevel.Ses);
var response = await client.Signplus.SetEnvelopeLegalityLevelAsync(input, "envelope_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var response = await client.Signplus.GetEnvelopeAnnotationsAsync("envelope_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var response = await client.Signplus.GetEnvelopeDocumentAnnotationsAsync("envelope_id", "document_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var signature = new AnnotationSignature("id");
var initials = new AnnotationInitials("id");
var font = new AnnotationFont(AnnotationFontFamily.Unknown, false, false);
var text = new AnnotationText(5.51, 3.68, "value", "tooltip", "dynamic_field_name", font);
var font = new AnnotationFont(AnnotationFontFamily.Unknown, false, false);
var datetime = new AnnotationDateTime(3.25, font, "color", true, "timezone", 0, AnnotationDateTimeFormat.DmyNumericSlash);
var checkbox = new AnnotationCheckbox(false, AnnotationCheckboxStyle.CircleCheck);
var input = new AddAnnotationRequest("document_id", 8, 1.18, 4.42, 7.23, 7.31, AnnotationType.Text, "recipient_id", true, signature, initials, text, datetime, checkbox);
var response = await client.Signplus.AddEnvelopeAnnotationAsync(input, "envelope_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
await client.Signplus.DeleteEnvelopeAnnotationAsync("envelope_id", "annotation_id");
Create new template
- HTTP Method:
POST
- Endpoint:
/template
Parameters
Name | Type | Required | Description |
---|---|---|---|
input | CreateTemplateRequest | ✅ | The request body. |
Return Type
Template
Example Usage Code Snippet
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var input = new CreateTemplateRequest("name");
var response = await client.Signplus.CreateTemplateAsync(input);
Console.WriteLine(response);
List templates
- HTTP Method:
POST
- Endpoint:
/templates
Parameters
Name | Type | Required | Description |
---|---|---|---|
input | ListTemplatesRequest | ❌ | The request body. |
Return Type
ListTemplatesResponse
Example Usage Code Snippet
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var tags = new List<string>() { "tags" };
var ids = new List<string>() { "ids" };
var input = new ListTemplatesRequest("name", tags, ids, 9, 4, "after", "before", TemplateOrderField.TemplateId, true);
var response = await client.Signplus.ListTemplatesAsync(input);
Console.WriteLine(response);
Get template
- HTTP Method:
GET
- Endpoint:
/template/{template_id}
Parameters
Name | Type | Required | Description |
---|---|---|---|
templateId | string | ✅ |
Return Type
Template
Example Usage Code Snippet
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var response = await client.Signplus.GetTemplateAsync("template_id");
Console.WriteLine(response);
Delete template
- HTTP Method:
DELETE
- Endpoint:
/template/{template_id}
Parameters
Name | Type | Required | Description |
---|---|---|---|
templateId | string | ✅ |
Example Usage Code Snippet
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
await client.Signplus.DeleteTemplateAsync("template_id");
Duplicate template
- HTTP Method:
POST
- Endpoint:
/template/{template_id}/duplicate
Parameters
Name | Type | Required | Description |
---|---|---|---|
templateId | string | ✅ |
Return Type
Template
Example Usage Code Snippet
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var response = await client.Signplus.DuplicateTemplateAsync("template_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var input = new AddTemplateDocumentRequest(new byte[] {});
var response = await client.Signplus.AddTemplateDocumentAsync(input, "template_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var response = await client.Signplus.GetTemplateDocumentAsync("template_id", "document_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var response = await client.Signplus.GetTemplateDocumentsAsync("template_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var recipientsItem = new TemplateRecipient("id", "uid", "name", "email", TemplateRecipientRole.Signer);
var recipients = new List<TemplateRecipient>() { recipientsItem };
var signingStepsItem = new TemplateSigningStep(recipients);
var signingSteps = new List<TemplateSigningStep>() { signingStepsItem };
var input = new AddTemplateSigningStepsRequest(signingSteps);
var response = await client.Signplus.AddTemplateSigningStepsAsync(input, "template_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var input = new RenameTemplateRequest("name");
var response = await client.Signplus.RenameTemplateAsync(input, "template_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var input = new SetTemplateCommentRequest("comment");
var response = await client.Signplus.SetTemplateCommentAsync(input, "template_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var input = new EnvelopeNotification("subject", "message", 10);
var response = await client.Signplus.SetTemplateNotificationAsync(input, "template_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var response = await client.Signplus.GetTemplateAnnotationsAsync("template_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var response = await client.Signplus.GetDocumentTemplateAnnotationsAsync("template_id", "document_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var signature = new AnnotationSignature("id");
var initials = new AnnotationInitials("id");
var font = new AnnotationFont(AnnotationFontFamily.Unknown, false, false);
var text = new AnnotationText(5.51, 3.68, "value", "tooltip", "dynamic_field_name", font);
var font = new AnnotationFont(AnnotationFontFamily.Unknown, false, false);
var datetime = new AnnotationDateTime(3.25, font, "color", true, "timezone", 0, AnnotationDateTimeFormat.DmyNumericSlash);
var checkbox = new AnnotationCheckbox(false, AnnotationCheckboxStyle.CircleCheck);
var input = new AddAnnotationRequest("document_id", 8, 1.18, 4.42, 7.23, 7.31, AnnotationType.Text, "recipient_id", true, signature, initials, text, datetime, checkbox);
var response = await client.Signplus.AddTemplateAnnotationAsync(input, "template_id");
Console.WriteLine(response);
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
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
await client.Signplus.DeleteTemplateAnnotationAsync("template_id", "annotation_id");
Create webhook
- HTTP Method:
POST
- Endpoint:
/webhook
Parameters
Name | Type | Required | Description |
---|---|---|---|
input | CreateWebhookRequest | ✅ | The request body. |
Return Type
Webhook
Example Usage Code Snippet
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var input = new CreateWebhookRequest(WebhookEvent.EnvelopeExpired, "target");
var response = await client.Signplus.CreateWebhookAsync(input);
Console.WriteLine(response);
List webhooks
- HTTP Method:
POST
- Endpoint:
/webhooks
Parameters
Name | Type | Required | Description |
---|---|---|---|
input | ListWebhooksRequest | ❌ | The request body. |
Return Type
ListWebhooksResponse
Example Usage Code Snippet
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Alohi.Signplus.Models;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
var input = new ListWebhooksRequest("webhook_id", WebhookEvent.EnvelopeExpired);
var response = await client.Signplus.ListWebhooksAsync(input);
Console.WriteLine(response);
Delete webhook
- HTTP Method:
DELETE
- Endpoint:
/webhook/{webhook_id}
Parameters
Name | Type | Required | Description |
---|---|---|---|
webhookId | string | ✅ |
Example Usage Code Snippet
using Alohi.Signplus;
using Alohi.Signplus.Config;
using Environment = Alohi.Signplus.Http.Environment;
var config = new SignplusConfig{
Environment = Environment.Default
};
var client = new SignplusClient(config);
await client.Signplus.DeleteWebhookAsync("webhook_id");