Create a custom field
documentedCreate a custom field for a list.
POST /api/v2/lists/{ID}/custom_fieldCustom Fieldsno 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/{{$list_id}}/custom_field" \
-X POST \
-u "{{$email}}:{{TATANGO_API_KEY}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"custom_field": {"label": "{{$label}}", "key": "{{$key}}", "content_type": "{{$content_type}}", "max_length": {{$max_length}}, "pattern": "{{$pattern}}", "should_validate_regex_via_api": {{$should_validate_regex_via_api}}, "default_value": "{{$default_value}}"}}'