Skip to main content
Creates a link that lets the person behind a platform user take their managed account into their own, normal CabalSpy ID. Send the link to the user, for example from their settings page on your platform. The link is valid for 24 hours and can be used once. Each call creates a new link.

What a claim does

The person opens the link on id.cabalspy.xyz, signs in with their own CabalSpy ID and confirms. Then:
  • their payment-verified wallets move to their own CabalSpy ID; unverified wallets do not move,
  • X and Telegram move along if their CabalSpy ID has none yet; their theses and Trade Feed move along too,
  • your instance keeps access to them as a user, csid_id becomes the id of their own account, and claimed turns true,
  • you receive the platform_user.claimed webhook with the previous csid_id.
From then on the person manages the account themselves. Calls that change it return account_claimed, and deleting the user only removes the link to your platform. The claim page refuses the claim when the person’s account would end up with more than 5 Solana or 5 EVM wallets, or when their account is already linked to another of your users. They see the reason on the page.
Claim links are off when your instance is marked white_label and on otherwise, until you set claim_links in the settings.

Body

string
required
Your id of the user. Alternatively pass csid_id.
string
Where the person goes back after the claim. Must be on one of your instance’s verified domains, registered origins or redirect URIs (https), or http://localhost.

Usage Example

Response

string
Your id of the user.
string
The claim link, on https://id.cabalspy.xyz/claim/....
string
When the link expires, 24 hours after it was created.

Errors

See Errors for the full list.