Skip to content

Ceremonies

Create a ceremony

Create a new signing ceremony for a recipient with custom authentication options.

POST
/ v1 / recipients / {recipient_id} / ceremonies

Creates a new ceremony for a recipient. Any previous active ceremony for the recipient is automatically revoked.

The authentication array specifies which authentication methods the recipient must complete to access the ceremony. You can configure multiple methods. Recipients complete them in sequence. Learn more in Recipient Authentication.

When you can create a ceremony

Create Ceremony succeeds only when both the envelope and the recipient allow it:

  • Envelope: its status is in_progress.
  • Recipient: its status is pending, awaiting, sent or soft_bounced. A recipient who is completed, rejected, hard_bounced, failed or replaced can’t get a new ceremony. Replace a bounced or failed recipient first.
  • Recipient type: automatic signers have no ceremony.

A recipient also shows pending while their invitation email is still being sent. Create Ceremony returns the same error until the email goes out, so retry after a few seconds.

Otherwise the API returns 409 with the Could Not Create Ceremony error. For authentication, rate limit and server errors, see Errors.

Creating an active ceremony whose first authentication method is email_code or custom moves a pending recipient to sent and emits recipient.sent, because you deliver the URL.

Path Parameters

recipient_idstringrequired

The unique identifier of the recipient. Recipient IDs use the re_ prefix.

Body Parameters

authenticationarray of authentication objectrequired

An HTTPS URL to redirect the recipient to after they complete or decline the ceremony. Embedded ceremonies ignore it.

Learn more in Redirect URL.

The delay in seconds before the ceremony redirects to redirect_url (standalone ceremonies) or emits completion events (embedded ceremonies).

Defaults to 3. Allowed range: 0 to 20.

Learn more in Redirect URL.

The format of the ceremony URL.

Available options:

  • standard (default): Full-length URL. Works for most use cases.
  • short: Shortened URL. Use this when sharing through space-constrained channels such as SMS or push notifications.
embeddable_inarray of strings

Origins allowed to embed this ceremony in an iframe.

These values set the frame-ancestors directive in the ceremony’s Content Security Policy (CSP) header. Sources typically take the form of a scheme and host (for example, https://app.example.com). Wildcards are supported (for example, https://*.example.com). For all available options, see the frame-ancestors documentation.

Defaults to an empty list ([]), which means embedding is not allowed. To allow embedding from all origins (not recommended for production), use ["*"].

Only the origin (scheme and host) is used. Paths are ignored.

Returns

Returns a 201 Created status code with a ceremony object on success, or an error otherwise.