Skip to content

Likha ERP Documentation

Welcome to the Likha ERP documentation. This guide covers all available information for interacting with your Likha ERP instance.

Getting Started

Table of Contents

Core Concepts

Authentication API

Items API

Files API

  • Files - Upload, access, and transform files

Automation API

  • Flows - Event-driven data processing and task automation
  • Triggers - Events and conditions that start flows
  • Operations - Individual actions within a flow
  • Data Chain - Understanding data flow between operations

Realtime API

  • Realtime - WebSocket and GraphQL subscriptions for live data updates

Base URL

All API requests should be made to:

https://your-domain.com

Authentication

All API endpoints require authentication. Include your access token in the request headers:

Authorization: Bearer YOUR_ACCESS_TOKEN

Query Parameters

Many endpoints support the following query parameters:

ParameterTypeDescription
fieldsarrayControl which fields are returned in the response
limitintegerLimit the number of objects returned
offsetintegerSkip a number of items when fetching data
sortarraySort results by specified fields (use - prefix for descending)
filterobjectFilter items by given conditions - see Filter Rules for complete syntax
searchstringFilter items containing the search query in any field
metastringSpecify what metadata to return in the response
backlinkbooleanRetrieve relational items excluding reverse relations with wildcard fields

Response Format

All successful responses follow this structure:

json
{
  "data": {},
  "meta": {}
}

The meta object contains pagination and total count information when applicable.


Quick Start

Basic CRUD Operations (REST API)

All API requests are made using standard HTTP methods and JSON.

List items:

http
GET /items/articles?limit=10 HTTP/1.1
Host: your-domain.com
Authorization: Bearer YOUR_ACCESS_TOKEN

Create item:

http
POST /items/articles HTTP/1.1
Host: your-domain.com
Authorization: Bearer YOUR_ACCESS_TOKEN
Content-Type: application/json

{
  "title": "New Article"
}

Get single item:

http
GET /items/articles/1 HTTP/1.1
Host: your-domain.com
Authorization: Bearer YOUR_ACCESS_TOKEN

Update item:

http
PATCH /items/articles/1 HTTP/1.1
Host: your-domain.com
Authorization: Bearer YOUR_ACCESS_TOKEN
Content-Type: application/json

{
  "status": "published"
}

Delete item:

http
DELETE /items/articles/1 HTTP/1.1
Host: your-domain.com
Authorization: Bearer YOUR_ACCESS_TOKEN

For detailed documentation on each endpoint, click the links in the Table of Contents above.