BizKitHub
DokumentáciaPrieskumník APIIssue/api/v1/issue/unsubscribe
getIssueVerejné API v1

/api/v1/issue/unsubscribe

Verifies the HMAC token, sets muted_date = NOW() on every pm__issue_participant row matching (contact_id, issue_id), and renders a localised confirmation page. Idempotent — hitting the link twice shows the same page without raising an error. Returns text/html so a user clicking from a mail client sees a plain confirmation page; machine clients that want JSON should use the BFF /bff/issue/unfollow endpoint instead (cookie-authenticated).

IssuegetApiV1IssueUnsubscribe

Parametre

1 v query

Parametre v query

· 1
tokenstringPovinné

HMAC-signed token from the e-mail footer encoding (contactId, issueId). Tokens never expire — they stay valid as long as SECRETS_MASTER_KEY is not rotated.

Dĺžka: 10–∞
Príkladexample_token

Schéma odpovede

3 zdokumentované stavové kódy

200ÚspechHTML confirmation page.
string

HTML confirmation page.

Ukážka odpovede

application/json
"string"

Všetky zdokumentované stavové kódy

· 3

Ukážka požiadavky

GET /api/v1/issue/unsubscribe

get
curl -X GET "https://api.bizkithub.com/api/v1/issue/unsubscribe?token=example_token" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Potrebujete API kľúč?

Všetky verejné endpointy BizKitHub API sa overujú API kľúčom.

Získať API kľúč