All articles

Embedded Signing: How to Embed eSignature in Your App

Embedded signing means your user signs a document inside your own app, instead of following a link in an email from a signing service. With GoodSign it takes one API call: you send the document with email_external switched on, get a signing link back for each signer, and load that link in an iframe. Each document costs $1.50 and there is no developer plan.

This guide covers what embedded signing is, the four steps to build it, the one iframe mistake that breaks signing on iPhones, and what it costs next to DocuSign and Dropbox Sign.

What is embedded signing?

In the usual flow (sometimes called remote signing), the signing service emails each signer a link. The signer leaves whatever they were doing, opens the email and signs on the service's website.

In embedded signing, your app asks for the signing link directly and shows it to the user in place: in a client portal, at the end of an onboarding form, or on a checkout page. No email is sent unless you send one. The user never sees a third-party inbox message and never leaves your product.

The signature is the same either way. The signed PDF carries the same audit certificate, with each signer's email, IP address and timestamps.

Embedding is worth building when the signer is already logged in to your product at the moment they need to sign. If they are not, an email link is simpler and works just as well.

How do you embed eSignature in an app?

Four steps:

  1. Send the document through the API with email_external set to true.
  2. Put the signing link from the response into an iframe.
  3. Listen for the "signed" message in the browser and the webhook on your server.
  4. Download the signed PDF.

You need a GoodSign account, an API key from /profile/apikeys and one template, which you build once in the designer by dragging signature and date fields onto your PDF.

Step 1: Send the document without the email

curl --request POST \
  --url https://goodsign.io/api/usetemplate \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
    "uuid": "YOUR_TEMPLATE_UUID",
    "doc_name": "Services Agreement - Acme",
    "email_external": true,
    "webhook": "https://example.com/hooks/goodsign",
    "metadata": {"customer_id": 4821},
    "signers": [
      {"key": "signer1", "name": "Jane Smith", "email": "jane@acme.com"}
    ]
  }'

The response includes a signing_links array with one entry per signer:

{
  "success": true,
  "doc": {"uuid": "1f0c9a52-...", "status": "sent"},
  "signing_links": [
    {
      "name": "Jane Smith",
      "email": "jane@acme.com",
      "link": "https://goodsign.io/sign/start/abc123",
      "key": "signer1"
    }
  ]
}

email_external has two settings:

Value Signing invitation Email with the finished PDF
true Not sent Not sent
"notifyonly" Not sent Sent to every signer

Two things to know before you ship:

  • Pass a real boolean. Any non-empty string switches the emails off, including the string "false". If you want GoodSign to send the invitations, leave the field out.
  • Reminders are yours to send. GoodSign does not email reminders to signers you marked as external, so show the unsigned document somewhere in your own UI.

Step 2: Load the signing link in an iframe

The link comes back in the form /sign/start/{id}, which opens on a welcome screen. Swap start for reviewdoc and the signer lands straight on the document, which is what you want inside an app:

<iframe
  src="https://goodsign.io/sign/reviewdoc/abc123"
  style="width: 100%; height: 100dvh; border: 0;"
  title="Sign your agreement">
</iframe>

Give the iframe a real height. Use pixels, vh or dvh. Do not use height="100%" inside a parent that has no height of its own. On iPhone, Safari then grows the frame to the full length of the document instead of scrolling inside it, and the signature pad opens off screen on long documents. We shipped that mistake in our own sample code once, and it stalled signers on a 17-page contract until we traced it.

Step 3: Find out when they have signed

When a signer finishes, the signing page posts a message to the parent window. Use it to move your UI on:

window.addEventListener('message', function (event) {
  // the host your signing links come back with
  if (event.origin !== 'https://goodsign.io') return;
  if (event.data === 'SIGN_COMPLETE') {
    // close the frame, show your own "all done" screen
  }
});

Treat that message as a hint for the interface, not as proof. For your records, use the webhook. GoodSign posts to the webhook URL you set in step 1 each time something happens to the document:

{"uuid": "1f0c9a52-...", "status": "document_complete"}

Four events are sent: signer_opened, signer_complete, document_complete (sent in place of signer_complete when the last signer finishes) and signer_attachments_complete. Deliveries are not signed and not retried, so when one arrives, call GET /api/document/{uuid} with your API key to confirm the status and read back your metadata. The webhook guide has more detail.

Step 4: Download the signed PDF

GET /api/download/{uuid} returns the completed PDF with its audit certificate attached. Store it against the customer record you put in metadata.

How much does embedded signing cost?

Most vendors sell embedding as part of an API plan with a yearly commitment and a monthly allowance. GoodSign charges per document on every account.

To start Allowance After that
GoodSign $7.50 for your first 10 documents (half price for new accounts) None. Credits never expire $1.50 per document
DocuSign developer plan with embedded signing (Enhanced only) Sales quote, 5-user minimum Set by the quote Not published
Dropbox Sign API (Essentials 50) $900 a year 50 requests a month Next plan up

Competitor prices are in USD, as published on each vendor's pricing page on 23 November 2026 and billed annually.

A client portal that sends 15 contracts a month pays $270 a year on GoodSign. DocuSign's entry developer plan (Starter) is $600 a year whether you send 15 documents or none, and it does not include embedded signing.

The picture changes at steady volume. If you send more than about 33 documents every single month through the API without embedding, DocuSign's Starter plan costs less per document. Our eSignature API pricing comparison has the break-even points for each vendor.

Is an embedded signature legally binding?

Yes. A document signed in an iframe goes through the same signing flow as one signed from an email link, and the audit certificate is identical. Electronic signatures are recognised under the US ESIGN Act and UETA, eIDAS in Europe, and the equivalent laws in Australia and New Zealand.

One difference matters. With an email link, access to the inbox is part of the evidence that the right person signed. With embedded signing, your own login is that evidence, so keep a record of who was signed in. For higher-value documents, add "smsverify": true to the send request and GoodSign checks a code sent to the signer's phone before they can sign. SMS verification uses one extra credit per signer.

Other ways to embed GoodSign

  • Keep the email, change where it lands. On the PRO plan, the Embedded Signing Form setting sends the usual signing email but points the link at a page on your site, where you frame the document.
  • Embed the sender side. POST /api/designembedurl returns a link that lets your own users place fields and send a document from inside your app. The link is valid for one day.
  • Skip the integration. If the "app" is an AI agent, the GoodSign MCP server lets it send documents and chase signers with the same API key.

Common questions

Do signers need a GoodSign account? No. Signers never create an account or log in to GoodSign.

Does embedded signing work on phones? Yes, on iOS and Android, as long as the iframe has a real height as described in step 2.

Can I test without paying for every document? Yes. Add "draft": true to the send request and the document is created but not sent, so no credit is used.

Is there a separate plan for the API? No. Every GoodSign account has the same API, webhooks and embedded signing links. The eSignature API page lists every endpoint.

Start building

Create an account, add your first 10 credits at half price and create an API key. The API docs generate a ready-to-run request for each of your templates, with your real signer keys filled in.

Need documents signed? Make a free electronic signature for your own PDFs, or send documents for signing at $1.50 each with no subscription.

Ready to simplify your document signing?

No subscription. Pay only when you send: $1.50 per envelope.

Try a Free Electronic Signature →

All rights reserved © GoodSign Limited 2026
2 Stuart St, Ponsonby, Auckland 1011, New Zealand...