Atomside docsThis page as Markdown

New claim link: new_claim_link

For an account made by start_account. Makes a new claim link and stops the old one, for when the link was lost. Returns the words to pass on again.

MCP toolnew_claim_link
RESTPOST /v1/account/claim-link
CLIatomside new-claim-link
Key needsRead (letters:read)
Changes anythingYes.
Idempotency keyNot used.

Example

A real call and its real answer, made against the API in test mode. A test runs it again and fails if the answer changes. Ids, keys and links are replaced with stand-ins.

A call that works

REST:

curl -X POST https://api.atomside.com/v1/account/claim-link \
  -H "Authorization: Bearer $ATOMSIDE_API_KEY"

MCP:

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "new_claim_link",
    "arguments": {}
  }
}

CLI:

atomside new-claim-link

The answer (HTTP 200; over MCP, the same JSON is the result's structuredContent):

{
  "account": "acct_example000000002",
  "claim_url": "https://app.atomside.com/claim/…",
  "expires": "2026-12-16T09:30:00.000Z",
  "tell_your_person": "I have set up a test account with Atomside, a UK service that prints and posts letters. So far I have only sent test letters. Nothing has been printed or charged. To let me send real letters, open this link and claim the account: https://app.atomside.com/claim/…. You will sign in, confirm who the letters come from, and add credits. The link works until 16 December 2026. If you did not ask for this, ignore it and the account will be deleted.",
  "next": "Pass on tell_your_person. The old link no longer works."
}

Input

Over REST, fields in the path go in the path, GET fields in the query string, and POST fields in the JSON body. Over MCP, every field is an argument of the tool.

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

Output

{
  "type": "object",
  "properties": {
    "account": {
      "type": "string"
    },
    "claim_url": {
      "type": "string"
    },
    "expires": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
    },
    "tell_your_person": {
      "type": "string"
    },
    "next": {
      "type": "string"
    }
  },
  "required": [
    "account",
    "claim_url",
    "expires",
    "tell_your_person",
    "next"
  ],
  "additionalProperties": false
}

Refusals

Every refusal has the same shape. Branch on code, answer and retry; repeat say to your person.

CodeAnswerRetryHTTPWhat to do next
key_missingnoafter_fix401Send the key as "Authorization: Bearer as_test_…". Ask your person if you have none.
key_not_validnonever401Ask your person for a new key. There is no link: we cannot say whose it was.
scope_missingnoafter_person403Ask your person to give the key that permission.
invalid_requestnoafter_fix400Fix the field named in details.field. The same idempotency key is fine.
rate_limitednoat_time429Wait. The same idempotency key never sends twice.
try_again_shortlynoat_time503Try again after retry_after with the same idempotency key.
account_expirednonever401Start again with start_account if your person still wants this.
connection_endednoafter_person401Tell your person. To carry on, they connect Atomside again in your assistant.
account_already_claimednonever409Nothing to do. Call get_account to see what changed.
not_foundnoafter_fix404Check the name against the tool list or /v1/openapi.json.