Skip to content

API Reference

Getting Started

The Contox API uses RESTful conventions with JSON request and response bodies. Authenticate using an API key in the Authorization header or a session cookie. All requests should be made to the base URL below.

Base URLhttps://contox.dev
cURL
# Authenticate with an API key
curl https://contox.dev/api/projects \
  -H "Authorization: Bearer ctxk_your_api_key_here"

Auth

User authentication and session management

2 endpoints

Projects

Create and manage projects within your team

5 endpoints

Contexts

Manage context documents, the core of Contox

9 endpoints

AI

AI-powered context analysis and suggestions

3 endpoints

Team

Manage team members and invitations

2 endpoints

Billing

Subscription management and Stripe integration

4 endpoints

API Keys

Manage API keys for programmatic access

2 endpoints

Webhooks

Configure webhooks for real-time event notifications

5 endpoints

Integrations

Connect Contox with VS Code, Slack, and more

3 endpoints

Analytics

Usage analytics and team statistics

2 endpoints

Admin

Admin-only endpoints for platform management

1 endpoint

Need help? Reach us at support@contox.dev