staqlydocs
REST APIAPI referenceAccounts

Turn off one kind of email from its unsubscribe link

Turn off one kind of email from its unsubscribe link

Every request sends Authorization: Bearer ...: the access token in local mode, an API key stk_... in cloud mode. Use Send to try it against your cloud instance with your API key.

POST
/v1/notifications/unsubscribe

Public: the signed token from a personal email is the credential (one person, one event). Mail clients post here for one-click unsubscribe (RFC 8058) with ?token=; the dashboard's unsubscribe page sends {"token": ...}. Limited per client address.

Query Parameters

token?string

Request Body

application/json
  1. body
token?string

Response Body

The email is off

application/json
  1. response
event*string
curl -X POST 'https://staqly.example.com/v1/notifications/unsubscribe' \  -H 'Content-Type: application/json' \  -d '{}'
{  "event": "string"}