Widgets
Get preferences widget token
Changed onGenerate a signed token to embed the subscription preferences widget for a subscriber. This token allows users to manage their email subscription preferences directly from your website.
Important: Call this endpoint from your backend only. Never expose your API key to the frontend.
post/widgets/preferences/token
Request
- Base URLhttps://api.sequenzy.com/api/v1
- URLhttps://api.sequenzy.com/api/v1/widgets/preferences/token
- AuthHTTP bearer
Request body
Example request
{
"email": "user@example.com"
}Response
Token generated successfully
Example response
{
"success": true,
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}Changes
- info
added the optional property
to the response with the status
- info
- info
added the optional property
to the response with the status
- info