Prepare a teammate invitation
invite_teammatePrepares, without sending it, an email invitation for a person to work in this PostWire workspace with a role: admin (Everything except billing and ownership: members, brands, connections, approval rules, keys); editor (Writes, schedules and publishes posts, within each brand's approval rules); contributor (Drafts and schedules posts; every one waits for approval before it goes out); approver (Only the approvals inbox: sees the previews, approves or rejects); viewer (Read-only: sees posts, the queue, accounts and activity). Editors, contributors, approvers and viewers can be limited to some brands (brand_ids). Seats are members plus open invitations; the plan sets how many. For safety only a person signed in to the PostWire dashboard can add people: from an AI assistant or an API key nothing is sent, and the result gives instead the seats free on the plan (or, when they are all in use, the plan with more seats, its price and a checkout link), the dashboard link and the steps (Settings, Team) with this email and role, for the person to send it there.
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": {
"email": "<email>"
},
"name": "invite_teammate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Their role. Default editor. | |
| Yes | The teammate's email address. | ||
| brand_ids | No | Only these brands (editor, contributor, approver, viewer). Omit for every brand. |