BoxLang 🚀 A New JVM Dynamic Language Learn More...

eversigncfc

v1.0.3 Modules

eversigncfc

A CFML wrapper for the Eversign API. Use it to create, send, and track legally binding e-signature documents.

Feel free to use the issue tracker to report bugs or suggest improvements!

Acknowledgements

This project borrows heavily from the API frameworks built by jcberquist. Thanks to John for all the inspiration!

Table of Contents

Quick Start

The following is a quick example of sending one-off documents for signatures with Eversign, using the create_document helper component.

eversign = new path.to.eversigncfc.eversign( access_key = 'xxx', business_id = xxx );

document = new path.to.eversigncfc.helpers.create_document();

document.sandbox()
  .title( "Testing a document!" )
  .message( "No reason to sign this." )
  .addFile( {
    "name" = "Example",
    "file_url" = "https://always-public-testing.s3.amazonaws.com/example.pdf"
  } )
  .addSigner( {
    "id" = 1,
    "name" = "Jo McSign",
    "email" = "[email protected]"
  } );

writeDump( var='#eversign.createDocument( document )#' );

Setup and Authentication

To get started with the Eversign API, you'll need an Access Key and Business ID.

Once you have these, you can provide them to this wrapper manually when creating the component, as in the Quick Start example above, or via environment variables named EVERSIGN_ACCESS_KEY and EVERSIGN_BUSINESS_ID, which will get picked up automatically. This latter approach is generally preferable, as it keeps hardcoded credentials out of your codebase.

Reference Manual

A full reference manual for all public methods in eversign.cfc can be found in the docs directory, here.

Reference Manual for helpers.create_document

The reference manual for all public methods in helpers/create_document.cfc can be found in the docs directory, in create_document.md.

Unless indicated, all methods are chainable. To better understand how these work, you'll want to read the documentation regarding the Create Document endpoint.

Reference Manual for helpers.use_template

The reference manual for all public methods in helpers/use_template.cfc can be found in the docs directory, in use_template.md.

Unless indicated, all methods are chainable. To better understand how these work, you'll want to read the documentation regarding the Use Template endpoint.


$ box install eversigncfc

No collaborators yet.
     
  • {{ getFullDate("2020-11-03T21:31:29Z") }}
  • {{ getFullDate("2020-11-23T20:09:21Z") }}
  • 3,050
  • 222