Give paid content
grant_accessGive a person paid content or a download without a purchase (Pro and up). Send productId (an access product: its groups, the paid content pages it unlocks; a download product: its file, in their My purchases) or groups ([groupId…]). A new address becomes a member through the invite flow (mailed a link to choose a password); a removed or pending member is let back in, as is a removed member who bought anyway (their order is kept but grants nothing). The groups are recorded as an owner grant (list_members (area members): why owner) and the person is mailed "You’ve been given access to {site}’s paid content". Taking a member past 20 groups is refused in words.
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": {
"siteId": "<siteId>",
"email": "<email>"
},
"name": "grant_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The person’s email address | ||
| groups | No | Or the group ids to give | |
| siteId | Yes | Site id (from list_sites) | |
| productId | No | An access or download product (from list_products) |