Systeme.io
name: systeme
by byungkyu · published 2026-03-22
$ claw add gh:byungkyu/byungkyu-systeme---
name: systeme
description: |
Systeme.io API integration with managed OAuth. Manage contacts, tags, courses, communities, and subscriptions.
Use this skill when users want to manage Systeme.io contacts, enroll students in courses, manage community memberships, or handle subscriptions.
For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
Requires network access and valid Maton API key.
metadata:
author: maton
version: "1.0"
clawdbot:
emoji: 🧠
homepage: "https://maton.ai"
requires:
env:
- MATON_API_KEY
---
# Systeme.io
Access the Systeme.io API with managed OAuth authentication. Manage contacts, tags, courses, communities, and subscriptions.
Quick Start
# List contacts
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://gateway.maton.ai/systeme/api/contacts')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOFBase URL
https://gateway.maton.ai/systeme/{native-api-path}Replace `{native-api-path}` with the actual Systeme.io API endpoint path. The gateway proxies requests to `api.systeme.io` and automatically injects your API key.
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
1. Sign in or create an account at [maton.ai](https://maton.ai)
2. Go to [maton.ai/settings](https://maton.ai/settings)
3. Copy your API key
Connection Management
Manage your Systeme.io connections at `https://ctrl.maton.ai`.
List Connections
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections?app=systeme&status=ACTIVE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOFCreate Connection
python <<'EOF'
import urllib.request, os, json
data = json.dumps({'app': 'systeme'}).encode()
req = urllib.request.Request('https://ctrl.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))
EOFGet Connection
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.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": "21fd90f9-5935-43cd-b6c8-bde9d915ca80",
"status": "ACTIVE",
"creation_time": "2025-12-08T07:20:53.488460Z",
"last_updated_time": "2026-01-31T20:03:32.593153Z",
"url": "https://connect.maton.ai/?session_token=...",
"app": "systeme",
"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://ctrl.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))
EOFSpecifying Connection
If you have multiple Systeme.io connections, specify which one to use with the `Maton-Connection` header:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://gateway.maton.ai/systeme/api/contacts')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOFIf omitted, the gateway uses the default (oldest) active connection.
API Reference
Contact Operations
#### List Contacts
GET /systeme/api/contacts**Query Parameters:**
#### Get Contact
GET /systeme/api/contacts/{id}#### Create Contact
POST /systeme/api/contacts
Content-Type: application/json
{
"email": "john@example.com",
"firstName": "John",
"lastName": "Doe",
"phoneNumber": "+1234567890",
"locale": "en",
"fields": [
{
"slug": "custom_field_slug",
"value": "custom value"
}
]
}#### Update Contact
PATCH /systeme/api/contacts/{id}
Content-Type: application/merge-patch+json
{
"firstName": "Jane",
"lastName": "Smith"
}#### Delete Contact
DELETE /systeme/api/contacts/{id}Tag Operations
#### List Tags
GET /systeme/api/tags#### Get Tag
GET /systeme/api/tags/{id}#### Create Tag
POST /systeme/api/tags
Content-Type: application/json
{
"name": "VIP Customer"
}#### Update Tag
PUT /systeme/api/tags/{id}
Content-Type: application/json
{
"name": "Premium Customer"
}#### Delete Tag
DELETE /systeme/api/tags/{id}Contact Tag Operations
#### Assign Tag to Contact
POST /systeme/api/contacts/{id}/tags
Content-Type: application/json
{
"tagId": 12345
}#### Remove Tag from Contact
DELETE /systeme/api/contacts/{id}/tags/{tagId}Contact Field Operations
#### List Contact Fields
GET /systeme/api/contact_fields#### Create Contact Field
POST /systeme/api/contact_fields
Content-Type: application/json
{
"name": "Company Name",
"slug": "company_name"
}#### Update Contact Field
PATCH /systeme/api/contact_fields/{slug}
Content-Type: application/merge-patch+json
{
"name": "Organization Name"
}#### Delete Contact Field
DELETE /systeme/api/contact_fields/{slug}Course Operations
#### List Courses
GET /systeme/api/school/courses#### List Enrollments
GET /systeme/api/school/enrollments#### Create Enrollment
POST /systeme/api/school/courses/{courseId}/enrollments
Content-Type: application/json
{
"contactId": 12345,
"accessType": "full_access"
}**Required Fields:**
**Note:** If `accessType` is `partial_access`, you must also provide a `modules` array with module IDs.
#### Delete Enrollment
DELETE /systeme/api/school/enrollments/{id}Community Operations
#### List Communities
GET /systeme/api/community/communities#### List Memberships
GET /systeme/api/community/memberships#### Create Membership
POST /systeme/api/community/communities/{communityId}/memberships
Content-Type: application/json
{
"contactId": 12345
}#### Delete Membership
DELETE /systeme/api/community/memberships/{id}Subscription Operations
#### List Subscriptions
GET /systeme/api/payment/subscriptions#### Cancel Subscription
POST /systeme/api/payment/subscriptions/{id}/cancelPagination
Systeme.io uses cursor-based pagination with the following parameters:
GET /systeme/api/contacts?limit=50&startingAfter=12345&order=asc**Parameters:**
**Response:**
{
"items": [...],
"hasMore": true
}When `hasMore` is `true`, use the ID of the last item in `items` as `startingAfter` to get the next page.
Code Examples
JavaScript
const response = await fetch(
'https://gateway.maton.ai/systeme/api/contacts',
{
headers: {
'Authorization': `Bearer ${process.env.MATON_API_KEY}`
}
}
);
const data = await response.json();Python
import os
import requests
response = requests.get(
'https://gateway.maton.ai/systeme/api/contacts',
headers={'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}'}
)
data = response.json()Create Contact with Tag
import os
import requests
# Create contact
contact = requests.post(
'https://gateway.maton.ai/systeme/api/contacts',
headers={
'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}',
'Content-Type': 'application/json'
},
json={
'email': 'new@example.com',
'firstName': 'New',
'lastName': 'Contact'
}
).json()
# Assign tag
requests.post(
f'https://gateway.maton.ai/systeme/api/contacts/{contact["id"]}/tags',
headers={
'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}',
'Content-Type': 'application/json'
},
json={'tagId': 12345}
)Notes
Error Handling
| Status | Meaning |
|--------|---------|
| 400 | Missing Systeme.io connection or bad request |
| 401 | Invalid or missing Maton API key |
| 429 | Rate limited (check `Retry-After` header) |
| 4xx/5xx | Passthrough error from Systeme.io API |
Troubleshooting: API Key Issues
1. Check that the `MATON_API_KEY` environment variable is set:
echo $MATON_API_KEY2. Verify the API key is valid by listing connections:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.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))
EOFTroubleshooting: Invalid App Name
1. Ensure your URL path starts with `systeme`. For example:
Resources
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...