get_account_by_external_id
Retrieve a customer organization by its external ID, including up to 100 member contacts and their roles, to look up customer accounts using your app's identifier.
Instructions
Get one customer organization (Subscribers > Organizations in the dashboard) by its external ID, including up to 100 member contacts with their roles (owner, admin, member). Not your Sequenzy account: use get_account for that.
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": {
"externalId": "<externalId>"
},
"name": "get_account_by_external_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyId | No | Company ID. If not provided, uses the currently selected company. | |
| externalId | Yes | Customer-owned account (organization/workspace) ID, e.g. the org id in your app. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Additional context about the result. | |
| items | No | Fallback array wrapper used only when a tool returns a bare array. | |
| value | No | Fallback object wrapper used only when a tool returns a non-object value. | |
| account | No | The account record returned by Sequenzy. | |
| members | No | Members with subscriberId, email, externalId, role, firstName, lastName and status. | |
| message | No | Human-readable status, confirmation, or next-step message. | |
| success | No | Whether the Sequenzy operation succeeded. | |
| warnings | No | Non-fatal cautions about content, permissions, or follow-up actions. |