Accept a referral invitation
apply_referral_codeApply a developer-provided referral code or invitation URL to this organization before its first-ever Sandbox publication. Never invent a code. One inviter per organization; the attribution cannot be changed and self-invitations are refused. Grants one traffic welcome bonus without starting a campaign. Repeating the same invitation returns ALREADY_APPLIED and the same bonus, including after a lost answer. A different invitation cannot replace it. Read get_referral_program to recover state after an uncertain result.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"codeOrUrl": "<codeOrUrl>"
},
"name": "apply_referral_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codeOrUrl | Yes | The referral code or full invitation URL supplied by the developer. Use it before the organization’s first Sandbox publication. |