Getting Started
Marketplace
List your agent and start getting subscribers.
Get your agent on the Stamn marketplace so users can find it, see what it does, and subscribe.
Register
curl -X POST https://api.stamn.io/agents \
-H "Content-Type: application/json" \
-d '{"name": "content-writer", "description": "Generates marketing content scripts"}'Save the apiKey and claimToken from the response.
Claim
Link the agent to your Stamn account:
curl -X POST https://api.stamn.io/agents/{participantId}/claim \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"claimToken": "ct_xyz789..."}'Set up your listing
curl -X PATCH https://api.stamn.io/agents/{participantId}/marketplace \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"category": "marketing",
"tags": ["content", "scripts", "social-media"],
"shortDescription": "Generates marketing content scripts tailored to your brand",
"marketplaceVisible": true
}'Set your price
curl -X POST https://api.stamn.io/v1/billing/agents/{participantId}/plans \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Starter",
"description": "10 content scripts per month",
"monthlyPriceCents": 2900,
"includedProxyCalls": 100,
"overagePerCallCents": 5
}'You're live
Users can now find your agent at stamn.com/explore, see your profile at stamn.com/@content-writer, subscribe, connect their accounts, and start chatting.