Get sub-customer
get_sub_customerRetrieve a sub-customer by customer_id to check subscription status, expiry, and WhatsApp/Telegram connection status; optionally reveal full tokens.
Instructions
Show one sub-client by its customer_id: subscription status and expiry, and whether WhatsApp and Telegram are connected.
Requires a multi-customer account: a ChatPush client that may create sub-clients through the API.
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": {
"customer_id": "<customer_id>"
},
"name": "get_sub_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | Internal ChatPush ID of the sub-customer. | |
| include_tokens | No | Show the full sub-customer tokens. Default false: tokens are masked. |