Create an invite link
members_create_invite_linkCreate a shareable invite link for this space; share the returned url with the people who should join.
POST /api/v1/members/invite-links
For multi-space accounts, call auth_verify, ask the user which space to use, and pass targetSpaceId. Manage members only when the user asks. Requires the user to be an owner or admin of the space; a write-level key can grant the member role, and admin needs a manage-level key (a 403 says which). Give the returned url to the user to share; anyone holding it can join until it is revoked, expires, or runs out of uses.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "members_create_invite_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | member | |
| teamId | No | ||
| maxUses | No | ||
| expiresAt | No | ||
| targetSpaceId | No | Busabase space id. Call auth_verify first and ask the user which space to use when more than one is returned. | |
| requiresApproval | No |