Integrate AiTenzo into your apps

Simple REST API. Generate code, fix bugs, run agents — programmatically from any language.

1

Get API Key

Sign up & grab your key from Profile → API

2

Send Request

POST to /api/v1/generate with your prompt

3

Receive Code

Get JSON response with the generated code

4

Build

Integrate into your app, CI/CD, or IDE

Authentication

All API requests require an API key. Include it as a Bearer token in the Authorization header.

# Example with curl
curl https://aitenzo.com/api/v1/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "Write a PHP function to validate email", "language": "php"}'

Endpoints

POST /api/v1/generate Generate code from a prompt
POST /api/v1/fix Fix a bug in provided code
POST /api/v1/refactor Refactor existing code
POST /api/v1/explain Explain what code does
POST /api/v1/tests Generate test cases for code
POST /api/v1/agent/plan Run the Plan Feature agent
POST /api/v1/agent/debug Run the Debug agent
POST /api/v1/agent/security Run the Security Review agent
GET /api/v1/credits Get remaining credits
GET /api/v1/usage Get usage statistics

Example response

{
  "success": true,
  "model": "gpt-4o",
  "code": "function validateEmail($email) {\n    return filter_var($email, FILTER_VALIDATE_EMAIL) !== false;\n}",
  "language": "php",
  "credits_used": 1,
  "credits_remaining": 4999,
  "request_id": "req_a1b2c3d4"
}

Rate limits

60
requests / minute
1,000
requests / hour
10,000
requests / day

Enterprise-grade security

All API traffic is encrypted in transit (TLS 1.3). API keys are stored as bcrypt hashes. Rate limiting protects against abuse. SOC 2 compliance roadmap in progress.

TLS 1.3 encryption in transit
Bcrypt-hashed API keys (cost 12)
Per-key rate limiting
IP whitelisting (Enterprise)
Webhook signature verification
AES-256-GCM for stored secrets

Get your API key

Sign up free, find your key in Profile → API. Free plan includes 100 API requests/month.

Get API access