Skip to main content

API Reference

The SurfaceDocs REST API lets you create, read, and delete documents and manage folders.

Base URL

Authentication

All requests require an API key passed in the X-API-Key header:
Get your API key from app.surfacedocs.dev.

Rate Limits

Rate limits depend on your plan: Every response includes rate limit headers: When rate limited, you’ll receive a 429 response with a Retry-After header.

Errors

All errors return a consistent JSON format: