get_claim_status
Check the status of a claim code: returns pending, expired, or claimed. If claimed, retrieve the app ID and install snippet.
Instructions
Check whether the user has confirmed a claim created with claim_app. Returns {status: 'pending' | 'expired' | 'claimed', …}. While 'pending', wait a few seconds and call again (the link expires in 30 minutes; 'expired' ⇒ create a new claim). Once 'claimed' it adds the REAL appId, the install snippet, the hosted policyUrl, published (if false, do NOT install the snippet yet — the policy page would be a dead link until the user publishes from their dashboard) and a pending list of details the code can't know (e.g. the controller's legal name): replace any YOUR_APP_ID placeholder snippet with the real one and ask the user for the pending items. Errors on an unknown code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The claim code returned by claim_app (not the URL — the `code` field). |