A list of all methods in the SignplusService service. Click on the method name to view detailed information about that method.

MethodsDescription
createEnvelopeCreate new envelope
createEnvelopeFromTemplateCreate new envelope from template
listEnvelopesList envelopes
getEnvelopeGet envelope
deleteEnvelopeDelete envelope
getEnvelopeDocumentGet envelope document
getEnvelopeDocumentsGet envelope documents
addEnvelopeDocumentAdd envelope document
setEnvelopeDynamicFieldsSet envelope dynamic fields
addEnvelopeSigningStepsAdd envelope signing steps
sendEnvelopeSend envelope for signature
duplicateEnvelopeDuplicate envelope
voidEnvelopeVoid envelope
renameEnvelopeRename envelope
setEnvelopeCommentSet envelope comment
setEnvelopeNotificationSet envelope notification
setEnvelopeExpirationDateSet envelope expiration date
setEnvelopeLegalityLevelSet envelope legality level
getEnvelopeAnnotationsGet envelope annotations
getEnvelopeDocumentAnnotationsGet envelope document annotations
addEnvelopeAnnotationAdd envelope annotation
deleteEnvelopeAnnotationDelete envelope annotation
createTemplateCreate new template
listTemplatesList templates
getTemplateGet template
deleteTemplateDelete template
duplicateTemplateDuplicate template
addTemplateDocumentAdd template document
getTemplateDocumentGet template document
getTemplateDocumentsGet template documents
addTemplateSigningStepsAdd template signing steps
renameTemplateRename template
setTemplateCommentSet template comment
setTemplateNotificationSet template notification
getTemplateAnnotationsGet template annotations
getDocumentTemplateAnnotationsGet document template annotations
addTemplateAnnotationAdd template annotation
deleteTemplateAnnotationDelete template annotation
createWebhookCreate webhook
listWebhooksList webhooks
deleteWebhookDelete webhook

createEnvelope

Create new envelope

  • HTTP Method: POST
  • Endpoint: /envelope

Parameters

NameTypeRequiredDescription
bodyCreateEnvelopeRequestThe request body.

Return Type

Envelope

Example Usage Code Snippet

import { CreateEnvelopeRequest, EnvelopeLegalityLevel, Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const envelopeLegalityLevel = EnvelopeLegalityLevel.SES;

  const createEnvelopeRequest: CreateEnvelopeRequest = {
    name: 'name',
    legalityLevel: envelopeLegalityLevel,
    expiresAt: 1,
    comment: 'comment',
    sandbox: true,
  };

  const { data } = await signplus.signplus.createEnvelope(createEnvelopeRequest);

  console.log(data);
})();

createEnvelopeFromTemplate

Create new envelope from template

  • HTTP Method: POST
  • Endpoint: /envelope/from_template/{template_id}

Parameters

NameTypeRequiredDescription
bodyCreateEnvelopeFromTemplateRequestThe request body.
templateIdstring

Return Type

Envelope

Example Usage Code Snippet

import { CreateEnvelopeFromTemplateRequest, Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const createEnvelopeFromTemplateRequest: CreateEnvelopeFromTemplateRequest = {
    name: 'name',
    comment: 'comment',
    sandbox: true,
  };

  const { data } = await signplus.signplus.createEnvelopeFromTemplate('template_id', createEnvelopeFromTemplateRequest);

  console.log(data);
})();

listEnvelopes

List envelopes

  • HTTP Method: POST
  • Endpoint: /envelopes

Parameters

NameTypeRequiredDescription
bodyListEnvelopesRequestThe request body.

Return Type

ListEnvelopesResponse

Example Usage Code Snippet

import { EnvelopeOrderField, EnvelopeStatus, ListEnvelopesRequest, Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const envelopeStatus = EnvelopeStatus.DRAFT;

  const envelopeOrderField = EnvelopeOrderField.CREATION_DATE;

  const listEnvelopesRequest: ListEnvelopesRequest = {
    name: 'name',
    tags: ['tags'],
    comment: 'comment',
    ids: ['ids'],
    statuses: [envelopeStatus],
    folderIds: ['folder_ids'],
    onlyRootFolder: true,
    dateFrom: 6,
    dateTo: 5,
    uid: 'uid',
    first: 6,
    last: 5,
    after: 'after',
    before: 'before',
    orderField: envelopeOrderField,
    ascending: true,
    includeTrash: true,
  };

  const { data } = await signplus.signplus.listEnvelopes(listEnvelopesRequest);

  console.log(data);
})();

getEnvelope

Get envelope

  • HTTP Method: GET
  • Endpoint: /envelope/{envelope_id}

Parameters

NameTypeRequiredDescription
envelopeIdstring

Return Type

Envelope

Example Usage Code Snippet

import { Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const { data } = await signplus.signplus.getEnvelope('envelope_id');

  console.log(data);
})();

deleteEnvelope

Delete envelope

  • HTTP Method: DELETE
  • Endpoint: /envelope/{envelope_id}

Parameters

NameTypeRequiredDescription
envelopeIdstring

Example Usage Code Snippet

import { Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const { data } = await signplus.signplus.deleteEnvelope('envelope_id');

  console.log(data);
})();

getEnvelopeDocument

Get envelope document

  • HTTP Method: GET
  • Endpoint: /envelope/{envelope_id}/document/{document_id}

Parameters

NameTypeRequiredDescription
envelopeIdstring
documentIdstring

Return Type

Document

Example Usage Code Snippet

import { Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const { data } = await signplus.signplus.getEnvelopeDocument('envelope_id', 'document_id');

  console.log(data);
})();

getEnvelopeDocuments

Get envelope documents

  • HTTP Method: GET
  • Endpoint: /envelope/{envelope_id}/documents

Parameters

NameTypeRequiredDescription
envelopeIdstring

Return Type

ListEnvelopeDocumentsResponse

Example Usage Code Snippet

import { Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const { data } = await signplus.signplus.getEnvelopeDocuments('envelope_id');

  console.log(data);
})();

addEnvelopeDocument

Add envelope document

  • HTTP Method: POST
  • Endpoint: /envelope/{envelope_id}/document

Parameters

NameTypeRequiredDescription
bodyAddEnvelopeDocumentRequestThe request body.
envelopeIdstring

Return Type

Document

Example Usage Code Snippet

import { AddEnvelopeDocumentRequest, Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const addEnvelopeDocumentRequest: AddEnvelopeDocumentRequest = {
    file: new ArrayBuffer(0),
  };

  const { data } = await signplus.signplus.addEnvelopeDocument('envelope_id', addEnvelopeDocumentRequest);

  console.log(data);
})();

setEnvelopeDynamicFields

Set envelope dynamic fields

  • HTTP Method: PUT
  • Endpoint: /envelope/{envelope_id}/dynamic_fields

Parameters

NameTypeRequiredDescription
bodySetEnvelopeDynamicFieldsRequestThe request body.
envelopeIdstring

Return Type

Envelope

Example Usage Code Snippet

import { DynamicField, SetEnvelopeDynamicFieldsRequest, Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const dynamicField: DynamicField = {
    name: 'name',
    value: 'value',
  };

  const setEnvelopeDynamicFieldsRequest: SetEnvelopeDynamicFieldsRequest = {
    dynamicFields: [dynamicField],
  };

  const { data } = await signplus.signplus.setEnvelopeDynamicFields('envelope_id', setEnvelopeDynamicFieldsRequest);

  console.log(data);
})();

addEnvelopeSigningSteps

Add envelope signing steps

  • HTTP Method: POST
  • Endpoint: /envelope/{envelope_id}/signing_steps

Parameters

NameTypeRequiredDescription
bodyAddEnvelopeSigningStepsRequestThe request body.
envelopeIdstring

Return Type

Envelope

Example Usage Code Snippet

import { AddEnvelopeSigningStepsRequest, SigningStep, Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const recipientRole = RecipientRole.SIGNER;

  const recipientVerificationType = RecipientVerificationType.SMS;

  const recipientVerification: RecipientVerification = {
    type: recipientVerificationType,
    value: 'value',
  };

  const recipient: Recipient = {
    id: 'id',
    uid: 'uid',
    name: 'name',
    email: 'email',
    role: recipientRole,
    verification: recipientVerification,
  };

  const signingStep: SigningStep = {
    recipients: [recipient],
  };

  const addEnvelopeSigningStepsRequest: AddEnvelopeSigningStepsRequest = {
    signingSteps: [signingStep],
  };

  const { data } = await signplus.signplus.addEnvelopeSigningSteps('envelope_id', addEnvelopeSigningStepsRequest);

  console.log(data);
})();

sendEnvelope

Send envelope for signature

  • HTTP Method: POST
  • Endpoint: /envelope/{envelope_id}/send

Parameters

NameTypeRequiredDescription
envelopeIdstring

Return Type

Envelope

Example Usage Code Snippet

import { Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const { data } = await signplus.signplus.sendEnvelope('envelope_id');

  console.log(data);
})();

duplicateEnvelope

Duplicate envelope

  • HTTP Method: POST
  • Endpoint: /envelope/{envelope_id}/duplicate

Parameters

NameTypeRequiredDescription
envelopeIdstring

Return Type

Envelope

Example Usage Code Snippet

import { Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const { data } = await signplus.signplus.duplicateEnvelope('envelope_id');

  console.log(data);
})();

voidEnvelope

Void envelope

  • HTTP Method: PUT
  • Endpoint: /envelope/{envelope_id}/void

Parameters

NameTypeRequiredDescription
envelopeIdstring

Return Type

Envelope

Example Usage Code Snippet

import { Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const { data } = await signplus.signplus.voidEnvelope('envelope_id');

  console.log(data);
})();

renameEnvelope

Rename envelope

  • HTTP Method: PUT
  • Endpoint: /envelope/{envelope_id}/rename

Parameters

NameTypeRequiredDescription
bodyRenameEnvelopeRequestThe request body.
envelopeIdstring

Return Type

Envelope

Example Usage Code Snippet

import { RenameEnvelopeRequest, Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const renameEnvelopeRequest: RenameEnvelopeRequest = {
    name: 'name',
  };

  const { data } = await signplus.signplus.renameEnvelope('envelope_id', renameEnvelopeRequest);

  console.log(data);
})();

setEnvelopeComment

Set envelope comment

  • HTTP Method: PUT
  • Endpoint: /envelope/{envelope_id}/set_comment

Parameters

NameTypeRequiredDescription
bodySetEnvelopeCommentRequestThe request body.
envelopeIdstring

Return Type

Envelope

Example Usage Code Snippet

import { SetEnvelopeCommentRequest, Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const setEnvelopeCommentRequest: SetEnvelopeCommentRequest = {
    comment: 'comment',
  };

  const { data } = await signplus.signplus.setEnvelopeComment('envelope_id', setEnvelopeCommentRequest);

  console.log(data);
})();

setEnvelopeNotification

Set envelope notification

  • HTTP Method: PUT
  • Endpoint: /envelope/{envelope_id}/set_notification

Parameters

NameTypeRequiredDescription
bodyEnvelopeNotificationThe request body.
envelopeIdstring

Return Type

Envelope

Example Usage Code Snippet

import { EnvelopeNotification, Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const envelopeNotification: EnvelopeNotification = {
    subject: 'subject',
    message: 'message',
    reminderInterval: 10,
  };

  const { data } = await signplus.signplus.setEnvelopeNotification('envelope_id', envelopeNotification);

  console.log(data);
})();

setEnvelopeExpirationDate

Set envelope expiration date

  • HTTP Method: PUT
  • Endpoint: /envelope/{envelope_id}/set_expiration_date

Parameters

NameTypeRequiredDescription
bodySetEnvelopeExpirationRequestThe request body.
envelopeIdstring

Return Type

Envelope

Example Usage Code Snippet

import { SetEnvelopeExpirationRequest, Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const setEnvelopeExpirationRequest: SetEnvelopeExpirationRequest = {
    expiresAt: 5,
  };

  const { data } = await signplus.signplus.setEnvelopeExpirationDate('envelope_id', setEnvelopeExpirationRequest);

  console.log(data);
})();

setEnvelopeLegalityLevel

Set envelope legality level

  • HTTP Method: PUT
  • Endpoint: /envelope/{envelope_id}/set_legality_level

Parameters

NameTypeRequiredDescription
bodySetEnvelopeLegalityLevelRequestThe request body.
envelopeIdstring

Return Type

Envelope

Example Usage Code Snippet

import { EnvelopeLegalityLevel, SetEnvelopeLegalityLevelRequest, Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const envelopeLegalityLevel = EnvelopeLegalityLevel.SES;

  const setEnvelopeLegalityLevelRequest: SetEnvelopeLegalityLevelRequest = {
    legalityLevel: envelopeLegalityLevel,
  };

  const { data } = await signplus.signplus.setEnvelopeLegalityLevel('envelope_id', setEnvelopeLegalityLevelRequest);

  console.log(data);
})();

getEnvelopeAnnotations

Get envelope annotations

  • HTTP Method: GET
  • Endpoint: /envelope/{envelope_id}/annotations

Parameters

NameTypeRequiredDescription
envelopeIdstringID of the envelope

Return Type

Annotation[]

Example Usage Code Snippet

import { Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const { data } = await signplus.signplus.getEnvelopeAnnotations('envelope_id');

  console.log(data);
})();

getEnvelopeDocumentAnnotations

Get envelope document annotations

  • HTTP Method: GET
  • Endpoint: /envelope/{envelope_id}/annotations/{document_id}

Parameters

NameTypeRequiredDescription
envelopeIdstringID of the envelope
documentIdstringID of document

Return Type

ListEnvelopeDocumentAnnotationsResponse

Example Usage Code Snippet

import { Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const { data } = await signplus.signplus.getEnvelopeDocumentAnnotations('envelope_id', 'document_id');

  console.log(data);
})();

addEnvelopeAnnotation

Add envelope annotation

  • HTTP Method: POST
  • Endpoint: /envelope/{envelope_id}/annotation

Parameters

NameTypeRequiredDescription
bodyAddAnnotationRequestThe request body.
envelopeIdstringID of the envelope

Return Type

Annotation

Example Usage Code Snippet

import {
  AddAnnotationRequest,
  AnnotationCheckbox,
  AnnotationDateTime,
  AnnotationInitials,
  AnnotationSignature,
  AnnotationText,
  AnnotationType,
  Signplus,
} from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const annotationType = AnnotationType.TEXT;

  const annotationSignature: AnnotationSignature = {
    id: 'id',
  };

  const annotationInitials: AnnotationInitials = {
    id: 'id',
  };

  const annotationFontFamily = AnnotationFontFamily.UNKNOWN;

  const annotationFont: AnnotationFont = {
    family: annotationFontFamily,
    italic: true,
    bold: true,
  };

  const annotationText: AnnotationText = {
    size: 4.75,
    color: 6.85,
    value: 'value',
    tooltip: 'tooltip',
    dynamicFieldName: 'dynamic_field_name',
    font: annotationFont,
  };

  const annotationDateTimeFormat = AnnotationDateTimeFormat.DMY_NUMERIC_SLASH;

  const annotationDateTime: AnnotationDateTime = {
    size: 0.27,
    font: annotationFont,
    color: 'color',
    autoFill: true,
    timezone: 'timezone',
    timestamp: 8,
    format: annotationDateTimeFormat,
  };

  const annotationCheckboxStyle = AnnotationCheckboxStyle.CIRCLE_CHECK;

  const annotationCheckbox: AnnotationCheckbox = {
    checked: true,
    style: annotationCheckboxStyle,
  };

  const addAnnotationRequest: AddAnnotationRequest = {
    recipientId: 'recipient_id',
    documentId: 'document_id',
    page: 123,
    x: 6.35,
    y: 5.61,
    width: 2.3,
    height: 3.29,
    required: true,
    type: annotationType,
    signature: annotationSignature,
    initials: annotationInitials,
    text: annotationText,
    datetime: annotationDateTime,
    checkbox: annotationCheckbox,
  };

  const { data } = await signplus.signplus.addEnvelopeAnnotation('envelope_id', addAnnotationRequest);

  console.log(data);
})();

deleteEnvelopeAnnotation

Delete envelope annotation

  • HTTP Method: DELETE
  • Endpoint: /envelope/{envelope_id}/annotation/{annotation_id}

Parameters

NameTypeRequiredDescription
envelopeIdstringID of the envelope
annotationIdstringID of the annotation to delete

Example Usage Code Snippet

import { Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const { data } = await signplus.signplus.deleteEnvelopeAnnotation('envelope_id', 'annotation_id');

  console.log(data);
})();

createTemplate

Create new template

  • HTTP Method: POST
  • Endpoint: /template

Parameters

NameTypeRequiredDescription
bodyCreateTemplateRequestThe request body.

Return Type

Template

Example Usage Code Snippet

import { CreateTemplateRequest, Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const createTemplateRequest: CreateTemplateRequest = {
    name: 'name',
  };

  const { data } = await signplus.signplus.createTemplate(createTemplateRequest);

  console.log(data);
})();

listTemplates

List templates

  • HTTP Method: POST
  • Endpoint: /templates

Parameters

NameTypeRequiredDescription
bodyListTemplatesRequestThe request body.

Return Type

ListTemplatesResponse

Example Usage Code Snippet

import { ListTemplatesRequest, Signplus, TemplateOrderField } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const templateOrderField = TemplateOrderField.TEMPLATE_ID;

  const listTemplatesRequest: ListTemplatesRequest = {
    name: 'name',
    tags: ['tags'],
    ids: ['ids'],
    first: 8,
    last: 8,
    after: 'after',
    before: 'before',
    orderField: templateOrderField,
    ascending: true,
  };

  const { data } = await signplus.signplus.listTemplates(listTemplatesRequest);

  console.log(data);
})();

getTemplate

Get template

  • HTTP Method: GET
  • Endpoint: /template/{template_id}

Parameters

NameTypeRequiredDescription
templateIdstring

Return Type

Template

Example Usage Code Snippet

import { Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const { data } = await signplus.signplus.getTemplate('template_id');

  console.log(data);
})();

deleteTemplate

Delete template

  • HTTP Method: DELETE
  • Endpoint: /template/{template_id}

Parameters

NameTypeRequiredDescription
templateIdstring

Example Usage Code Snippet

import { Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const { data } = await signplus.signplus.deleteTemplate('template_id');

  console.log(data);
})();

duplicateTemplate

Duplicate template

  • HTTP Method: POST
  • Endpoint: /template/{template_id}/duplicate

Parameters

NameTypeRequiredDescription
templateIdstring

Return Type

Template

Example Usage Code Snippet

import { Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const { data } = await signplus.signplus.duplicateTemplate('template_id');

  console.log(data);
})();

addTemplateDocument

Add template document

  • HTTP Method: POST
  • Endpoint: /template/{template_id}/document

Parameters

NameTypeRequiredDescription
bodyAddTemplateDocumentRequestThe request body.
templateIdstring

Return Type

Document

Example Usage Code Snippet

import { AddTemplateDocumentRequest, Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const addTemplateDocumentRequest: AddTemplateDocumentRequest = {
    file: new ArrayBuffer(0),
  };

  const { data } = await signplus.signplus.addTemplateDocument('template_id', addTemplateDocumentRequest);

  console.log(data);
})();

getTemplateDocument

Get template document

  • HTTP Method: GET
  • Endpoint: /template/{template_id}/document/{document_id}

Parameters

NameTypeRequiredDescription
templateIdstring
documentIdstring

Return Type

Document

Example Usage Code Snippet

import { Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const { data } = await signplus.signplus.getTemplateDocument('template_id', 'document_id');

  console.log(data);
})();

getTemplateDocuments

Get template documents

  • HTTP Method: GET
  • Endpoint: /template/{template_id}/documents

Parameters

NameTypeRequiredDescription
templateIdstring

Return Type

ListTemplateDocumentsResponse

Example Usage Code Snippet

import { Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const { data } = await signplus.signplus.getTemplateDocuments('template_id');

  console.log(data);
})();

addTemplateSigningSteps

Add template signing steps

  • HTTP Method: POST
  • Endpoint: /template/{template_id}/signing_steps

Parameters

NameTypeRequiredDescription
bodyAddTemplateSigningStepsRequestThe request body.
templateIdstring

Return Type

Template

Example Usage Code Snippet

import { AddTemplateSigningStepsRequest, Signplus, TemplateSigningStep } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const templateRecipientRole = TemplateRecipientRole.SIGNER;

  const templateRecipient: TemplateRecipient = {
    id: 'id',
    uid: 'uid',
    name: 'name',
    email: 'email',
    role: templateRecipientRole,
  };

  const templateSigningStep: TemplateSigningStep = {
    recipients: [templateRecipient],
  };

  const addTemplateSigningStepsRequest: AddTemplateSigningStepsRequest = {
    signingSteps: [templateSigningStep],
  };

  const { data } = await signplus.signplus.addTemplateSigningSteps('template_id', addTemplateSigningStepsRequest);

  console.log(data);
})();

renameTemplate

Rename template

  • HTTP Method: PUT
  • Endpoint: /template/{template_id}/rename

Parameters

NameTypeRequiredDescription
bodyRenameTemplateRequestThe request body.
templateIdstring

Return Type

Template

Example Usage Code Snippet

import { RenameTemplateRequest, Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const renameTemplateRequest: RenameTemplateRequest = {
    name: 'name',
  };

  const { data } = await signplus.signplus.renameTemplate('template_id', renameTemplateRequest);

  console.log(data);
})();

setTemplateComment

Set template comment

  • HTTP Method: PUT
  • Endpoint: /template/{template_id}/set_comment

Parameters

NameTypeRequiredDescription
bodySetTemplateCommentRequestThe request body.
templateIdstring

Return Type

Template

Example Usage Code Snippet

import { SetTemplateCommentRequest, Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const setTemplateCommentRequest: SetTemplateCommentRequest = {
    comment: 'comment',
  };

  const { data } = await signplus.signplus.setTemplateComment('template_id', setTemplateCommentRequest);

  console.log(data);
})();

setTemplateNotification

Set template notification

  • HTTP Method: PUT
  • Endpoint: /template/{template_id}/set_notification

Parameters

NameTypeRequiredDescription
bodyEnvelopeNotificationThe request body.
templateIdstring

Return Type

Template

Example Usage Code Snippet

import { EnvelopeNotification, Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const envelopeNotification: EnvelopeNotification = {
    subject: 'subject',
    message: 'message',
    reminderInterval: 10,
  };

  const { data } = await signplus.signplus.setTemplateNotification('template_id', envelopeNotification);

  console.log(data);
})();

getTemplateAnnotations

Get template annotations

  • HTTP Method: GET
  • Endpoint: /template/{template_id}/annotations

Parameters

NameTypeRequiredDescription
templateIdstringID of the template

Return Type

ListTemplateAnnotationsResponse

Example Usage Code Snippet

import { Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const { data } = await signplus.signplus.getTemplateAnnotations('template_id');

  console.log(data);
})();

getDocumentTemplateAnnotations

Get document template annotations

  • HTTP Method: GET
  • Endpoint: /template/{template_id}/annotations/{document_id}

Parameters

NameTypeRequiredDescription
templateIdstringID of the template
documentIdstringID of document

Return Type

ListTemplateDocumentAnnotationsResponse

Example Usage Code Snippet

import { Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const { data } = await signplus.signplus.getDocumentTemplateAnnotations('template_id', 'document_id');

  console.log(data);
})();

addTemplateAnnotation

Add template annotation

  • HTTP Method: POST
  • Endpoint: /template/{template_id}/annotation

Parameters

NameTypeRequiredDescription
bodyAddAnnotationRequestThe request body.
templateIdstringID of the template

Return Type

Annotation

Example Usage Code Snippet

import {
  AddAnnotationRequest,
  AnnotationCheckbox,
  AnnotationDateTime,
  AnnotationInitials,
  AnnotationSignature,
  AnnotationText,
  AnnotationType,
  Signplus,
} from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const annotationType = AnnotationType.TEXT;

  const annotationSignature: AnnotationSignature = {
    id: 'id',
  };

  const annotationInitials: AnnotationInitials = {
    id: 'id',
  };

  const annotationFontFamily = AnnotationFontFamily.UNKNOWN;

  const annotationFont: AnnotationFont = {
    family: annotationFontFamily,
    italic: true,
    bold: true,
  };

  const annotationText: AnnotationText = {
    size: 4.75,
    color: 6.85,
    value: 'value',
    tooltip: 'tooltip',
    dynamicFieldName: 'dynamic_field_name',
    font: annotationFont,
  };

  const annotationDateTimeFormat = AnnotationDateTimeFormat.DMY_NUMERIC_SLASH;

  const annotationDateTime: AnnotationDateTime = {
    size: 0.27,
    font: annotationFont,
    color: 'color',
    autoFill: true,
    timezone: 'timezone',
    timestamp: 8,
    format: annotationDateTimeFormat,
  };

  const annotationCheckboxStyle = AnnotationCheckboxStyle.CIRCLE_CHECK;

  const annotationCheckbox: AnnotationCheckbox = {
    checked: true,
    style: annotationCheckboxStyle,
  };

  const addAnnotationRequest: AddAnnotationRequest = {
    recipientId: 'recipient_id',
    documentId: 'document_id',
    page: 123,
    x: 6.35,
    y: 5.61,
    width: 2.3,
    height: 3.29,
    required: true,
    type: annotationType,
    signature: annotationSignature,
    initials: annotationInitials,
    text: annotationText,
    datetime: annotationDateTime,
    checkbox: annotationCheckbox,
  };

  const { data } = await signplus.signplus.addTemplateAnnotation('template_id', addAnnotationRequest);

  console.log(data);
})();

deleteTemplateAnnotation

Delete template annotation

  • HTTP Method: DELETE
  • Endpoint: /template/{template_id}/annotation/{annotation_id}

Parameters

NameTypeRequiredDescription
templateIdstringID of the template
annotationIdstringID of the annotation to delete

Example Usage Code Snippet

import { Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const { data } = await signplus.signplus.deleteTemplateAnnotation('template_id', 'annotation_id');

  console.log(data);
})();

createWebhook

Create webhook

  • HTTP Method: POST
  • Endpoint: /webhook

Parameters

NameTypeRequiredDescription
bodyCreateWebhookRequestThe request body.

Return Type

Webhook

Example Usage Code Snippet

import { CreateWebhookRequest, Signplus, WebhookEvent } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const webhookEvent = WebhookEvent.ENVELOPE_EXPIRED;

  const createWebhookRequest: CreateWebhookRequest = {
    event: webhookEvent,
    target: 'target',
  };

  const { data } = await signplus.signplus.createWebhook(createWebhookRequest);

  console.log(data);
})();

listWebhooks

List webhooks

  • HTTP Method: POST
  • Endpoint: /webhooks

Parameters

NameTypeRequiredDescription
bodyListWebhooksRequestThe request body.

Return Type

ListWebhooksResponse

Example Usage Code Snippet

import { ListWebhooksRequest, Signplus, WebhookEvent } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const webhookEvent = WebhookEvent.ENVELOPE_EXPIRED;

  const listWebhooksRequest: ListWebhooksRequest = {
    webhookId: 'webhook_id',
    event: webhookEvent,
  };

  const { data } = await signplus.signplus.listWebhooks(listWebhooksRequest);

  console.log(data);
})();

deleteWebhook

Delete webhook

  • HTTP Method: DELETE
  • Endpoint: /webhook/{webhook_id}

Parameters

NameTypeRequiredDescription
webhookIdstring

Example Usage Code Snippet

import { Signplus } from '@alohi/signplus-typescript';

(async () => {
  const signplus = new Signplus({
    token: 'YOUR_TOKEN',
  });

  const { data } = await signplus.signplus.deleteWebhook('webhook_id');

  console.log(data);
})();

Models

Document

Properties

NameTypeRequiredDescription
idstringUnique identifier of the document
namestringName of the document
filenamestringFilename of the document
pageCountnumberNumber of pages in the document
pagesPage[]List of pages in the document

CreateEnvelopeRequest

Properties

NameTypeRequiredDescription
namestringName of the envelope
legalityLevelEnvelopeLegalityLevelLegal level of the envelope (SES is Simple Electronic Signature, QES_EIDAS is Qualified Electronic Signature, QES_ZERTES is Qualified Electronic Signature with Zertes)
expiresAtnumberUnix timestamp of the expiration date
commentstringComment for the envelope
sandboxbooleanWhether the envelope is created in sandbox mode

ListEnvelopesRequest

Properties

NameTypeRequiredDescription
namestringName of the envelope
tagsstring[]List of tags
commentstringComment of the envelope
idsstring[]List of envelope IDs
statusesEnvelopeStatus[]List of envelope statuses
folderIdsstring[]List of folder IDs
onlyRootFolderbooleanWhether to only list envelopes in the root folder
dateFromnumberUnix timestamp of the start date
dateTonumberUnix timestamp of the end date
uidstringUnique identifier of the user
firstnumber
lastnumber
afterstring
beforestring
orderFieldEnvelopeOrderFieldField to order envelopes by
ascendingbooleanWhether to order envelopes in ascending order
includeTrashbooleanWhether to include envelopes in the trash

EnvelopeNotification

Properties

NameTypeRequiredDescription
subjectstringSubject of the notification
messagestringMessage of the notification
reminderIntervalnumberInterval in days to send reminder

ListTemplatesRequest

Properties

NameTypeRequiredDescription
namestringName of the template
tagsstring[]List of tag templates
idsstring[]List of templates IDs
firstnumber
lastnumber
afterstring
beforestring
orderFieldTemplateOrderFieldField to order templates by
ascendingbooleanWhether to order templates in ascending order

SetTemplateCommentRequest

Properties

NameTypeRequiredDescription
commentstringComment for the template

Template

Properties

NameTypeRequiredDescription
idstringUnique identifier of the template
namestringName of the template
commentstringComment for the template
pagesnumberTotal number of pages in the template
legalityLevelEnvelopeLegalityLevelLegal level of the envelope (SES is Simple Electronic Signature, QES_EIDAS is Qualified Electronic Signature, QES_ZERTES is Qualified Electronic Signature with Zertes)
createdAtnumberUnix timestamp of the creation date
updatedAtnumberUnix timestamp of the last modification date
expirationDelaynumberExpiration delay added to the current time when an envelope is created from this template
numRecipientsnumberNumber of recipients in the envelope
signingStepsTemplateSigningStep[]
documentsDocument[]
notificationEnvelopeNotification
dynamicFieldsstring[]List of dynamic fields

RecipientVerificationType

Type of signature verification (SMS sends a code via SMS, PASSCODE requires a code to be entered)

Properties

NameTypeRequiredDescription
SMSstring“SMS”
PASSCODEstring“PASSCODE”

AddEnvelopeSigningStepsRequest

Properties

NameTypeRequiredDescription
signingStepsSigningStep[]List of signing steps

AnnotationFontFamily

Font family of the text

Properties

NameTypeRequiredDescription
UNKNOWNstring“UNKNOWN”
SERIFstring“SERIF”
SANSstring“SANS”
MONOstring“MONO”

AddTemplateSigningStepsRequest

Properties

NameTypeRequiredDescription
signingStepsTemplateSigningStep[]List of signing steps

SetEnvelopeCommentRequest

Properties

NameTypeRequiredDescription
commentstringComment for the envelope

TemplateOrderField

Field to order templates by

Properties

NameTypeRequiredDescription
TEMPLATE_IDstring“TEMPLATE_ID”
TEMPLATE_CREATION_DATEstring“TEMPLATE_CREATION_DATE”
TEMPLATE_MODIFICATION_DATEstring“TEMPLATE_MODIFICATION_DATE”
TEMPLATE_NAMEstring“TEMPLATE_NAME”

EnvelopeOrderField

Field to order envelopes by

Properties

NameTypeRequiredDescription
CREATION_DATEstring“CREATION_DATE”
MODIFICATION_DATEstring“MODIFICATION_DATE”
NAMEstring“NAME”
STATUSstring“STATUS”
LAST_DOCUMENT_CHANGEstring“LAST_DOCUMENT_CHANGE”

AddEnvelopeDocumentRequest

Properties

NameTypeRequiredDescription
fileArrayBufferFile to upload in binary format

ListWebhooksRequest

Properties

NameTypeRequiredDescription
webhookIdstringID of the webhook
eventWebhookEventEvent of the webhook

SetEnvelopeLegalityLevelRequest

Properties

NameTypeRequiredDescription
legalityLevelEnvelopeLegalityLevelLegal level of the envelope (SES is Simple Electronic Signature, QES_EIDAS is Qualified Electronic Signature, QES_ZERTES is Qualified Electronic Signature with Zertes)

SetEnvelopeExpirationRequest

Properties

NameTypeRequiredDescription
expiresAtnumberUnix timestamp of the expiration date

AnnotationText

Text annotation (null if annotation is not a text)

Properties

NameTypeRequiredDescription
sizenumberFont size of the text in pt
colornumberText color in 32bit representation
valuestringText content of the annotation
tooltipstringTooltip of the annotation
dynamicFieldNamestringName of the dynamic field
fontAnnotationFont

AnnotationCheckbox

Checkbox annotation (null if annotation is not a checkbox)

Properties

NameTypeRequiredDescription
checkedbooleanWhether the checkbox is checked
styleAnnotationCheckboxStyleStyle of the checkbox

Envelope

Properties

NameTypeRequiredDescription
idstringUnique identifier of the envelope
namestringName of the envelope
commentstringComment for the envelope
pagesnumberTotal number of pages in the envelope
flowTypeEnvelopeFlowTypeFlow type of the envelope (REQUEST_SIGNATURE is a request for signature, SIGN_MYSELF is a self-signing flow)
legalityLevelEnvelopeLegalityLevelLegal level of the envelope (SES is Simple Electronic Signature, QES_EIDAS is Qualified Electronic Signature, QES_ZERTES is Qualified Electronic Signature with Zertes)
statusEnvelopeStatusStatus of the envelope
createdAtnumberUnix timestamp of the creation date
updatedAtnumberUnix timestamp of the last modification date
expiresAtnumberUnix timestamp of the expiration date
numRecipientsnumberNumber of recipients in the envelope
isDuplicablebooleanWhether the envelope can be duplicated
signingStepsSigningStep[]
documentsDocument[]
notificationEnvelopeNotification

AddTemplateDocumentRequest

Properties

NameTypeRequiredDescription
fileArrayBufferFile to upload in binary format

TemplateRecipient

Properties

NameTypeRequiredDescription
idstringUnique identifier of the recipient
uidstringUnique identifier of the user associated with the recipient
namestringName of the recipient
emailstringEmail of the recipient
roleTemplateRecipientRoleRole 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

NameTypeRequiredDescription
documentIdstringID of the document
pagenumberPage number where the annotation is placed
xnumberX coordinate of the annotation (in % of the page width from 0 to 100) from the top left corner
ynumberY coordinate of the annotation (in % of the page height from 0 to 100) from the top left corner
widthnumberWidth of the annotation (in % of the page width from 0 to 100)
heightnumberHeight of the annotation (in % of the page height from 0 to 100)
typeAnnotationTypeType of the annotation
recipientIdstringID of the recipient
requiredboolean
signatureAnnotationSignatureSignature annotation (null if annotation is not a signature)
initialsAnnotationInitialsInitials annotation (null if annotation is not initials)
textAnnotationTextText annotation (null if annotation is not a text)
datetimeAnnotationDateTimeDate annotation (null if annotation is not a date)
checkboxAnnotationCheckboxCheckbox annotation (null if annotation is not a checkbox)

ListEnvelopeDocumentAnnotationsResponse

Properties

NameTypeRequiredDescription
annotationsAnnotation[]

EnvelopeStatus

Status of the envelope

Properties

NameTypeRequiredDescription
DRAFTstring“DRAFT”
IN_PROGRESSstring“IN_PROGRESS”
COMPLETEDstring“COMPLETED”
EXPIREDstring“EXPIRED”
DECLINEDstring“DECLINED”
VOIDEDstring“VOIDED”
PENDINGstring“PENDING”

RecipientVerification

Properties

NameTypeRequiredDescription
typeRecipientVerificationTypeType of signature verification (SMS sends a code via SMS, PASSCODE requires a code to be entered)
valuestring

AnnotationCheckboxStyle

Style of the checkbox

Properties

NameTypeRequiredDescription
CIRCLE_CHECKstring“CIRCLE_CHECK”
CIRCLE_FULLstring“CIRCLE_FULL”
SQUARE_CHECKstring“SQUARE_CHECK”
SQUARE_FULLstring“SQUARE_FULL”
CHECK_MARKstring“CHECK_MARK”
TIMES_SQUAREstring“TIMES_SQUARE”

SigningStep

Properties

NameTypeRequiredDescription
recipientsRecipient[]List of recipients

AnnotationDateTime

Date annotation (null if annotation is not a date)

Properties

NameTypeRequiredDescription
sizenumberFont size of the text in pt
fontAnnotationFont
colorstringColor of the text in hex format
autoFillbooleanWhether the date should be automatically filled
timezonestringTimezone of the date
timestampnumberUnix timestamp of the date
formatAnnotationDateTimeFormatFormat 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)

CreateTemplateRequest

Properties

NameTypeRequiredDescription
namestring

ListTemplateDocumentsResponse

Properties

NameTypeRequiredDescription
documentsDocument[]

AnnotationInitials

Initials annotation (null if annotation is not initials)

Properties

NameTypeRequiredDescription
idstringUnique identifier of the annotation initials

AnnotationFont

Properties

NameTypeRequiredDescription
familyAnnotationFontFamilyFont family of the text
italicbooleanWhether the text is italic
boldbooleanWhether the text is bold

AnnotationType

Type of the annotation

Properties

NameTypeRequiredDescription
TEXTstring“TEXT”
SIGNATUREstring“SIGNATURE”
INITIALSstring“INITIALS”
CHECKBOXstring“CHECKBOX”
DATEstring“DATE”

Webhook

Properties

NameTypeRequiredDescription
idstringUnique identifier of the webhook
eventWebhookEventEvent of the webhook
targetstringTarget URL of the webhook

RenameTemplateRequest

Properties

NameTypeRequiredDescription
namestringName of the template

ListTemplatesResponse

Properties

NameTypeRequiredDescription
hasNextPagebooleanWhether there is a next page
hasPreviousPagebooleanWhether there is a previous page
templatesTemplate[]

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

NameTypeRequiredDescription
SIGNERstring“SIGNER”
RECEIVES_COPYstring“RECEIVES_COPY”
IN_PERSON_SIGNERstring“IN_PERSON_SIGNER”

Annotation

Properties

NameTypeRequiredDescription
idstringUnique identifier of the annotation
recipientIdstringID of the recipient
documentIdstringID of the document
pagenumberPage number where the annotation is placed
xnumberX coordinate of the annotation (in % of the page width from 0 to 100) from the top left corner
ynumberY coordinate of the annotation (in % of the page height from 0 to 100) from the top left corner
widthnumberWidth of the annotation (in % of the page width from 0 to 100)
heightnumberHeight of the annotation (in % of the page height from 0 to 100)
requiredbooleanWhether the annotation is required
typeAnnotationTypeType of the annotation
signatureAnnotationSignatureSignature annotation (null if annotation is not a signature)
initialsAnnotationInitialsInitials annotation (null if annotation is not initials)
textAnnotationTextText annotation (null if annotation is not a text)
datetimeAnnotationDateTimeDate annotation (null if annotation is not a date)
checkboxAnnotationCheckboxCheckbox annotation (null if annotation is not a checkbox)

DynamicField

Properties

NameTypeRequiredDescription
namestringName of the dynamic field
valuestringValue 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

NameTypeRequiredDescription
DMY_NUMERIC_SLASHstring“DMY_NUMERIC_SLASH”
MDY_NUMERIC_SLASHstring“MDY_NUMERIC_SLASH”
YMD_NUMERIC_SLASHstring“YMD_NUMERIC_SLASH”
DMY_NUMERIC_DASH_SHORTstring“DMY_NUMERIC_DASH_SHORT”
DMY_NUMERIC_DASHstring“DMY_NUMERIC_DASH”
YMD_NUMERIC_DASHstring“YMD_NUMERIC_DASH”
MDY_TEXT_DASH_SHORTstring“MDY_TEXT_DASH_SHORT”
MDY_TEXT_SPACE_SHORTstring“MDY_TEXT_SPACE_SHORT”
MDY_TEXT_SPACEstring“MDY_TEXT_SPACE”

EnvelopeFlowType

Flow type of the envelope (REQUEST_SIGNATURE is a request for signature, SIGN_MYSELF is a self-signing flow)

Properties

NameTypeRequiredDescription
REQUEST_SIGNATUREstring“REQUEST_SIGNATURE”
SIGN_MYSELFstring“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

NameTypeRequiredDescription
SESstring“SES”
QES_EIDASstring“QES_EIDAS”
QES_ZERTESstring“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

NameTypeRequiredDescription
SIGNERstring“SIGNER”
RECEIVES_COPYstring“RECEIVES_COPY”
IN_PERSON_SIGNERstring“IN_PERSON_SIGNER”

SetEnvelopeDynamicFieldsRequest

Properties

NameTypeRequiredDescription
dynamicFieldsDynamicField[]List of dynamic fields

Page

Properties

NameTypeRequiredDescription
widthnumberWidth of the page in pixels
heightnumberHeight of the page in pixels

TemplateSigningStep

Properties

NameTypeRequiredDescription
recipientsTemplateRecipient[]List of recipients

ListEnvelopesResponse

Properties

NameTypeRequiredDescription
hasNextPagebooleanWhether there is a next page
hasPreviousPagebooleanWhether there is a previous page
envelopesEnvelope[]

Recipient

Properties

NameTypeRequiredDescription
namestringName of the recipient
emailstringEmail of the recipient
roleRecipientRoleRole 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)
idstringUnique identifier of the recipient
uidstringUnique identifier of the user associated with the recipient
verificationRecipientVerification

WebhookEvent

Event of the webhook

Properties

NameTypeRequiredDescription
ENVELOPE_EXPIREDstring“ENVELOPE_EXPIRED”
ENVELOPE_DECLINEDstring“ENVELOPE_DECLINED”
ENVELOPE_VOIDEDstring“ENVELOPE_VOIDED”
ENVELOPE_COMPLETEDstring“ENVELOPE_COMPLETED”
ENVELOPE_AUDIT_TRAILstring“ENVELOPE_AUDIT_TRAIL”

CreateWebhookRequest

Properties

NameTypeRequiredDescription
eventWebhookEventEvent of the webhook
targetstringURL of the webhook target

CreateEnvelopeFromTemplateRequest

Properties

NameTypeRequiredDescription
namestringName of the envelope
commentstringComment for the envelope
sandboxbooleanWhether the envelope is created in sandbox mode

ListTemplateAnnotationsResponse

Properties

NameTypeRequiredDescription
annotationsAnnotation[]

RenameEnvelopeRequest

Properties

NameTypeRequiredDescription
namestringName of the envelope

ListTemplateDocumentAnnotationsResponse

Properties

NameTypeRequiredDescription
annotationsAnnotation[]

ListEnvelopeDocumentsResponse

Properties

NameTypeRequiredDescription
documentsDocument[]

ListWebhooksResponse

Properties

NameTypeRequiredDescription
webhooksWebhook[]

AnnotationSignature

Signature annotation (null if annotation is not a signature)

Properties

NameTypeRequiredDescription
idstringUnique identifier of the annotation signature