Launix REST API

The Launix REST API exposes the application structure in a machine-readable way. Integrations such as n8n, scripts, or custom services first read the root descriptor, discover available tables and DataViews, and then inspect the concrete endpoint descriptor. Only after that should they read records, list rows, or write data.

Basic workflow:

  1. Open the root descriptor: <baseurl>/FOP/Index/api
  2. Read the technical API path from tables or dataviews.
  3. Inspect the concrete descriptor via <baseurl>/<path>/api.
  4. Use only declared columns, filters, parameters, actions, and createLists.
  5. Call the actual endpoint, for example <baseurl>/<path>/list, <baseurl>/<path>/get?id=..., or <baseurl>/<path>/create.

Context-bound child lists from ColumnReferenceList appear in the parent table descriptor under dataviews. Example: the lead list of a campaign is published as a DataView such as campaignTarget_campaign and is queried with the parent ID as parameter id.

Open the menu as shown.

Menu navigation

The baseurl is the base address of your Launix application without the API path. If the displayed API URL is https://example.com/fop/crm/FOP/Index/api, the baseurl for n8n and custom clients is https://example.com/fop/crm.

Open the configuration through the sidebar menu Administration > Configuration > Userconfig. There you find the API URL field. Select and copy the value from there. For a quick browser test, open the full URL. API clients usually store only the base address and append paths discovered from the descriptor.

API URL in configuration

The root descriptor is the API entry point. It returns the software name, usage notes, available tables in tables, and global DataViews in dataviews. Each entry contains a technical api path. That path is always used relative to the baseurl.

Example authenticated request:

bash curl -H 'Authorization: Bearer <token>' '<baseurl>/FOP/Index/api'

Root descriptor in the browser

A table descriptor describes which operations are available for a table. Important sections are:

  • columns: fields, data types, required flags, and hints.
  • actions: additional actions with HTTP method and parameters.
  • dataviews: context-bound lists for the table, for example child lists created from ColumnReferenceList.
  • createLists: child arrays accepted by the create endpoint. This belongs to ColumnReferenceListCreate and is independent from DataViews.

For write calls, clients send JSON with exactly the declared field names. For lists, they inspect the relevant DataView descriptor because filters and parameters are declared there.

External systems should authenticate with a bearer token:

text Authorization: Bearer <token>

The token belongs to a user. The API therefore sees the same permissions as that user; tables, columns, actions, and DataViews remain protected by the normal access rules. Create and revoke tokens through token management and store tokens only in secret stores or password managers.

The test also calls /list on the user DataView. The response is a JSON object with items; this is the format external clients use for tabular data.

JSON response of a DataView list

The API Tokens manual contains the full step-by-step token creation walkthrough.

⬅️