An electronic signature refers to a protected and legally binding online signature. A digital signature refers to a complicated method for authenticating a document. The terms 'eSignature API' and 'digital signature API' are sometimes used interchangeably, but they mean two different things.