Prerequisites
Before you begin, make sure you have:- A G-Tateth account with at least one workspace (tenant)
- Access to Settings → Developer Console (Admin or Owner role required to create API keys)
- A tool to make HTTP requests:
curl, Postman, or any HTTP library in your language of choice - The base URL for your target environment (see Base URLs below)
Base URLs
All API paths are relative to the base URL, e.g.
https://api.g-tateth.com/api/v1/conversations.
Step 1 — Create an API key
- Log in to your G-Tateth account
- Go to Settings → Developer Console
- Click Create API Key
- Choose your environment (
productionorstaging) - Select the permissions your key needs (see Authentication for the full permission list)
- Copy the full key — it is only shown once
sk_live_. Staging keys start with sk_test_.
Note: Test keys are automatically blocked in the production environment.
Step 2 — Verify connectivity
Before making authenticated requests, confirm the API is reachable (no auth required):Step 3 — Make your first authenticated request
Pass your API key in theAuthorization header as a Bearer token:
X-API-Key header:
Pagination
All list endpoints return paginated results. Use thepage and limit query parameters to navigate:
Pagination response fields:
To retrieve all records, iterate pages until
page >= totalPages:
Common request examples
Create a customer
Create a conversation
Register a webhook
Error responses
All errors follow this shape:
See the Error Handling guide for full details and code examples.
Rate limits
Rate limits are enforced per API key. Every response includes these headers:X-RateLimit-Reset is a Unix timestamp. When you receive a 429, wait until that timestamp before retrying.
Default limits by plan:
See the Rate Limits guide for backoff examples and per-key custom limits.
API reference and Swagger UI
The interactive API explorer (Swagger UI) is available at:Note: Swagger UI requires a valid JWT session (log in to your G-Tateth account in the same browser).The raw OpenAPI 3.0 spec (JSON) — suitable for Postman import, code generators, and contract testing — is at:
docs/openapi.json.
Using the SDKs
Official SDKs handle auth, pagination, and retries for you.JavaScript / TypeScript
Python
Next steps
- Authentication guide — permissions, key rotation, IP whitelisting
- Webhooks guide — subscribe to real-time events
- Rate Limits guide — limits, headers, and backoff strategies
- Error Handling guide — all error codes with fix guidance
- Postman Collection — import and explore the API interactively