Send a transactional SMS
documentedSend a transactional SMS via API.
POST /v1/transactional/send-smsTransactionalno 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.ap3api.com/v1/transactional/send-sms" \
-X POST \
-H "X-Api-Key: {{AUTOPILOTHQ_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"asset": {"sms_body": "{{$sms_body}}", "sms_name": "{{$sms_name}}", "no_click_tracks": false, "add_utm_tracking": false, "preferred_phones": {"au": ["{{$full_phone}}"]}}, "smses": [ {"fields": {"phn::phone": {"c": "{{$country_code}}", "n": "{{$phone_number}}"}, "str::first": "{{$first_name}}", "str::last": "{{$last_name}}"}, "location": null }], "merge_by": ["phn::phone"], "merge_strategy": 2, "find_strategy": 0, "skip_non_existing": false }'"}