REST API v1.0

API Reference

Complete reference documentation for the ChatTime AI REST API.

Getting Started

Base URL

https://api.ChatTime.ai/v1

API Endpoints

Explore all available endpoints and their documentation.

Authentication

Learn how to authenticate API requests with API keys and OAuth.

POST /auth/token
POST /auth/refresh
View docs
Conversations

Create and manage conversation sessions with your chatbots.

GET /conversations
POST /conversations
GET /conversations/:id
View docs
Messages

Send and receive messages within conversations.

GET /messages
POST /messages
DELETE /messages/:id
View docs
Users

Manage end-user profiles and preferences.

GET /users
POST /users
PUT /users/:id
View docs
Webhooks

Configure webhooks to receive real-time event notifications.

GET /webhooks
POST /webhooks
DELETE /webhooks/:id
View docs
Documents

Upload and manage training documents for your chatbots.

GET /documents
POST /documents
DELETE /documents/:id
View docs

Quick Example

POST/v1/messages
curl -X POST https://api.ChatTime.ai/v1/messages \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "conversation_id": "conv_123abc",
    "content": "Hello, how can I help you today?",
    "role": "assistant"
  }'

Official SDKs

Use our official SDKs for faster integration.