Create an account group
create_groupCreate a group inside one workspace: a named set of its channels, so a post can target all of them at once. channel_ids must belong to this workspace. A group can have a market (audience_countries, audience_world, audience_timezone): its accounts without their own market are timed for it by get_best_times.
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": {
"workspace_id": "<workspace_id>",
"name": "<name>"
},
"name": "create_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| channel_ids | No | ||
| workspace_id | Yes | Workspace id from list_workspaces | |
| audience_world | No | true: the group speaks to the whole world (overrides audience_countries) | |
| idempotency_key | No | Any unique string you choose (REST: the Idempotency-Key header works too). Retrying with the same key and body returns the first result instead of creating a second one. Kept 24 hours. | |
| audience_timezone | No | IANA zone of the audience, when one zone fits it | |
| audience_countries | No | Two-letter countries this group's accounts speak to, e.g. ["US","GB"] |