Skip to main content
POST
Get Preferences Token
Generate a signed token that allows you to embed the subscription preferences widget on your website. This widget lets users manage their email subscription preferences directly from your application.
Security: Call this endpoint from your backend only. Never expose your API key to the frontend. The token is valid for 1 hour.

Request Body

email
string
required
The subscriber’s email address. Must be a valid email of an existing subscriber.

Example

Using the Token

Once you have the token, embed the widget in your frontend:

Responses

The subscriber must already exist in Sequenzy. If the subscriber doesn’t exist, create them first using the Create Subscriber endpoint.