REST API
The Natural REST API lives at https://api.natural.co. Authenticate with a Bearer token in the Authorization header.
Agents and coding assistants should prefer the MCP server when an MCP-aware host runs the agent, the CLI for terminal/CI workflows, and the official SDKs for application runtimes. Use direct HTTP only for explicit low-level integrations, unsupported SDK gaps, or infrastructure work where REST is required.
Authentication
Include your API key in the Authorization header:
Request format
To create or update a resource, wrap your fields in data.attributes:
Response format
Responses follow a JSON:API-inspired structure:
Pagination
List endpoints use cursor-based pagination:
Pass ?cursor=cursor_abc123 to fetch the next page.
Idempotency
All write operations accept an Idempotency-Key header. If you retry a request with the same key, Natural returns the original response without re-executing the operation.
Full reference
See the API Reference for complete endpoint documentation with request/response schemas.