Sign in

Add agents to collective texting

documented

Add agents to a collective_texting campaign

POST /v2/collective_texting/{campaign_id}/agents/add/Peer To Peer Textingno implementation yet0 runs
No 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.callhub.io/v2/collective_texting/{{$campaign_id}}/agents/add/" \
  -X POST \
  -H "Authorization: Token {{CALLHUB_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"agents": [{"email": "{{$email}}", "username": "{{$username}}"}]}'