Skip to the content

DEVELOPERS · EMBEDDING

Embedding the signer

Put the signing form in your own page with one element. Your key stays on your server.

One-hour sessions · Allowed origins · React, Vue and Angular wrappers

<script type="module" src="https://docustay.app/embed/index.js"></script>
<docustay-sign url="…" height="720"></docustay-sign>

Four steps

From your server to the signer.

List the siteDevelopers → Embedding
Sendembedded: ["signer_1"]
SessionPOST …/embed-session
Show<docustay-sign url>

THE LINK WORKS FOR ONE HOUR; ASK AGAIN ON EACH PAGE LOAD.

FIG. 01 · AN EMBEDDED SIGNING

The element.

  • urlThe session address
  • heightPixels or any CSS length
  • auto-heightFollow the form's own height
  • titleAccessible name
FIG. 02 · ATTRIBUTES
  • readyThe form loaded
  • completedThe signer finished
  • declinedThe signer declined
  • errorThe link was refused
  • resizedetail.height changed
FIG. 03 · EVENTS

Questions

Quick answers.

Is anyone emailed for an embedded seat?

No. Nobody is emailed for seats you mark embedded.

Can I develop on localhost?

Yes. http://localhost:3000 is allowed while you build.

Which licences?

The React, Vue and Angular wrappers are MIT.

Embed a signer.

Create an API key