Sign in

Add interest category

documented

Create a new list interest category.

POST /lists/{list_id}/interest-categoriesInterest Categoriesno implementation yet0 runs
No 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://{{MAILCHIMP_SERVER_PREFIX}}.api.mailchimp.com/3.0/lists/{{$list_id}}/interest-categories" \
  -X POST \
  -u "anystring:{{MAILCHIMP_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"title": "{{$title}}", "type": "{{$type}}", "display_order": {{$display_order}}}'

# Docs: Add interest category (POST /lists/{list_id}/interest-categories) is in the Mailchimp Marketing API v3.0.
# Official reference: https://mailchimp.com/developer/marketing/api/interest-categories/add-interest-category/
# Endpoint base: https://{dc}.api.mailchimp.com/3.0/lists/{list_id}/interest-categories
# See also: List interest categories (GET) for listing existing categories.

Add interest category · Mailchimp · OpenIntegrations