Introduction
Chattz API is a RESTful HTTP API designed for programmatic access to Chattz’s platform features. The API is HTTPS-secured and uses standard JSON request and response formats.
Note: If you’re looking to integrate user authentication via Chattz (Login with Chattz), see our OAuth guide
Base URL:
https://chattz.net/api/API Versioning
API Versioning
Chattz exposes a single versioned API endpoint at v1. More versions may be added later. All requests should include the version number in the URL, like:
https://chattz.net/api/v{version_number}If an endpoint is deprecated, it will return an appropriate HTTP 400 or 410 error.
| Version | Status |
|---|---|
| 1 | Available |
HTTP Status Codes
Common HTTP Status Codes
| Status | Description |
|---|---|
| 200 | Request succeeded |
| 201 | Resource created |
| 400 | Bad request (invalid input) |
| 401 | Unauthorized (invalid or missing token) |
| 403 | Forbidden (insufficient permissions) |
| 404 | Resource not found |
| 429 | Too Many Requests |
| 500 | Internal server error |
| 503 | The server is temporarily unable to handle the request |
