Create list
documentedCreate a new contact list with optional per-contact fields.
POST /listListsno 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/list" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"list": {"name": "{{$list_name}}", "contacts": {"gsm": [ {"value": "{{$phone1}}", "info1": "{{$phone1_info1}}", "info2": "{{$phone1_info2}}", "info3": "{{$phone1_info3}}", "info4": "{{$phone1_info4}}" }, {"value": "{{$phone2}}", "info1": "{{$phone2_info1}}", "info2": "{{$phone2_info2}}", "info3": "{{$phone2_info3}}", "info4": "{{$phone2_info4}}" } ] } } }'