get_memberships_invitations
Calls GET /api/memberships/invitations as the signed-in person · REST reference
The signed-in user's own pending invitations
One entry per organization that has invited the caller and not had an answer. Answers about the caller only — there is no user to name. A signup contact's pending ownership of their own organization is not an invitation and is not listed (the platform approves it).
Arguments
This tool takes no arguments.
Example call
A client sends this over the MCP session; Claude and other agents build it for you. The values are placeholders — the shape is real.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_memberships_invitations",
"arguments": {}
}
}Result
On success (HTTP 200) the tool returns one text item holding the API's JSON, pretty-printed.
The caller's pending invitations; an empty list when there are none.
{
"data": [
{
"groups": [],
"orgId": "11111111-1111-4111-8111-111111111111",
"orgName": "string",
"invitedAt": 1,
"invitedBy": {},
"orgType": "string"
}
],
"success": true
}Fields
| Field | Type | Description |
|---|---|---|
data | array of object | |
data[].groups | array of object | |
data[].groups[].id | string (uuid) | |
data[].groups[].name | string | |
data[].groups[].type | string | null | |
data[].invitedAt | number | null | Epoch milliseconds of the latest invitation into this organization. |
data[].invitedBy | object | null | |
data[].invitedBy.email | string | null | |
data[].invitedBy.firstName | string | null | |
data[].invitedBy.id | string (uuid) | |
data[].invitedBy.lastName | string | null | |
data[].orgId | string (uuid) | |
data[].orgName | string | |
data[].orgType | string | null | |
success | true |
When it fails
A failed call returns isError: true with the API's message as text.
What the model is shown
This is the tool exactly as the server lists it in tools/list. The description starts with the REST call it makes.
{
"name": "get_memberships_invitations",
"description": "GET /api/memberships/invitations — One entry per organization that has invited the caller and not had an answer. Answers about the caller only — there is no user to name. A signup contact's pending ownership of their own organization is not an invitation and is not listed (the platform approves it).",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}