---
title: "Ceremony Customization"
description: "Change how an embedded ceremony looks and behaves with URL query parameters, such as the accent color, the Cancel button and how events reach your app."
canonical: "https://signatureapi.com/docs/embedded/customization"
source: "https://signatureapi.com/docs/embedded/customization.md"
last_verified_api_version: "1.18.1"
last_modified: "2026-11-18T12:39:46Z"
---

# Ceremony Customization

Change how an embedded ceremony looks and behaves with URL query parameters, such as the accent color, the Cancel button and how events reach your app.

_Last verified against API version 1.18.1._

You customize a ceremony in two places:

- **Query parameters** that you append to the ceremony `url` before you show it. They change one session and need no API call.
- **Properties** of the ceremony that you set when you create it, in the [Create Envelope](https://signatureapi.com/docs/api/resources/envelopes/create) or [Create Ceremony](https://signatureapi.com/docs/api/resources/ceremonies/create) request.

## Ceremony parameters

| Parameter        | Goes in | Values (default)                                                                | Applies to                      |
| ---------------- | ------- | ------------------------------------------------------------------------------- | ------------------------------- |
| `embedded`       | URL     | `true` (not set: standalone)                                                    | Embedded                        |
| `event_delivery` | URL     | `none`, `message` or `redirect` (`none`)                                        | Embedded                        |
| `allow_cancel`   | URL     | `false` removes Cancel (shown)                                                  | Embedded                        |
| `accent_color`   | URL     | Hex code without `#`, such as `8e24aa` (the envelope's accent color, else blue) | Both                            |
| `allow_decline`  | URL     | `false` removes Decline (shown)                                                 | Standalone                      |
| `embeddable_in`  | Body    | Up to 10 origins, such as `https://app.acme.example` (none)                     | Embedded in an iframe           |
| `redirect_url`   | Body    | An absolute URL (none)                                                          | Standalone; embedded ignores it |
| `redirect_delay` | Body    | `0` to `20` seconds (`3`)                                                       | Both                            |

"URL" is a query parameter added to the ceremony `url`; "Body" is a property of the ceremony in the create request. An embedded ceremony in an `<iframe>` that sends JavaScript messages:

```text
https://sign.signatureapi.com/en/start?token=eyJhbGci...iDsInR&embedded=true&event_delivery=message
```

A standalone ceremony without the Decline control:

```text
https://sign.signatureapi.com/en/start?token=eyJhbGci...iDsInR&allow_decline=false
```

## Appearance

### Accent Color

The `accent_color` query parameter sets the color of the ceremony's buttons for this session. Signature places, input fields and checkboxes keep their default colors.

The value must be a hexadecimal color code, without the `#` prefix. For example, to make the buttons purple:

```text
https://sign.signatureapi.com/en/start?token=eyJhbGci...iDsInR&accent_color=8e24aa
```

The ceremony will look like this:

![Embedded signing ceremony showing a sample privacy policy, with a purple Start button in the bottom right corner](https://signatureapi.com/docs/embedded/purple.webp)

*accent_color=8e24aa*

To brand every ceremony and email of an envelope, set [`branding.accent_color`](https://signatureapi.com/docs/api/resources/envelopes/branding#accent-colors) on the envelope instead. The two work together like this:

- When the URL has `accent_color`, the ceremony uses it and ignores the envelope's `branding.accent_color`. Emails keep the envelope's color.
- When the URL has no `accent_color`, the ceremony uses `branding.accent_color`, or the default blue if the envelope has none.
- The API rejects a `branding.accent_color` with a contrast ratio below 4.5:1 against white. The URL parameter has no such check, so test your color: button labels are white, and a light color makes them hard to read.

## Behavior

### Disable Cancel

As a default, the ceremony allows the signer to cancel the ceremony. You can disable this by setting the `allow_cancel` query parameter to `false`. You can do this to handle the cancellation in your application.

This option applies only to embedded ceremonies, which use `embedded=true`.

```text
https://sign.signatureapi.com/en/start?token=eyJhbGci...iDsInR&embedded=true&allow_cancel=false
```

### Disable Decline

As a default, a standalone ceremony lets the signer decline it. You can remove the Decline control by setting the `allow_decline` query parameter to `false`.

This option applies only to standalone ceremonies, which don't use `embedded=true`. Embedded signers see Cancel instead of Decline. Use `allow_cancel=false` to remove it.

```text
https://sign.signatureapi.com/en/start?token=eyJhbGci...iDsInR&allow_decline=false
```

### Event Delivery

The ceremony can send events to your application. Set the `event_delivery` query parameter to `none`, `message`, or `redirect`. The ceremony sends events only when the URL includes `embedded=true`.

When you don't set `event_delivery`, it defaults to `none`: the ceremony sends no events and you use [webhooks](https://signatureapi.com/docs/api/webhooks) to follow the outcome.

#### Javascript Messages

When you set `event_delivery=message`, the ceremony posts each event to your page as a JavaScript message. Use it when you embed the ceremony in a web app with an `<iframe>`.

```text
https://sign.signatureapi.com/en/start?token=eyJhbGci...iDsInR&embedded=true&event_delivery=message
```

#### Redirects

When you set `event_delivery=redirect`, the ceremony navigates the WebView to a `signatureapi-message://` URL that contains the event. Use it when the ceremony is the page of a `WebView` in a mobile or desktop app.

```text
https://sign.signatureapi.com/en/start?token=eyJhbGci...iDsInR&embedded=true&event_delivery=redirect
```

### Result page delay

The `redirect_delay` property of the ceremony sets how many seconds the result page shows before the completed or declined event. Set it when you create the ceremony, not in the URL. Use `0` to receive the event immediately and show your own result screen. See [Ceremony object](https://signatureapi.com/docs/api/resources/ceremonies/object).

Learn more about delivering events to your application in [Ceremony Events](https://signatureapi.com/docs/embedded/ceremony-events).
