The newsletter confirmation interstitial
GET
/v1/newsletters/confirm
const url = 'https://your-tenant-host/v1/newsletters/confirm';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://your-tenant-host/v1/newsletters/confirmRenders EdgeKit’s own page and changes nothing. The token is not verified here, nor required: a stripped link renders the same page. The response must be identical for a prefetching mail scanner and for the human who clicks a moment later; the POST behind the button decides every refusal. Served on the tenant host only, with no /edgekit alias.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”token
The same token, as the emailed link carries it. Absent or bad, the page renders the same; the POST behind its button is what refuses.
string
The same token, as the emailed link carries it. Absent or bad, the page renders the same; the POST behind its button is what refuses.
Responses
Section titled “Responses”The interstitial.
Media typetext/html
string
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." }}