Skip to content

01AI and integrations · module

Automatic REST API and webhooks

Metadata-driven REST API for every entity, complete with OpenAPI documentation and webhooks

  • Webhook
  • API key
  • Personal access token
  • Access log
10
capabilities
4
record types
3
automations
4
integrations and AI tools

02What the module does

Less routine. More value.

Draivix automatically generates a REST API for every entity from metadata, without coding individual endpoints. As soon as you add a field, relationship or entity, both the API and its OpenAPI documentation are immediately available—always scoped to the caller’s permissions. Your company can connect its e-shop, reporting or custom application to the exact same data and rules that govern the app.

  • API generated automaticallyThe REST API—the interface for connecting external systems—is created for every entity without coding, including entities and fields added by an administrator. Any new field is available right away.
  • Controlled record operationsThe API supports listing, detail views, creation, updates, and soft deletion, where a record is simply marked as deleted. Permissions are enforced at both the record and field levels.
  • No overwritten concurrent editsOptimistic locking based on the record version prevents one update from overwriting another. When two systems modify the same record at the same time, they never overwrite each other's data.
  • Bulk changes in a single transactionCreate up to 100 records, update up to 500, and delete up to 100 in bulk. Combined changes run in a single transaction, so partial updates are never saved.
  • Filtering that leaks nothingFilter queries using five notations, with full-text search and date presets. The API rejects unknown fields, fields without read access, or disallowed operators, so filters never expose unauthorized data.
  • Permission-scoped documentationThe OpenAPI 3.1.2 specification is generated based on the caller's permissions. Developers only see the entities and operations they are authorized to use.
  • Authentication built for agents tooObtain a token by logging in with two-factor authentication or by signing with an SSH key. The second option is ideal for command-line agents.
  • Rate limits and full call loggingThe rate limit is 240 requests per minute per company and user, and the access log records every call. You keep full visibility over all API traffic.
  • Send data wherever you needA workflow sends a webhook—an automated message to an external system—using a custom body template. Target URLs pass through SSRF protection to prevent the server from being abused for requests to unauthorized addresses.
  • Verified incoming dataAn incoming webhook receives data at a dedicated endpoint protected by a shared secret in the header. Every call is logged along with its result, so you always see what arrived.

03How it works

How it works step by step.

  1. How the automatic API works

    The API has no per-entity code. A single set of generic routes serves every entity known to the system. When an administrator adds an entity, field or relationship—or when a new module is deployed—the API, validation and documentation exist immediately, scoped to that company and the caller’s permissions.

    Read in detail

    Three checks determine whether an entity is accessible: the API flag on the entity, the module enabled for the company, and the caller’s permissions including the API key policy. A hidden entity responds with “not found” and does not even reveal that it exists. The password vault and user preferences are not accessible via the API. Both a signed-in browser session and a header token work under the same rules and audit logging as the application.

  2. What the API can do

    Every entity supports listing, detail retrieval, creation, full or partial updates and soft deletion. Partial updates support optimistic locking by record version, preventing two concurrent edits from overwriting each other. You can also query the entity description (fields, relationships, actions), fetch a list of IDs for a filtered set (up to 500) and export records (up to 1,000).

    Read in detail

    In bulk, you can create up to 100 records, update up to 500 and delete up to 100; a combined batch of creates, updates and deletes runs in a single transaction. Aggregations return sums, averages and other metrics or counts grouped by field. The API also handles relationships (attach, detach, sync), related-record panels, change history, audit logs, attachments, single-record and selection actions, record conversions with preview, value picklists and global search.

    Managed statuses can only be changed through actions.

  3. Queries and filters

    Filters can be written in several ways: bracket notation, OR groups, a nested tree, shorthand expressions such as amount>=10000, JSON or a saved filter. Full-text search, sorting, pagination (20 by default, up to 200 records per page), field selection and eager loading of related records are all supported.

    Read in detail

    Operators cover comparisons, contains, starts with, ranges, empty values, multi-value selection, date presets such as this month or last 30 days, and links to the current user or their team. The API rejects unknown fields, fields without read permission or disallowed operators, so filters cannot be used to probe data the caller is not allowed to see.

  4. Documentation, authentication and rate limits

    The OpenAPI 3.1.2 specification is generated at runtime from metadata and from the caller’s perspective: entities and operations the caller is not allowed to use are omitted. Administrators can browse it in the administration panel using the Scalar viewer. Validation and documentation share the same definitions, so they never drift apart on covered routes.

    Read in detail

    You obtain a token by signing in (including a second-factor code if enabled) or by signing with an SSH key for command-line agents. Users manage API keys and MCP tokens in their profile. The rate limit is 240 requests per minute per company and user; after 10 failed token attempts per minute, the IP address is throttled. Every token-authenticated call is recorded in the access log.

  5. Webhooks

    An outbound webhook is an action in an Automation workflow. It is triggered when a record is changed or deleted, on a schedule, manually or by a domain event. It sends a POST, PUT or PATCH request with custom headers and a body template. The target URL is checked against SSRF protection, redirects are disabled and the timeout is 30 seconds. Requests are unsigned; failed calls are logged and retried only for atomic workflows or actions configured to stop on error.

    Read in detail

    An incoming webhook receives data at a dedicated endpoint protected by a shared secret in the header. It is processed by a handler registered by the module, such as capturing CRM leads, call recordings, or Mattermost push events. Every call is logged along with its result.

04What runs automatically

Automations that save time.

  1. Documentation stays in sync with the API

    OpenAPI documentation is generated at runtime from metadata and the caller's permissions. Validation and documentation share the same definitions, so covered endpoints never drift apart.

  2. Automatic access logging

    Every token-authenticated call is automatically recorded in the access log. When troubleshooting an integration, you have a reliable audit trail.

  3. Webhooks triggered at the right moment

    A workflow in the Automation module dispatches a webhook on events such as record updates or deletions, on a schedule, or manually—keeping external systems informed in real time.

External integrations

  • Connect your own systemsAny external system can connect via the REST API over encrypted HTTPS using a token. Your e-shop, reporting tools, or custom apps work with the exact same data and rules as the main application.
  • Receive data from third-party systemsThird-party systems send data to an incoming webhook, where a module-registered handler processes it—such as incoming CRM leads, call recordings, or push notifications from Mattermost.
  • Workflows call target systemsA workflow sends a POST, PUT, or PATCH request to a target system with custom headers and a body template, notifying the external system whenever a relevant change occurs.

What the AI agent handles

  • Same rules for AI

    Both the built-in AI assistant and agents connected via MCP (Model Context Protocol) use the same generic entity operations as the REST API, enforcing the exact same permission checks.

A person approves whenever money, a customer, or an exception is involved.

05Frequently asked questions

Does Draivix have a REST API?

Yes. The API is generated automatically for every entity from metadata, including custom fields and entities added by an administrator, and always respects the caller's permissions.

Where can I find the API documentation?

The /api/openapi.json endpoint returns an OpenAPI 3.1.2 specification, which administrators can also browse in the admin panel. It includes only the entities and operations the caller is permitted to use.

Does Draivix support webhooks?

Yes. Outgoing webhooks are sent by workflows in the Automation module, while incoming webhooks are received at a dedicated endpoint protected by a shared secret.

What are the API rate limits?

The limit is 240 requests per minute per company and user, a list page returns up to 200 records, and an export returns up to 1,000 records.

Let’s start together

Tell us how your business works.

We will show you what a system that takes over part of that work could look like.

Book a consultation