Krobar.ai Mailchimp API
Endpoints for managing email newsletter subscriptions
Operations 9
GET
/mailchimp/lists/{list_id}/interest-categories/{category_id}/interests
Get Interests In Category
#
Endpoints for managing email newsletter subscriptions
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/krobar-ai:krobar-ai-mailchimp-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Krobar AI Mailchimp API
description: '# API Krobar AI
Welcome to the Krobar AI API! A FastAPI-based service that is the backend for Krobar.ai
## Authentication
**IMPORTANT**: This API requires an API key for all endpoints except for /health. The API key must be provided in the `X-API-Key` header.
```bash
curl -H "X-API-Key: your-api-key" https://api.krobar.ai/endpoint
```'
contact:
name: API Support
email: tristan@kromatic.com
version: 1.0.0
tags:
- name: Mailchimp
description: Endpoints for managing email newsletter subscriptions
paths:
/mailchimp/lists:
get:
tags:
- Mailchimp
summary: Get Lists
description: Get all Mailchimp lists (audiences).
operationId: get_lists_mailchimp_lists_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'401':
description: Unauthorized
security:
- APIKeyCookie: []
/mailchimp/lists/{list_id}/interests:
get:
tags:
- Mailchimp
summary: Get List Interests
description: Get all interests for a specific list.
operationId: get_list_interests_mailchimp_lists__list_id__interests_get
security:
- APIKeyCookie: []
parameters:
- name: list_id
in: path
required: true
schema:
type: string
title: List Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'401':
description: Unauthorized
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/mailchimp/lists/{list_id}/interest-categories:
get:
tags:
- Mailchimp
summary: Get List Interest Categories
description: Get all interest categories for a list.
operationId: get_list_interest_categories_mailchimp_lists__list_id__interest_categories_get
security:
- APIKeyCookie: []
parameters:
- name: list_id
in: path
required: true
schema:
type: string
title: List Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'401':
description: Unauthorized
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/mailchimp/lists/{list_id}/interest-categories/{category_id}/interests:
get:
tags:
- Mailchimp
summary: Get Interests In Category
description: Get all interests in a category.
operationId: get_interests_in_category_mailchimp_lists__list_id__interest_categories__category_id__interests_get
security:
- APIKeyCookie: []
parameters:
- name: list_id
in: path
required: true
schema:
type: string
title: List Id
- name: category_id
in: path
required: true
schema:
type: string
title: Category Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'401':
description: Unauthorized
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/mailchimp/user/subscribe:
post:
tags:
- Mailchimp
summary: Subscribe User
description: Subscribe a user to a Mailchimp audience list.
operationId: subscribe_user_mailchimp_user_subscribe_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SubscribeRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'401':
description: Unauthorized
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyCookie: []
/mailchimp/user/unsubscribe:
post:
tags:
- Mailchimp
summary: Unsubscribe User
description: Unsubscribe a user from a Mailchimp audience list.
operationId: unsubscribe_user_mailchimp_user_unsubscribe_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/StatusRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'401':
description: Unauthorized
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyCookie: []
/mailchimp/user/status:
post:
tags:
- Mailchimp
summary: Check Subscription Status
description: Check a user's subscription status.
operationId: check_subscription_status_mailchimp_user_status_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/StatusRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'401':
description: Unauthorized
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyCookie: []
/mailchimp/user/interests:
put:
tags:
- Mailchimp
summary: Update Interests
description: Update a user's interests.
operationId: update_interests_mailchimp_user_interests_put
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/InterestsRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'401':
description: Unauthorized
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyCookie: []
/mailchimp/user/tags:
post:
tags:
- Mailchimp
summary: Manage Tags
description: Add or remove tags from a user's record.
operationId: manage_tags_mailchimp_user_tags_post
security:
- APIKeyCookie: []
parameters:
- name: action
in: query
required: true
schema:
type: string
title: Action
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/TagsRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'401':
description: Unauthorized
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
SubscribeRequest:
properties:
email:
type: string
format: email
title: Email
first_name:
anyOf:
- type: string
- type: 'null'
title: First Name
last_name:
anyOf:
- type: string
- type: 'null'
title: Last Name
interests:
anyOf:
- additionalProperties:
type: boolean
type: object
- type: 'null'
title: Interests
description: Dictionary of interest IDs and boolean values
tags:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Tags
description: List of tags to add to the subscriber
list_id:
anyOf:
- type: string
- type: 'null'
title: List Id
description: Mailchimp audience list ID (defaults to system default)
type: object
required:
- email
title: SubscribeRequest
description: Request model for subscribing to a list.
TagsRequest:
properties:
email:
type: string
format: email
title: Email
tags:
items:
type: string
type: array
title: Tags
description: List of tags to add or remove
list_id:
anyOf:
- type: string
- type: 'null'
title: List Id
description: Mailchimp audience list ID (defaults to system default)
type: object
required:
- email
- tags
title: TagsRequest
description: Request model for managing tags.
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
InterestsRequest:
properties:
email:
type: string
format: email
title: Email
interests:
additionalProperties:
type: boolean
type: object
title: Interests
description: Dictionary of interest IDs and boolean values
list_id:
anyOf:
- type: string
- type: 'null'
title: List Id
description: Mailchimp audience list ID (defaults to system default)
type: object
required:
- email
- interests
title: InterestsRequest
description: Request model for updating interests.
StatusRequest:
properties:
email:
type: string
format: email
title: Email
list_id:
anyOf:
- type: string
- type: 'null'
title: List Id
description: Mailchimp audience list ID (defaults to system default)
type: object
required:
- email
title: StatusRequest
description: Request model for checking subscription status.
securitySchemes:
APIKeyCookie:
type: apiKey
in: cookie
name: access_token
APIKeyHeader:
type: apiKey
in: header
name: X-API-Key