Get a campaign
flow_get_campaignOne campaign by id: audience, steps (channel, sender, template, fallback condition), schedule and pacing, and its performance once sent. performance.sent and delivered count messages, each fallback hop as one; sentParts and deliveredParts are the SMS parts they were billed as. rate is delivered over recipients; the breakdown rows give each channel's own rate. performance.cost is in EUR. A manual A/B test awaiting its winner keeps collecting clicks with no end date (settlement.collecting true, settlesAt null) until the winner is picked. On an A/B test, recipientCount is the whole audience, performance.recipients the rounds' contacts until the winner's send exists, then that send's contacts alone, abTest.testRecipientCount every round's contacts and abTest.variants the round a winner is picked from, with each variant's contacts; links[].hops are per sender, so variants on one sender share a hop. link opens the campaign in the portal; preview is each step's message as a recipient sees it, each variable filled with its fallback.
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": {
"id": "<id>"
},
"name": "flow_get_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |