Skip to content

The unsubscribe page

GET
/v1/newsletters/unsubscribe
curl --request GET \
--url https://your-tenant-host/v1/newsletters/unsubscribe

Renders EdgeKit’s own page in the publication’s locale and the site’s brand, offering every newsletter on the site, the link’s own ticked. Changes nothing and verifies nothing: a prefetching mail scanner must not unsubscribe anybody. On the tenant host only.

u

The recipient’s Braze profile id.

string
<= 128 characters

The recipient’s Braze profile id.

l

The list the link unsubscribes from.

string
<= 128 characters

The list the link unsubscribes from.

e

The edition that carried it. Unsigned provenance.

string
<= 128 characters

The edition that carried it. Unsigned provenance.

sig

HMAC-SHA256 of <email lowercased>|<external_id>|<l>, hex, under the tenant’s link key.

string
<= 256 characters

HMAC-SHA256 of <email lowercased>|<external_id>|<l>, hex, under the tenant’s link key.

The page.

Media typetext/html
string

The link names no deployed newsletter.

Media typetext/html
string

Request validation failed.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details

Example

{
"error": {
"code": "unauthorized",
"message": "Invalid or missing API key."
}
}

Unexpected error.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details

Example

{
"error": {
"code": "unauthorized",
"message": "Invalid or missing API key."
}
}