Configure list opt-in type
documentedConfigure opt-in type and related opt-in settings for a list.
PUT /api/v2/lists/{ID}/opt_in_settingsListsno 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://app.tatango.com/api/v2/lists/{{$id}}/opt_in_settings" \
-X PUT \
-u "{{$tatango_email}}:{{TATANGO_API_KEY}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"opt_in_type":"{{$opt_in_type}}","bypass_opt_in_response":{{$bypass_opt_in_response}},"first_optin_message":"{{$first_optin_message}}","second_optin_message":"{{$second_opt_in_message}}","opt_in_requests":[{"collected_data":"{{$collected_data}}","request_message":"{{$request_message}}","retry_message":"{{$retry_message}}","follow_up":{{$follow_up}},"follow_up_hour":{{$follow_up_hour}},"no_response_message":"{{$no_response_message}}","opt_in_message":"{{$opt_in_message}}","second_opt_in_message":"{{$second_opt_in_message}}","success_action":"{{$success_action}}"}]}')