Start voice broadcast
documentedStart a voice broadcast campaign.
POST /v2/campaigns/broadcasts/{id}/startCampaignsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
I couldn’t find a current CallFire API v2 endpoint at /v2/campaigns/broadcasts/{id}/start in the official docs. The CallFire v2 API provides start endpoints for voice and text broadcasts at the following paths instead:
- POST https://api.callfire.com/v2/calls/broadcasts/{id}/start
- POST https://api.callfire.com/v2/texts/broadcasts/{id}/start
Base URL for v2 is https://api.callfire.com/v2. Authentication for API v2 is via HTTP Basic Auth using a generated API credential (username:password), per CallFire’s documentation. See the sources cited for the authentication method and endpoints. If you do want to use OAuth2 in theory, you can swap in an Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}} header, but note the official v2 docs show Basic auth as the standard method. ([developers.callfire.com](https://developers.callfire.com/docs.html?utm_source=openai))
Voice broadcast start (closest working endpoint):
npx -y keychains@latest curl "https://api.callfire.com/v2/calls/broadcasts/{{$id}}/start" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Basic {{CALLFIRE_SECRET}}"
Text broadcast start (closest working endpoint):
npx -y keychains@latest curl "https://api.callfire.com/v2/texts/broadcasts/{{$id}}/start" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Basic {{CALLFIRE_SECRET}}"
Optional OAuth2 variant (if you’re using an OAuth2 token instead of Basic credentials):
Voice:
npx -y keychains@latest curl "https://api.callfire.com/v2/calls/broadcasts/{{$id}}/start" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}"
Text:
npx -y keychains@latest curl "https://api.callfire.com/v2/texts/broadcasts/{{$id}}/start" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}"
Variables
[
{"name": "id", "label": "Broadcast ID", "placeholder": "e.g. 11646003", "type": "text", "exampleValue": "11646003"},
{"name": "CALLFIRE_SECRET", "label": "CallFire API credential (base64 of username:password)", "placeholder": "Base64(username:password)", "type": "text", "exampleValue": "dXNlcm5hbWU6cGFzc3dvcmQ="},
{"name": "OAUTH2_ACCESS_TOKEN", "label": "OAuth2 access token", "placeholder": "Bearer token", "type": "text", "exampleValue": "ya29.a0Ae4r..."}
]