Welcome to the Genii by Tolk.ai REST API documentation. This API provides a comprehensive set of endpoints for managing resources in your application. Our API follows REST principles and uses standard HTTP methods and status codes.
💡 Base URL: https://genii-api.tolk.ai/v1
📄 Content Type: All requests and responses use JSON format: Content-Type: application/json
The API uses two API key authentication. Include your secret and your public API key in x-public-key and x-secret-key in your header using the followin scheme:
x-public-key: pk_...YOUR_PUBLIC_API_KEY
x-secret-key: sk_...YOUR_SECRET_API_KEY
bash
curl -H "x-public-key: pk_...YOUR_PUBLIC_API_KEY" \\
-H "x-secret-key: sk_...YOUR_SECRET_API_KEY" \\
-H "Content-Type: application/json" \\
<https://api.example.com/v1/users>
Authentication errors return a 401 Unauthorized status: