Read and manage Mailchimp audiences, subscribers, campaigns, segments, and tags via an OAuth-handled API proxy.
Integrations
kit
Try itManage Kit (formerly ConvertKit) subscribers, tags, forms, sequences, broadcasts, and webhooks via managed OAuth.
What it does
Access the Kit V4 API through a Maton proxy using a Bearer token, with Kit OAuth handled via the Maton connection endpoint. Read and write subscribers, forms, tags, sequences, custom fields, broadcasts, segments, purchases, email templates, and webhooks. All create, update, and delete calls require explicit user approval before execution. Cursor-based pagination is used across list endpoints.
When to use it
- List and filter email subscribers by status or date range
- Create or update tags and custom fields
- Add subscribers to forms and email sequences
- Configure webhooks for subscriber lifecycle events
The skill document
Kit
Access the Kit (formerly ConvertKit) API with managed OAuth authentication. Manage subscribers, tags, forms, sequences, broadcasts, custom fields, and webhooks.
Quick Start
# List subscribers
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/kit/v4/subscribers?per_page=10')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Base URL
https://api.maton.ai/kit/{native-api-path}
Maton proxies requests to api.kit.com and automatically injects your OAuth token.
Authentication
All requests require the Maton API key in the Authorization header:
Authorization: Bearer $MATON_API_KEY
Environment Variable: Set your API key as MATON_API_KEY:
export MATON_API_KEY="YOUR_API_KEY"
Getting Your API Key
- Sign in or create an account at maton.ai
- Go to maton.ai/settings
- Copy your API key
Connection Management
Manage your Kit OAuth connections at https://api.maton.ai.
List Connections
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections?app=kit&status=ACTIVE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Create Connection
python <<'EOF'
import urllib.request, os, json
data = json.dumps({'app': 'kit'}).encode()
req = urllib.request.Request('https://api.maton.ai/connections', data=data, method='POST')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Content-Type', 'application/json')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Get Connection
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections/{connection_id}')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Response:
{
"connection": {
"connection_id": "{connection_id}",
"status": "ACTIVE",
"creation_time": "2026-02-07T00:04:08.476727Z",
"last_updated_time": "2026-02-07T00:05:58.001964Z",
"url": "https://connect.maton.ai/?session_token=...",
"app": "kit",
"metadata": {}
}
}
Open the returned url in a browser to complete OAuth authorization.
Delete Connection
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections/{connection_id}', method='DELETE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Specifying Connection
If you have multiple Kit connections, specify which one to use with the Maton-Connection header:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/kit/v4/subscribers')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Maton-Connection', '{connection_id}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
If you have multiple connections, always include this header to ensure requests go to the intended account.
Security & Permissions
- Access is scoped to email subscribers, forms, tags, sequences, broadcasts, and custom fields within the connected Kit account.
- All write operations require explicit user approval. Before executing any create, update, or delete call, confirm the target resource and intended effect with the user.
API Reference
Subscribers
List Subscribers
GET /kit/v4/subscribers
Query parameters:
per_page- Results per page (default: 500, max: 1000)after- Cursor for next pagebefore- Cursor for previous pagestatus- Filter by:active,inactive,bounced,complained,cancelled, orallemail_address- Filter by specific emailcreated_after/created_before- Filter by creation date (yyyy-mm-dd)updated_after/updated_before- Filter by update date (yyyy-mm-dd)include_total_count- Include total count (slower)
Response:
{
"subscribers": [
{
"id": 3914682852,
"first_name": "Test User",
"email_address": "test@example.com",
"state": "active",
"created_at": "2026-02-07T00:42:54Z",
"fields": {"company": null}
}
],
"pagination": {
"has_previous_page": false,
"has_next_page": false,
"start_cursor": "WzE0OV0=",
"end_cursor": "WzE0OV0=",
"per_page": 500
}
}
Get Subscriber
GET /kit/v4/subscribers/{id}
Create Subscriber
POST /kit/v4/subscribers
Content-Type: application/json
{
"email_address": "user@example.com",
"first_name": "John"
}
Update Subscriber
PUT /kit/v4/subscribers/{id}
Content-Type: application/json
{
"first_name": "Updated Name"
}
Tags
List Tags
GET /kit/v4/tags
Query parameters: per_page, after, before, include_total_count
Create Tag
POST /kit/v4/tags
Content-Type: application/json
{
"name": "new-tag"
}
Response:
{
"tag": {
"id": 15690016,
"name": "new-tag",
"created_at": "2026-02-07T00:42:53Z"
}
}
Update Tag
PUT /kit/v4/tags/{id}
Content-Type: application/json
{
"name": "updated-tag-name"
}
Delete Tag
DELETE /kit/v4/tags/{id}
Returns 204 No Content on success.
Tag a Subscriber
POST /kit/v4/tags/{tag_id}/subscribers
Content-Type: application/json
{
"email_address": "user@example.com"
}
Remove Tag from Subscriber
DELETE /kit/v4/tags/{tag_id}/subscribers/{subscriber_id}
Returns 204 No Content on success.
List Subscribers with Tag
GET /kit/v4/tags/{tag_id}/subscribers
Forms
List Forms
GET /kit/v4/forms
Query parameters:
per_page,after,before,include_total_countstatus- Filter by:active,archived,trashed, oralltype-embedfor embedded forms,hostedfor landing pages
Response:
{
"forms": [
{
"id": 9061198,
"name": "Creator Profile",
"created_at": "2026-02-07T00:00:32Z",
"type": "embed",
"format": null,
"embed_js": "https://chris-kim-2.kit.com/c682763b07/index.js",
"embed_url": "https://chris-kim-2.kit.com/c682763b07",
"archived": false,
"uid": "c682763b07"
}
],
"pagination": {...}
}
Add Subscriber to Form
POST /kit/v4/forms/{form_id}/subscribers
Content-Type: application/json
{
"email_address": "user@example.com"
}
List Form Subscribers
GET /kit/v4/forms/{form_id}/subscribers
Sequences
List Sequences
GET /kit/v4/sequences
Response:
{
"sequences": [
{
"id": 123,
"name": "Welcome Sequence",
"hold": false,
"repeat": false,
"created_at": "2026-01-01T00:00:00Z"
}
],
"pagination": {...}
}
Add Subscriber to Sequence
POST /kit/v4/sequences/{sequence_id}/subscribers
Content-Type: application/json
{
"email_address": "user@example.com"
}
List Sequence Subscribers
GET /kit/v4/sequences/{sequence_id}/subscribers
Broadcasts
List Broadcasts
GET /kit/v4/broadcasts
Query parameters: per_page, after, before, include_total_count
Response:
{
"broadcasts": [
{
"id": 123,
"publication_id": 456,
"created_at": "2026-02-07T00:00:00Z",
"subject": "My Broadcast",
"preview_text": "Preview...",
"content": "Content",
"public": false,
"published_at": null,
"send_at": null,
"email_template": {"id": 123, "name": "Text only"}
}
],
"pagination": {...}
}
Segments
List Segments
GET /kit/v4/segments
Query parameters: per_page, after, before, include_total_count
Custom Fields
List Custom Fields
GET /kit/v4/custom_fields
Response:
{
"custom_fields": [
{
"id": 1192946,
"name": "ck_field_1192946_company",
"key": "company",
"label": "Company"
}
],
"pagination": {...}
}
Create Custom Field
POST /kit/v4/custom_fields
Content-Type: application/json
{
"label": "Company"
}
Update Custom Field
PUT /kit/v4/custom_fields/{id}
Content-Type: application/json
{
"label": "Company Name"
}
Delete Custom Field
DELETE /kit/v4/custom_fields/{id}
Returns 204 No Content on success.
Purchases
List Purchases
GET /kit/v4/purchases
Query parameters: per_page, after, before, include_total_count
Email Templates
List Email Templates
GET /kit/v4/email_templates
Response:
{
"email_templates": [
{
"id": 4956167,
"name": "Text only",
"is_default": true,
"category": "Classic"
}
],
"pagination": {...}
}
Webhooks
List Webhooks
GET /kit/v4/webhooks
Create Webhook
POST /kit/v4/webhooks
Content-Type: application/json
{
"target_url": "https://example.com/webhook",
"event": {"name": "subscriber.subscriber_activate"}
}
Response:
{
"webhook": {
"id": 5291560,
"account_id": 2596262,
"event": {
"name": "subscriber_activate",
"initiator_value": null
},
"target_url": "https://example.com/webhook"
}
}
Delete Webhook
DELETE /kit/v4/webhooks/{id}
Returns 204 No Content on success.
Pagination
Kit uses cursor-based pagination. Use after and before query parameters with cursor values from the response.
GET /kit/v4/subscribers?per_page=100&after=WzE0OV0=
Response includes pagination info:
{
"subscribers": [...],
"pagination": {
"has_previous_page": false,
"has_next_page": true,
"start_cursor": "WzE0OV0=",
"end_cursor": "WzI0OV0=",
"per_page": 100
}
}
Code Examples
JavaScript
const response = await fetch(
'https://api.maton.ai/kit/v4/subscribers?per_page=10',
{
headers: {
'Authorization': `Bearer ${process.env.MATON_API_KEY}`
}
}
);
const data = await response.json();
Python
import os
import requests
response = requests.get(
'https://api.maton.ai/kit/v4/subscribers',
headers={'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}'},
params={'per_page': 10}
)
data = response.json()
Notes
- Kit API uses V4 (V3 is deprecated)
- Subscriber IDs are integers
- Custom field keys are auto-generated from labels
- Bulk operations (>100 items) are processed asynchronously
- Delete operations return 204 No Content with empty body
- IMPORTANT: When using curl commands, use
curl -gwhen URLs contain brackets to disable glob parsing - IMPORTANT: When piping curl output to
jqor other commands, environment variables like$MATON_API_KEYmay not expand correctly in some shell environments
Error Handling
| Status | Meaning |
|---|---|
| 400 | Missing Kit connection |
| 401 | Invalid or missing Maton API key |
| 403 | Insufficient permissions (check OAuth scopes) |
| 404 | Resource not found |
| 429 | Rate limited |
| 4xx/5xx | Passthrough error from Kit API |
Troubleshooting: API Key Issues
- Check that the
MATON_API_KEYenvironment variable is set:
echo $MATON_API_KEY
- Verify the API key is valid by listing connections:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Troubleshooting: Invalid App Name
- Ensure your URL path starts with
kit. For example:
- Correct:
https://api.maton.ai/kit/v4/subscribers - Incorrect:
https://api.maton.ai/v4/subscribers
Resources
Questions people ask
- Which Kit API version does this skill use?
- Kit API V4. V3 is deprecated. Subscriber IDs are integers and custom field keys are auto-generated from labels.
- Are write operations allowed?
- Yes, but every create, update, and delete call must be confirmed with the user before execution.
- How is authentication handled?
- Requests use the MATON_API_KEY as a Bearer token against api.maton.ai, and Kit OAuth is completed by opening the returned connection URL in a browser. With multiple Kit accounts, pass the Maton-Connection header to pick one.
Related skills
Access Klaviyo's marketing API with managed OAuth for profiles, lists, segments, campaigns, and more.
Manage MailerLite subscribers, groups, campaigns, automations, forms, fields, and segments via OAuth-authenticated API calls.
Call Brevo's contacts, lists, transactional email, templates, and campaign endpoints through a managed OAuth proxy.
Call SendGrid v3 endpoints through managed OAuth to send email, manage contacts, templates, and senders.
Programmatic access to ClickFunnels 2.0 contacts, products, orders, courses, forms, and webhooks via managed OAuth.