Documentation
Claim anonymous links
POST
/v1/links/claimLinksMoves links made without an account (on the home page, with curl, or through the MCP server signed out) into this account, by the claim tokens their answers carried. Up to 50 tokens a call; a token works for 30 days. Tokens already used or expired are skipped.
Request body
JSON, sent with Content-Type: application/json.
| Field | Type | Required | Description |
|---|---|---|---|
tokens | string[] | required |
Example request
Terminal
curl "https://snip.link/v1/links/claim" \
-X POST \
-H "Authorization: Bearer $SNIP_KEY" \
-H "Content-Type: application/json" \
-d '{}'Response fields
| Field | Type | Description |
|---|---|---|
claimed | integer |
Errors
| Status | Meaning |
|---|---|
| 400 | The body or query is invalid. details names each field. |
| 401 | The API key is missing, malformed or revoked. |
| 429 | Either the key exceeded its requests-per-second limit (honor Retry-After), or a daily or plan quota is used up (details.reason). |