Update channel profile
update_channel_profileUpdate the WhatsApp profile for this channel (a.k.a. phone number.)
The user may be prompted by 360Dialog for an OTP code delivered to their email address. Make them aware of the OTP requirement.
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": {
"new_profile": "<new_profile>",
"channel_id": "<channel_id>",
"project_id": "<project_id>"
},
"name": "update_channel_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | Needs to end with 'CH'. | |
| project_id | Yes | Needs to end with 'PR'. | |
| new_profile | Yes | Changes to the business profile. This is a PATCH request, so only pass fields the user wants changed. If you want to clear a field, set it to null. If you don't want to change a field, omit it from the JSON. e.g. JSON with no changes: {} e.g. JSON that only changes about text: { "about_text": "Hello world" } |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| updated | Yes | ||
| channel_id | Yes |