The Nixflex API is REST over HTTPS. All requests use JSON. Authentication is via Bearer token (see Authentication).Documentation Index
Fetch the complete documentation index at: https://docs.nixflex.com/llms.txt
Use this file to discover all available pages before exploring further.
Base URL
Versioning
The current version is v1. All paths are prefixed/v1/.
When v2 is released, v1 will continue working unchanged for at least 12 months. Breaking changes always live behind a new version.
Authentication
Every request requires anAuthorization header:
key_id and key_secret is required. See Authentication for details.
Request format
POST, PUT, and PATCH requests must include Content-Type: application/json and a JSON body.
GET requests use query parameters where applicable.
Response format
All responses are JSON. Success responses return the resource directly:Pagination
List endpoints (GET /v1/agents, GET /v1/calls, etc.) support pagination:
| Parameter | Default | Max |
|---|---|---|
limit | 25 | 100 |
offset | 0 | — |
count for total available results.
Resource list
Agents
Create and manage AI agents (prompt, voice, behaviour).
Calls
List, fetch, and trigger calls. Outbound + batch.
Phone numbers
Import Twilio numbers and attach them to agents.
SMS
Send individual messages and bulk campaigns.
Account
Manage API keys and view usage.
Status codes
| Code | Meaning |
|---|---|
200 | Success (GET, PUT, PATCH, DELETE) |
201 | Created (POST) |
400 | Invalid request — check parameters |
401 | Not authenticated — check API key |
403 | Authenticated but not permitted |
404 | Resource not found |
409 | Conflict (e.g. number already imported) |
429 | Rate limited — see Retry-After header |
500 | Server error — contact support |
502 | Upstream provider error (Twilio, etc.) |
Idempotency
Mutation endpoints (POST, PUT, PATCH, DELETE) accept an optional Idempotency-Key header for safe retries: