Add to NP AI list
documentedAdd contacts to the NPAI list.
POST /npaiNPAIno 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.smsfactor.com/npai" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"npai": {"contacts": {"gsm": [ {"value": "{{$phone1}}", "info1": "{{$info1_1}}", "info2": "{{$info2_1}}"} , {"value": "{{$phone2}}", "info1": "{{$info1_2}}", "info2": "{{$info2_2}}"} ] } } }'