Skip to content

RenderRequest

What the sender asks for.

channel: string

The kind of message being made, such as email.


channelId: string

The sender’s id for the connection this request is made through. A handler looks its secret up by it.


context: object

The audiences this render is for, as ids. Empty means the page as anyone sees it. audienceToken is the signed proof Content needs to serve them (send it as the X-Ebitex-Audiences header; audiences are never sent in ctx). discoveryToken is present only when audiences is empty: a token that lets a first read see every audience variant, to find which audiences the page reads. Never use it for the page you return.

audiences: string[]

optional audienceToken?: string

optional discoveryToken?: string


deliveryKey: string

A key for reading the site’s published content. Use it for this request only and never store it.


locale: string | null

A locale code, or null for the site’s default.


path: string

The page’s path in that site.


site: string

The id of the site the page lives in.