Skip to main content
POST
Request an unsubscribe token

Authorizations

x-spree-api-key
string
header
required

Publishable API key for store access

Headers

x-spree-api-key
string
required

Body

application/json
email
string<email>
Example:

"subscriber@example.com"

redirect_url
string<uri>

The storefront URL the unsubscribe token is appended to in the email. Left out of the event payload unless it matches one of the store's allowed origins.

Response

202

returns accepted even when email is missing