Add texts to campaign
documentedAdd text recipients to a campaign.
POST /v2/campaigns/{id}/textsCampaignsno 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)
npx -y keychains@latest curl "https://api.callfire.com/v2/texts" \
-X POST \
-H "Authorization: Basic {{CALLFIRE_BASIC_AUTH}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"campaignId": {{$campaignId}}, "defaultMessage": "{{$defaultMessage}}", "strictValidation": {{$strictValidation}}, "body": [ {"phoneNumber": "{{$recipient_phoneNumber}}", "message": "{{$recipient_message}}"} ], "fromNumber": "{{$fromNumber}}", "media": [{"id": {{$mediaId}}}] }'