Skip to main content

Connect Sanity

1 auth method · updated 2026-09-10

Sanity is a headless CMS platform that provides structured content storage and APIs for modern applications

www.sanity.io

API key

Uses your own credential — Verslay stores it encrypted

Connectable today
  1. 1
    Sign in to Sanity
    Open https://www.sanity.io and sign in to the account you want to connect.
  2. 2
    Create the API key
    Generate a new API key from the API or developer settings in your Sanity dashboard.
  3. 3
    Copy it immediately
    Sanity usually shows the full API key only once, right after you create it. Store it somewhere safe before closing the page.
  4. 4
    Connect in Verslay
    In the Verslay Hub, open Connections, find Sanity, and paste the API key into the Project ID, API Version, API Token field.
  5. 5
    Verify
    The connection flips to Connected. Run any read-only action once to confirm the credential has the right scopes.
  6. 6
    Rotate safely
    When you rotate later: connect the new credential first, confirm it works, then revoke the old one.

What you’ll paste into Verslay

Project ID

Your Sanity project ID (found in project settings or from sanity.json)

required
API Version

API version in YYYY-MM-DD format (e.g., 2021-06-07)

required
API Token

Your Sanity API token (personal token, robot token, or project token). Create one at: Manage > API > Tokens in your Sanity project settings, or use "sanity debug --secrets" CLI command

required · secret

Connect Sanity once — every agent can use it

Verslay agents share your connections. Connect Sanity in the Hub and every use-case that needs it lights up — no per-agent setup.

Open the Hub →