ApiUnsubscribes
Read an unsubscribe token without applying it, for a confirmation page
GET
Always 200: an unknown, altered or other-project token reads valid: false; an expired one expired: true.
projectKeyheader
AuthorizationBearer <token>A project API key (sk_live_…) with read, enroll or admin scope.
token*stringThe signed token from the unsubscribe link.
Length
1 <= length <= 2048Default Response
application/json- response
success*trueValue in
truedata*What an unsubscribe page shows, and what applying a token did.
meta*curl -X GET 'http://localhost:8080/v1/unsubscribes/string'{ "success": true, "data": { "valid": true, "expired": true, "contact": { "email": "string", "first_name": "string" }, "already_unsubscribed": true }, "meta": { "request_id": "string" }}