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.com

Create a new key

Your keys

No API keys yet

Create a named key above to authenticate requests from scripts or integrations.

API Reference
Base URL: https://api.insertkit.com
Run in Postman

Authentication 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. %2Fhello for /hello)

Snippets

8 endpoints

Categories

5 endpoints

Response 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": "..."
}