Skip to content

Ceremonies

Ceremony Lifecycle

How a ceremony moves from waiting to active to finished, and how to tell where it is from the recipient status and the ceremony URL.

The ceremony object has no status property. To see where a ceremony is, read the recipient status, the ceremony’s url, and the recipient events.

The states a ceremony goes through. The API does not return them as a field: you infer them from the recipient status and the url.
Ceremony lifecycle5 parts: Waiting, Active, Completed, Declined, Revoked. Connections: Waiting to Active (Recipient's turn); Active to Completed (Finishes); Active to Declined (Declines); Active to Revoked (New ceremony); Waiting to Revoked (New ceremony).WaitingActiveCompletedDeclinedRevokedRecipient's turnFinishesDeclinesNew ceremonyNew ceremony
WaitingRevokedActiveCompletedDeclinedNew ceremonyRecipient's turnFinishesDeclinesNew ceremony
Diagram as text

Parts

  • Waiting: The recipient waits for earlier recipients (status awaiting). The ceremony exists, but url is null.
  • Active: The recipient can open the ceremony. url is returned unless the first authentication method is email_link.
  • Completed: The recipient finished their actions (status completed). url is null.
  • Declined: The recipient declined (status rejected). url is null.
  • Revoked: Another ceremony replaced it, or the recipient was replaced. Its URLs stop working.

Connections

  • Waiting to Active: Recipient's turn
  • Active to Completed: Finishes
  • Active to Declined: Declines
  • Active to Revoked: New ceremony
  • Waiting to Revoked: New ceremony

Transitions

  1. Waiting to active. A recipient who waits for earlier recipients (sequential routing) has a ceremony that is not usable yet. It becomes active when the recipient’s turn comes.
  2. Active to completed or declined. The recipient finishes their actions or declines. The recipient status becomes completed or rejected.
  3. Active or waiting to revoked. Creating a new ceremony for the recipient revokes their waiting or active ceremony, and replacing the recipient revokes theirs. Completed and declined ceremonies stay as they are when you create a new one.

What you can observe

SituationRecipient statusCeremony url
The recipient waits for earlier recipients.awaitingnull
The ceremony is active and the first authentication method is email_code or custom.sentThe URL
The ceremony is active and the first authentication method is email_link.pending, then sent once the invitation email is sentnull (SignatureAPI delivers the URL)
The recipient finished the ceremony.completednull
The recipient declined.rejectednull

Creating a ceremony whose URL you deliver moves a recipient who is pending to sent and emits recipient.sent. See Ceremony URL for when the URL is returned.

The URL has its own lifetime

An active ceremony can have URLs that no longer work:

  • A standard URL is valid for 30 days. Reading the envelope or the recipient returns a new standard URL for the same ceremony.
  • A short URL stays the same until it expires. The first read after that returns a new one.
  • A URL of a revoked ceremony stops working as soon as a newer ceremony exists.

See URL validity for the rules.

When a URL fails

A recipient who opens a URL that can’t be used sees an error page. An embedded ceremony also sends a ceremony.failed event with an error_type. The values and what causes each are listed in Error types:

  • unauthorized: the link is malformed, it expired, or a newer ceremony replaced it.
  • already_completed: the recipient already finished or declined.
  • not_available: the envelope was canceled or the recipient was replaced.