API Docs

info Important Note

Check all the api endpoint status here or go to below link:

https://api.amit.is-a.dev

Introduction

Welcome to the unified API documentation for your services. Here you will find comprehensive guides and endpoint references for the Cloud Compiler, WhatsApp Logger, and Ada Web platforms.

vpn_key Authentication

Most API requests require a Bearer token in the Authorization header. You can generate your API keys from your developer dashboard.

Authorization: Bearer YOUR_API_KEY

terminal Cloud Compiler API

Remote execution environments for Python, C, and C++.

Execute Code

Compiles and runs code in an isolated container.

POST /api/v1/compiler/execute

Request Body

{
  "language": "python",
  "code": "print('Hello, Cloud Compiler!')",
  "stdin": ""
}

Response

{
  "status": "success",
  "data": {
    "output": "Hello, Cloud Compiler!\n",
    "executionTimeMs": 42,
    "memoryUsageKb": 1204
  }
}

forum WhatsApp Logger API

Self-hosted WhatsApp status and message tracking endpoints.

Retrieve Logs

Fetches logged activities with pagination.

GET /api/v1/whatsapp/logs

Query Parameters

Parameter Type Description
limit integer Number of records to return (default: 50)
offset integer Number of records to skip
type string Filter by log type (status, message)

Response

{
  "data": [
    {
      "id": "log_9x8a7",
      "contactNumber": "+1234567890",
      "logType": "status_online",
      "timestamp": "2026-04-04T15:23:01Z"
    }
  ],
  "meta": {
    "total": 142
  }
}

smart_toy Ada Web API

Backend integration for the Ada intelligent assistant platform.

Generate AI Response

Sends a prompt to the Ada backend and retrieves a generated completion.

POST /api/v1/ada/generate

Request Body

{
  "prompt": "Explain quantum computing in one sentence.",
  "context_mode": true,
  "max_tokens": 150
}

Response

{
  "id": "gen_a1b2c3",
  "response": "Quantum computing utilizes the principles of quantum mechanics to process information in ways that allow for exponentially faster problem-solving in specific domains.",
  "usage": {
    "prompt_tokens": 8,
    "completion_tokens": 24
  }
}