BizKitHub
DokumentacePrůzkumník APIIssue/api/v1/issue/unsubscribe
getIssueVeřejné 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

Parametry

1 v query

Parametry 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élka: 10–∞
Příkladexample_token

Schéma odpovědi

3 zdokumentované stavové kódy

200ÚspěchHTML confirmation page.
string

HTML confirmation page.

Ukázka odpovědi

application/json
"string"

Všechny zdokumentované stavové kódy

· 3

Ukázka požadavku

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"

Potřebujete API klíč?

Všechny veřejné endpointy BizKitHub API se ověřují API klíčem.

Získat API klíč