Sign in

Add NP AI to campaign

documented

Add NP AI destinations to a campaign's NP AI list.

PUT /campaign/{id}/npaiCampaignsno 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.smsfactor.com/campaign/{{$id}}/npai" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"npai": [{"destination": "{{$destination}}", "info1": "{{$info1}}", "info2": "{{$info2}}", "info3": "{{$info3}}", "info4": "{{$info4}}"}]}'