Skip to content

Ceremonies

Ceremony URL

Learn how to obtain the ceremony URL to deliver signing access yourself or embed the ceremony in your application.

Recipients use the ceremony URL to access their signing ceremony and complete their actions.

By default, SignatureAPI creates a ceremony for each recipient when you create an envelope. It uses email link authentication and sends the recipient an email with their ceremony link. You don’t need to handle URL delivery in that case.

You may want to obtain the ceremony URL directly to:

  • Embed the signing ceremony in your web or mobile application
  • Redirect users to the ceremony from within your application workflow
  • Send the invitation through your own email infrastructure with custom branding

When ceremony URLs are available

A ceremony URL is available when the ceremony is active and not yet completed. If the first authentication method is email_link, SignatureAPI delivers the URL by email. The url property will be null in that case.

When SignatureAPI sends the URL directly to the recipient (as with Email Link Authentication), the url property is null. You don’t need to handle delivery yourself.

How to get a ceremony URL

Set the ceremony’s authentication method to one of the following:

The URL is returned in the url property of the ceremony object. You can retrieve it in several ways.

From envelope operations

When you create or retrieve an envelope, the ceremony URL is available in the url property of each recipient’s ceremony object.

Envelope object
{
  "id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
  "title": "Service Agreement",
  "recipients": [
    {
      "type": "signer",
      "key": "client",
      "name": "John Doe",
      "email": "john.doe@example.com",
      "ceremony": {
        "authentication": [
          {
            "type": "email_code"
          }
        ],
        "embeddable_in": [],
        "redirect_url": null,
        "redirect_delay": 3,
        "url_variant": "standard",
        "url": "https://sign.signatureapi.com/en/start?token=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.c2lnbmF0dXJl"
      }
    }
  ]
}

From recipient operations

When you retrieve a recipient, the ceremony URL is available in the url property of the recipient’s ceremony object.

Recipient object
{
  "type": "signer",
  "key": "client",
  "name": "John Doe",
  "email": "john.doe@example.com",
  "ceremony": {
    "authentication": [
      {
        "type": "email_code"
      }
    ],
    "embeddable_in": [],
    "redirect_url": null,
    "redirect_delay": 3,
    "url_variant": "standard",
    "url": "https://sign.signatureapi.com/en/start?token=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.c2lnbmF0dXJl"
  }
}

From ceremony operations

When you create a ceremony using the Create Ceremony endpoint, the URL is returned in the url property of the ceremony object.

Ceremony object
{
  "authentication": [
    {
      "type": "email_code"
    }
  ],
  "embeddable_in": [],
  "redirect_url": null,
  "redirect_delay": 3,
  "url_variant": "standard",
  "url": "https://sign.signatureapi.com/en/start?token=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.c2lnbmF0dXJl"
}

Short ceremony URLs

Standard ceremony URLs are long. They may not fit in space-constrained channels like SMS or push notifications.

Set url_variant to short when creating the ceremony to generate a shorter URL.

HTTP
POST /v1/recipients/re_49r1R2jpPDz8hSpP75ZkPp/ceremonies HTTP/1.1
Host: api.signatureapi.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json

{
  "authentication": [
    {
      "type": "custom",
      "provider": "SuperApp",
      "data": {
        "Session ID": "a4f9e8b2-7c1d-4b2d-9a4b-e0c5d6f7a1b3",
        "Authenticated At": "2025-12-31T23:59:59Z"
      }
    }
  ],
  "url_variant": "short"
}
201 Created
{
  "authentication": [
    {
      "type": "custom",
      "provider": "SuperApp",
      "data": {
        "Session ID": "a4f9e8b2-7c1d-4b2d-9a4b-e0c5d6f7a1b3",
        "Authenticated At": "2025-12-31T23:59:59Z"
      }
    }
  ],
  "embeddable_in": [],
  "redirect_url": null,
  "redirect_delay": 3,
  "url_variant": "short",
  "url": "https://sign.signatureapi.com/s/BgnexxxxxxxxIbRi"
}

URL validity

RuleStandard URLShort URL
Validity30 days from when the URL is issued.The same.
New URL on readEvery read of the envelope or recipient returns a new URL for the same ceremony.The same URL until it expires. The first read after that returns a new one.
Earlier URLsKeep working until they expire.Not applicable: there is one URL at a time.
Invalidated byA new ceremony for the same recipient, a completed or declined ceremony, a canceled envelope, or a replaced recipient.The same.

Contact support to change the 30-day period for your account.

A ceremony URL is a bearer credential: anyone who has it can open the ceremony. Don’t log it or store it on a device. To resume a ceremony later, ask your server for the current URL.

URL expiration

A ceremony URL stops working when any of these happens:

  • Its validity ends. See the table above.
  • A new ceremony replaces it. Creating a new ceremony for the same recipient revokes every earlier URL.
  • The recipient completes or declines the ceremony. After that, the URL only reports that the ceremony is already completed.
  • The envelope is canceled or the recipient is replaced. The URL then reports not_available.

How to get a new URL depends on the authentication method and URL variant:

AuthenticationStandard URLShort URL
Email LinkResend or Create CeremonyCreate Ceremony
Email CodeGet EnvelopeGet Envelope after it expires, or Create Ceremony
CustomGet EnvelopeGet Envelope after it expires, or Create Ceremony

Recipients may see an “Invalid link” error when accessing a ceremony URL. Find the cause, then apply the fix from the table above:

CauseFix
The URL expired.For a standard URL, Get Envelope (email code or custom) or Resend (email link) returns a fresh one. For a short URL, create a new ceremony.
A newer ceremony replaced it.Use the URL from the latest ceremony: read the envelope again.
The URL was modified.Use the full URL, including the token, exactly as the API returned it. A truncated URL doesn’t work.
The envelope was canceled, or the recipient completed, declined or was replaced.No new URL helps. Check the envelope and recipient status.

If a recipient reports an invalid link, check the envelope and recipient status first. If the envelope is still in_progress, get a fresh URL as above.

See Error types for what an embedded ceremony reports in each case.

URL parameters

Add parameters to a ceremony URL to customize the embedded ceremony, such as embedded=true. The full list is in Embedded customization.

A revoked or completed URL still loads the ceremony page and returns HTTP 200. The page reports the failure to the signer, and an embedded ceremony sends ceremony.failed with an error type. A plain HTTP request can’t tell you whether a URL is still valid, so don’t use one to check.