Reference
Start a campaign
Start a campaign. Refuses with code revision.not_tested until campaigns.test accepted the current draft.
View MarkdownThis page is generated from the source code on every release.
Start a campaign. Refuses with code revision.not_tested until campaigns.test accepted the current draft.
Overview
| Name | Value |
|---|---|
| Code | campaigns.start |
| Scope needed | campaigns.run |
| Risk | Write |
| May need confirmation | No |
| Runs as | Answers right away |
Needs Idempotency-Key |
No |
| Member roles allowed | owner, manager |
| In the app | Campaigns → control buttons |
Input fields
| Field | Type | Required | Description |
|---|---|---|---|
id |
uuid |
Yes |
Example request
curl -X POST https://tlg.builera.app/api/public/v2/ops/campaigns.start \
-H "Authorization: Bearer $TELEGRAM_AUTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id":"00000000-0000-0000-0000-000000000000"}'Output fields (data)
| Field | Type | Required |
|---|---|---|
ok |
true |
Yes |
Example answer
{
"data": {
"ok": true
}
}Using it over MCP
Tool campaigns_start is listed on the profiles: Automation setup (setup). On other profiles, find it with tools_search and run it with tools_run.