whatsapp_username_set
Claim or change the WhatsApp username of a phone number. Letters, digits, periods and underscores, must contain a letter, no leading / trailing / consecutive periods. Pass transfer_action: force_transfer to move a username already held by another number in the same business.
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": {
"profile_id": "<profile_id>",
"phone_number_id": "<phone_number_id>",
"username": "<username>"
},
"name": "whatsapp_username_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | ||
| profile_id | Yes | Profile hashid of a whatsapp profile (the WhatsApp Business Account) | |
| phone_number_id | Yes | The phone number id from profiles_placements | |
| transfer_action | No |