Public API
API keys and REST endpoints for managing snippets and categories programmatically
API Keys
Generate keys to manage snippets and categories via the public REST API at
https://api.insertkit.comYour keys
No API keys yet
Create a named key above to authenticate requests from scripts or integrations.
API Reference
Base URL:
https://api.insertkit.comAuthentication headers
X-API-Key: ik_live_your_api_key Authorization: Bearer ik_live_your_api_key
Notes
- Snippet triggers must start with
/(e.g./sig) - When creating a snippet without
category_id, it is assigned to your Default category - Use
category_id=__none__to list uncategorized snippets - For by-trigger endpoints, URL-encode the trigger (e.g.
%2Fhellofor/hello)
Snippets
8 endpointsCategories
5 endpointsResponse shapes
Snippet object
{
"id": "uuid",
"snippet": "/hello",
"title": "Greeting",
"content": "Hello!",
"access_level": "private",
"category": { "id": "uuid", "name": "Default" },
"tags": [],
"is_dynamic": false,
"dynamic_fields": [],
"formatting": {},
"is_favorite": false,
"usage_count": 0,
"created_at": "...",
"updated_at": "..."
}Category object
{
"id": "uuid",
"name": "Sales",
"is_default": false,
"shortcut_count": 5,
"created_at": "...",
"updated_at": "..."
}