Get Identities
machship_get_identitiesRetrieve all identities owned by a Machship organisation, including linked companies, with optional filters for unlinked identities or identity provider. Requires administrator access.
Instructions
Get all identities owned by an organisation, with details on which companies they are linked to. Requires administrator access to the organisation.
Args:
organisationId (number): Organisation ID
onlyUnlinkedIdentities (boolean, optional): Return only identities not linked to any company
identityProviderId (number, optional): Filter by identity provider
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": {
"organisationId": "<organisationId>"
},
"name": "machship_get_identities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organisationId | Yes | Organisation ID | |
| identityProviderId | No | Filter by identity provider ID | |
| onlyUnlinkedIdentities | No | Return only unlinked identities |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Validation errors returned by Machship, if any | |
| object | No | Response payload from the Machship API |