BizKitHub
DokumentacjaEksplorator APIIssue/api/v1/issue/unsubscribe
getIssuePubliczne 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 w query

Parametry query

· 1
tokenstringWymagane

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ługość: 10–∞
Przykładexample_token

Schemat odpowiedzi

3 udokumentowane kody statusu

200SukcesHTML confirmation page.
string

HTML confirmation page.

Przykład odpowiedzi

application/json
"string"

Wszystkie udokumentowane kody statusu

· 3

Przykład żądania

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"

Potrzebujesz klucza API?

Wszystkie publiczne endpointy BizKitHub API uwierzytelniają się kluczem API.

Uzyskaj klucz API