Search the docs

Search guides, API endpoints and MCP tools.

Workspace

create_invites

Write grant

Invite people to the workspace by email, with a role and the teams they join on accepting. Each gets an email with a link. Returns each email's result. Needs write access, and your person must be a workspace owner or admin.

Inputs

emailsarray of stringsRequired

The people's emails, such as sam@acme.dev.

rolestringRequired

A workspace role: owner, admin, member or viewer.

One ofowneradminmemberviewer
teamsarray of strings

Keys of the teams they join, such as WEB.

tools/callJSON-RPC
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "create_invites",    "arguments": {      "emails": [        "sam@acme.dev"      ],      "role": "member",      "teams": [        "WEB"      ]    }  }}
POST/clanker/v1/invites:create
curl -X POST https://api.clankership.com/clanker/v1/invites:create \  -H "Authorization: Bearer $CLANKER_TOKEN" \  -H "Content-Type: application/json" \  -d '{    "emails": [      "sam@acme.dev"    ],    "role": "member",    "teams": [      "WEB"    ]  }'
The same call over the clanker HTTP API. Set CLANKER_TOKEN to a clanker OAuth access token.