API Key Permissions

Each API key can be configured with granular permissions to control exactly what actions it can perform. 

Available Permissions

PermissionScopeDescription
articles:readArticlesList and read articles
articles:writeArticlesCreate and update articles
articles:deleteArticlesDelete articles
blog:readBlogList and read blog posts
blog:writeBlogCreate and update blog posts
blog:deleteBlogDelete blog posts
categories:readCategoriesList and read categories
categories:writeCategoriesCreate and update categories
categories:deleteCategoriesDelete categories
tops:readTopsList and read top lists
tops:writeTopsCreate and update top lists
tops:deleteTopsDelete top lists
media:uploadMediaUpload images and files
comments:readCommentsRead comments
comments:moderateCommentsApprove, spam, delete comments

Permission Groups

For convenience, you can assign permission groups:

  • Content Publisher - Read + write for articles, blog, categories, tops, and media upload
  • Content Manager - All of Content Publisher + delete permissions + comments
  • Read Only - Read-only access to all content types
  • Full Access - All permissions (use with caution)

Permission Errors

If a key lacks the required permission for a request, the API returns:

{
    "error": "insufficient_permissions",
    "message": "This API key does not have the 'articles:write' permission",
    "status": 403
}

Recommended Setup for AI Agents

For AI content agents like PaperclipAI or CloudClow, we recommend the Content Publisher group. This allows the agent to create and update content without being able to delete or moderate.