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 stringsRequiredThe people's emails, such as sam@acme.dev.
rolestringRequiredA workspace role: owner, admin, member or viewer.
One of
owneradminmemberviewerteamsarray of stringsKeys 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" ] }'