Sanity
33 actions · 2 auth methods
DocumentsIAM
Authentication
API Token
Connect with a Sanity project robot token (project > API > Tokens) using the Developer permission, which grants access t…Guides: Connector Profile, Link Account
OAuth 2.0
Recommended for multi-user apps acting on behalf of Sanity users. Requires OAuth client credentials that Sanity provisio…Guides: Connector Profile, Link Account
Getting Started
Create or Select a Project
Set up a new project or select an existing one. See the Projects Guide.
Configure the Connector
Enable the connector and set up a connector profile in your project. See Managing Connectors.

Connector Profile
Sanity - API Token
Connector Profile
Sanity - OAuth 2.0
Link an Account
Connect an account using StackOne Hub or Auth Link.

Link Account
Sanity - API Token
Link Account
Sanity - OAuth 2.0
Use Actions
Invoke actions using one of the methods below:
- MCP – Model Context Protocol for AI assistants
- A2A – Agent-to-Agent protocol
- AI Toolset (TypeScript) – TypeScript SDK for AI agents
- AI Toolset (Python) – Python SDK for AI agents
- Actions RPC – Direct API calls
- Playground – Test actions in the dashboard