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 brand (else the site’s), 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 external_id, empty when the profile has none. On a SendGrid list, the user id.

string
<= 987 characters

The recipient’s Braze external_id, empty when the profile has none. On a SendGrid list, the user id.

b

The recipient’s Braze profile id. Braze lists only.

string
<= 128 characters

The recipient’s Braze profile id. Braze lists only.

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, hex, under the tenant’s link key: 2|<u>|<b>|<l> on Braze; <email lowercased>|<u>|<l> on SendGrid.

string
<= 256 characters

HMAC-SHA256, hex, under the tenant’s link key: 2|<u>|<b>|<l> on Braze; <email lowercased>|<u>|<l> on SendGrid.

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."
}
}

edgekit.ai