Calimatic Connect|Documentation
PricingSign In
Sanity

Sanity

Structured content platform and headless CMS.

Cmsapi_key_authproxy

Connect Sanity

Sanity uses API key authentication. Send your credentials directly via the connect endpoint:

POST /connect/v1/providers/sanity/connect
# Headers
Authorization: YOUR_JWT_TOKEN
Content-Type: application/json
# Body
{
"credentials": { "apiKey": "your-api-key" }
}

Make API Calls via Proxy

Use the proxy endpoint to make authenticated API calls to Sanity without managing tokens yourself. Calimatic Connect handles credential injection and token refresh automatically.

POST /connect/v1/proxy/sanity
# Headers
Authorization: YOUR_JWT_TOKEN
Content-Type: application/json
# Body
{
"method": "GET",
"path": "/me"
}

Check Status

Verify whether your Sanity connection is active and credentials are valid:

GET /connect/v1/providers/sanity/status
# Headers
Authorization: YOUR_JWT_TOKEN

Disconnect

Remove the Sanity connection and revoke stored credentials:

DELETE /connect/v1/providers/sanity/disconnect
# Headers
Authorization: YOUR_JWT_TOKEN