claim_pending_slack_install
Attach a Slack webhook to a Pincushion project using the claim token from a pending Slack install. Required when the installer's email does not match an active Pincushion license.
Instructions
LEGACY FALLBACK. Since May 2026, Slack installs auto-link to a Pincushion license when the installer's Slack email matches, and channels are subscribed via /pincushion subscribe inside Slack — no claim token needed. This tool only applies when the installer's Slack email did NOT match an active Pincushion license at install time (the user sees a claim_token on the post-install page in that case). Pass claimToken (the on-page token, valid 7 days) + projectId to attach the webhook. Calling with no claimToken returns the new flow instructions instead of an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Subscription name. Default: default. | |
| events | No | Optional events override. Defaults to whatever the storefront install captured (pin_ready, mention, follow_up). | |
| projectId | Yes | The Pincushion project ID to attach the webhook to. Caller must be owner or editor. | |
| claimToken | Yes | The one-time token shown on the post-install page after Add to Slack. | |
| targetLabel | No | Optional human-readable label override; defaults to the Slack channel name from install. | |
| pageUrlPatterns | No | Optional URL substrings for page-specific subscriptions. |