API / Unsubscribe
GET
/unsubscribe
Render the unsubscribe confirmation page
Public HTML page shown when a recipient clicks the unsubscribe link in their mail client UI. Submitting the form posts back to `POST /unsubscribe` with the same token.
Authentification : publique.
Paramètres
| Nom | Dans | Type | Description |
|---|---|---|---|
| token* | query | string | Unsubscribe token |
Exemple curl
curl -X GET https://api.sporee.fr/unsubscribeRéponses
| Statut | Description | Type |
|---|---|---|
| 200 | HTML confirmation page | string |
| 400 | Bad Request | echo.HTTPError |
| 410 | expired token | echo.HTTPError |
Source machine : openapi.json · opération viewUnsubscribe