docs: Rebuild documentation as enterprise-grade TLAS platform
- Migrate from custom HTTP server to VitePress framework
- Rename project to Tokenized License Approval System (TLAS)
- Add comprehensive documentation for all stakeholders:
- Business: Executive summary, value proposition, governance
- Operations: Infrastructure, installation, monitoring, backup
- Departments: User guide, workflows, verification, issuance
- Developers: API reference, authentication, webhooks, SDKs
- Compliance: OWASP, DPDP Act, IT Act, audit framework
- Add modern theme with dark mode and full-text search
- Update Dockerfile for VitePress build process
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 00:05:20 -04:00
|
|
|
# API Documentation
|
|
|
|
|
|
|
|
|
|
## Overview
|
|
|
|
|
|
2026-02-10 00:46:25 -04:00
|
|
|
The platform provides REST APIs for integrating with external systems. All APIs use JSON for request and response bodies.
|
docs: Rebuild documentation as enterprise-grade TLAS platform
- Migrate from custom HTTP server to VitePress framework
- Rename project to Tokenized License Approval System (TLAS)
- Add comprehensive documentation for all stakeholders:
- Business: Executive summary, value proposition, governance
- Operations: Infrastructure, installation, monitoring, backup
- Departments: User guide, workflows, verification, issuance
- Developers: API reference, authentication, webhooks, SDKs
- Compliance: OWASP, DPDP Act, IT Act, audit framework
- Add modern theme with dark mode and full-text search
- Update Dockerfile for VitePress build process
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 00:05:20 -04:00
|
|
|
|
|
|
|
|
## Base URL
|
|
|
|
|
|
|
|
|
|
```
|
2026-02-10 00:46:25 -04:00
|
|
|
Production: https://api.license.gov.in/v1
|
|
|
|
|
Staging: https://api-staging.license.gov.in/v1
|
docs: Rebuild documentation as enterprise-grade TLAS platform
- Migrate from custom HTTP server to VitePress framework
- Rename project to Tokenized License Approval System (TLAS)
- Add comprehensive documentation for all stakeholders:
- Business: Executive summary, value proposition, governance
- Operations: Infrastructure, installation, monitoring, backup
- Departments: User guide, workflows, verification, issuance
- Developers: API reference, authentication, webhooks, SDKs
- Compliance: OWASP, DPDP Act, IT Act, audit framework
- Add modern theme with dark mode and full-text search
- Update Dockerfile for VitePress build process
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 00:05:20 -04:00
|
|
|
```
|
|
|
|
|
|
2026-02-10 00:46:25 -04:00
|
|
|
## Interactive API Documentation
|
|
|
|
|
|
|
|
|
|
Explore and test APIs using our interactive Swagger UI:
|
|
|
|
|
|
|
|
|
|
**<ApiDocsLink />**
|
|
|
|
|
|
|
|
|
|
The Swagger documentation provides:
|
|
|
|
|
- Complete endpoint specifications
|
|
|
|
|
- Request/response schemas
|
|
|
|
|
- Interactive "Try it out" functionality
|
|
|
|
|
- Authentication testing
|
|
|
|
|
|
docs: Rebuild documentation as enterprise-grade TLAS platform
- Migrate from custom HTTP server to VitePress framework
- Rename project to Tokenized License Approval System (TLAS)
- Add comprehensive documentation for all stakeholders:
- Business: Executive summary, value proposition, governance
- Operations: Infrastructure, installation, monitoring, backup
- Departments: User guide, workflows, verification, issuance
- Developers: API reference, authentication, webhooks, SDKs
- Compliance: OWASP, DPDP Act, IT Act, audit framework
- Add modern theme with dark mode and full-text search
- Update Dockerfile for VitePress build process
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 00:05:20 -04:00
|
|
|
## Authentication
|
|
|
|
|
|
|
|
|
|
All API requests require authentication via Bearer token.
|
|
|
|
|
|
|
|
|
|
```http
|
|
|
|
|
Authorization: Bearer <access_token>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Obtain tokens through the authentication endpoint. See [Authentication](/developers/authentication) for details.
|
|
|
|
|
|
|
|
|
|
## Request Format
|
|
|
|
|
|
|
|
|
|
```http
|
|
|
|
|
POST /applications HTTP/1.1
|
2026-02-10 00:46:25 -04:00
|
|
|
Host: api.license.gov.in
|
docs: Rebuild documentation as enterprise-grade TLAS platform
- Migrate from custom HTTP server to VitePress framework
- Rename project to Tokenized License Approval System (TLAS)
- Add comprehensive documentation for all stakeholders:
- Business: Executive summary, value proposition, governance
- Operations: Infrastructure, installation, monitoring, backup
- Departments: User guide, workflows, verification, issuance
- Developers: API reference, authentication, webhooks, SDKs
- Compliance: OWASP, DPDP Act, IT Act, audit framework
- Add modern theme with dark mode and full-text search
- Update Dockerfile for VitePress build process
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 00:05:20 -04:00
|
|
|
Authorization: Bearer eyJhbGc...
|
|
|
|
|
Content-Type: application/json
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
"licenseType": "TRADE_LICENSE",
|
|
|
|
|
"applicantId": "12345",
|
|
|
|
|
"data": { ... }
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Response Format
|
|
|
|
|
|
|
|
|
|
### Success Response
|
|
|
|
|
|
|
|
|
|
```json
|
|
|
|
|
{
|
|
|
|
|
"success": true,
|
|
|
|
|
"data": {
|
|
|
|
|
"id": "APP-2026-00001",
|
|
|
|
|
"status": "SUBMITTED"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Error Response
|
|
|
|
|
|
|
|
|
|
```json
|
|
|
|
|
{
|
|
|
|
|
"success": false,
|
|
|
|
|
"error": {
|
|
|
|
|
"code": "VALIDATION_ERROR",
|
|
|
|
|
"message": "Invalid license type",
|
|
|
|
|
"details": [
|
|
|
|
|
{ "field": "licenseType", "message": "Must be one of: TRADE_LICENSE, FOOD_LICENSE" }
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Rate Limits
|
|
|
|
|
|
|
|
|
|
| Tier | Requests/minute | Burst |
|
|
|
|
|
|------|-----------------|-------|
|
|
|
|
|
| Standard | 60 | 100 |
|
|
|
|
|
| Premium | 300 | 500 |
|
|
|
|
|
|
|
|
|
|
Rate limit headers included in all responses:
|
|
|
|
|
```http
|
|
|
|
|
X-RateLimit-Limit: 60
|
|
|
|
|
X-RateLimit-Remaining: 45
|
|
|
|
|
X-RateLimit-Reset: 1707500000
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## API Endpoints
|
|
|
|
|
|
|
|
|
|
| Category | Endpoint | Description |
|
|
|
|
|
|----------|----------|-------------|
|
|
|
|
|
| Auth | `POST /auth/token` | Obtain access token |
|
|
|
|
|
| Applications | `POST /applications` | Submit new application |
|
|
|
|
|
| Applications | `GET /applications/:id` | Get application status |
|
|
|
|
|
| Documents | `POST /documents/upload` | Upload document |
|
|
|
|
|
| Verification | `GET /verify/:tokenId` | Verify certificate |
|
|
|
|
|
|
|
|
|
|
## SDKs
|
|
|
|
|
|
|
|
|
|
Official SDKs available:
|
2026-02-10 00:46:25 -04:00
|
|
|
- JavaScript/TypeScript: `npm install @license-authority/sdk`
|
|
|
|
|
- Python: `pip install license-authority-sdk`
|
|
|
|
|
- Java: Maven artifact `gov.in.license:license-authority-sdk`
|
docs: Rebuild documentation as enterprise-grade TLAS platform
- Migrate from custom HTTP server to VitePress framework
- Rename project to Tokenized License Approval System (TLAS)
- Add comprehensive documentation for all stakeholders:
- Business: Executive summary, value proposition, governance
- Operations: Infrastructure, installation, monitoring, backup
- Departments: User guide, workflows, verification, issuance
- Developers: API reference, authentication, webhooks, SDKs
- Compliance: OWASP, DPDP Act, IT Act, audit framework
- Add modern theme with dark mode and full-text search
- Update Dockerfile for VitePress build process
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 00:05:20 -04:00
|
|
|
|
|
|
|
|
## Documentation
|
|
|
|
|
|
|
|
|
|
- [Authentication](/developers/authentication) - Token management
|
|
|
|
|
- [Core APIs](/developers/core-apis) - Application and document APIs
|
|
|
|
|
- [Blockchain APIs](/developers/blockchain-apis) - Certificate verification
|
|
|
|
|
- [Webhooks](/developers/webhooks) - Event notifications
|
|
|
|
|
- [Error Handling](/developers/errors) - Error codes and handling
|