Welcome to Kama API Documentation

This documentation is a complete guide to using the Kama system API. Here you can learn about concepts, definitions, data types, authentication, and all API endpoints.

Documentation Structure

General Information

Feature Description
Base URL /api
Request Format application/json
Response Format application/json
Authentication Bearer Token
API Version 1.0

Common Conventions

Error Identifier

Error messages are returned in the following format:

{
  "success": false,
  "errors": ["Error message"]
}

Pagination

List endpoint responses include pagination information:

{
  "records": [...],
  "meta": {
    "total": 100,
    "current_page": 1,
    "per_page": 20
  }
}

Dates

Dates in the API can be sent in jalali date standard (default) or Gregorian format. Default format: YYYY-MM-DD.

Type to search...