Bitrix24 Document Generator API

The Document Generator API from Bitrix24 — 29 operation(s) for document generator.

GitHub OpenAPI

Operations 29

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /documentgenerator.document.add Generate a document from a template · Create a New Document Based on a Template documentgenerator.document.add #
Ask an LLM
“How do I generate a contract or invoice from a template?”
“Can I fill a template with values from a deal or contact?”
Tell an agent
Generate a document from template {templateId} for {value}.
Create a {TYPE} document using template {templateId} for {value}.
POST /documentgenerator.document.delete Delete a generated document · Delete document documentgenerator.document.delete #
Ask an LLM
“How do I delete a generated document?”
“Can I remove a contract I no longer need?”
Tell an agent destructive · confirm first
Delete document {id}.
Remove the generated document {id}.
POST /documentgenerator.document.enablepublicurl Turn a public link on or off for a document · Enable or disable public link for document… #
Ask an LLM
“How do I share a generated document with a public link?”
“Can I switch off the public link for a document?”
Tell an agent
Enable the public link for document {id}.
Set the public link of document {id} to {status}.
POST /documentgenerator.document.get Get a generated document · Get Document by ID documentgenerator.document.get #
Ask an LLM
“What are the details of a generated document?”
“Can I fetch a document by its ID?”
Tell an agent
Get document {id}.
Show the generated document {id}.
POST /documentgenerator.document.getfields Get field values of a generated document · Get the list of fields for the document documentgenerator.document.getfields #
Ask an LLM
“What values are filled in a generated document?”
“Can I see the current and base values of a document's fields?”
Tell an agent
Get the field values of document {id}.
Show current and base values for document {id} using {values}.
POST /documentgenerator.document.list List generated documents · Get the List of Documents documentgenerator.document.list #
Ask an LLM
“Which documents have been generated?”
“Can I filter generated documents by template or number?”
Tell an agent
List generated documents.
List documents generated from template {templateId}.
POST /documentgenerator.document.update Update a generated document · Update Existing Document documentgenerator.document.update #
Ask an LLM
“How do I change the values in an existing generated document?”
“Can I turn on stamps and signatures for a document I already generated?”
Tell an agent
Update document {id} with values {values}.
Set stamps and signatures on document {id} to {stampsEnabled}.
POST /documentgenerator.numerator.add Create a document number sequence · Add Document Generator Numerator: documentgenerator.numerator.add #
Ask an LLM
“How do I create a sequence for document numbers?”
“Can a document number sequence reset on a schedule?”
Tell an agent
Create a document number sequence named {name} using template {template}.
Add a {length}-digit number sequence {name} starting at {start} with step {step}.
POST /documentgenerator.numerator.delete Delete a document number sequence · Delete the documentgenerator.numerator.delete #
Ask an LLM
“How do I delete a document number sequence?”
“Can I remove a sequence I no longer use?”
Tell an agent destructive · confirm first
Delete document number sequence {id}.
Remove the {id} document number sequence.
POST /documentgenerator.numerator.get Get a document number sequence · Get Numerator by ID documentgenerator.numerator.get #
Ask an LLM
“What settings does a document number sequence have?”
“Can I look up one document number sequence by its ID?”
Tell an agent
Get document number sequence {id}.
Show the settings of document number sequence {id}.
POST /documentgenerator.numerator.list List document number sequences · Get the List of Numerators documentgenerator.numerator.list #
Ask an LLM
“Which document number sequences exist?”
“Can I see all document number sequences in the account?”
Tell an agent
List all document number sequences.
Show the first {start} document number sequences.
POST /documentgenerator.numerator.update Update a document number sequence · Update the documentgenerator.numerator.update #
Ask an LLM
“How do I change the start number or step of a document sequence?”
“Can I make a document number sequence reset on a schedule?”
Tell an agent
Update document number sequence {id} with fields {fields}.
Change the step of document number sequence {id} to {step}.
POST /documentgenerator.region.add Add a custom region for document formatting · Add Region documentgenerator.region.add #
Ask an LLM
“How do I add a custom region for date and name formatting?”
“Can I define a region with its own date format and language?”
Tell an agent
Add a custom region {title} with fields {fields}.
Create region {title} in language {languageId} with date format {formatDate}.
POST /documentgenerator.region.delete Delete a custom region · Delete Region documentgenerator.region.delete #
Ask an LLM
“How do I delete a custom region?”
“Can I remove a region I added for document formatting?”
Tell an agent destructive · confirm first
Delete custom region {id}.
Remove the {id} region.
POST /documentgenerator.region.get Get a region · Get Region by ID documentgenerator.region.get #
Ask an LLM
“What are the settings of a region?”
“Can I look up a region by its code?”
Tell an agent
Get region {id}.
Show the settings of region {id}.
POST /documentgenerator.region.list List regions · Get the List of Regions documentgenerator.region.list #
Ask an LLM
“Which regions are available for document formatting?”
“Can I see both custom and pre-installed regions?”
Tell an agent
List all regions.
Show every region available for document formatting.
POST /documentgenerator.region.update Update a custom region · Update Region documentgenerator.region.update #
Ask an LLM
“How do I change the date format of a custom region?”
“Can I rename a region I added for document formatting?”
Tell an agent
Update custom region {id} with fields {fields}.
Change the date format of region {id} to {formatDate}.
POST /documentgenerator.role.add Add a role for document access · Add Role documentgenerator.role.add #
Ask an LLM
“How do I create a role that can only view documents?”
“Can I define a role with permissions for templates and documents?”
Tell an agent
Add a role {name} with fields {fields}.
Create a {name} role with permissions {permissions}.
POST /documentgenerator.role.delete Delete a document role · Delete Role documentgenerator.role.delete #
Ask an LLM
“How do I delete a role I no longer use?”
“Can I remove a document access role?”
Tell an agent destructive · confirm first
Delete role {id}.
Remove the {id} document role.
POST /documentgenerator.role.fillaccesses Assign users to roles · Bind Users to Roles documentgenerator.role.fillaccesses #
Ask an LLM
“How do I give a user or group access to a role?”
“Can I overwrite the role-to-access mapping for a role?”
Tell an agent
Assign access code {accessCode} to role {roleId}.
Overwrite the role-to-access mapping for role {roleId} with {accesses}.
POST /documentgenerator.role.get Get a document generator role · Get Role by ID documentgenerator.role.get #
Ask an LLM
“What permissions does a specific document generator role have?”
“Can I look up one document generator role by its ID?”
Tell an agent
Get document generator role {id}.
Show the permissions of document generator role {id}.
POST /documentgenerator.role.list List document generator roles · Get a List of Roles documentgenerator.role.list #
Ask an LLM
“Which roles are available for document generation?”
“Can I page through the list of document generator roles?”
Tell an agent
List all document generator roles.
Show {start} document generator roles starting at {start}.
POST /documentgenerator.role.update Update a document generator role · Change Role documentgenerator.role.update #
Ask an LLM
“How do I change the permissions of an existing document generator role?”
“Can I rename a document generator role?”
Tell an agent
Update document generator role {id} with {fields}.
Rename document generator role {id} to {name}.
POST /documentgenerator.template.add Upload a document template · Upload Template documentgenerator.template.add #
Ask an LLM
“How do I upload a new template for document generation?”
“Can I attach a template file and a numerator to a new template?”
Tell an agent
Upload template {name} from file {file} for region {region} using numerator {numeratorId}.
Add a new document template {name} from file {file} with code {code}.
POST /documentgenerator.template.delete Delete a document template · Delete Template documentgenerator.template.delete #
Ask an LLM
“How do I remove a template from document generation?”
“Are documents kept if I delete their template?”
Tell an agent destructive · confirm first
Delete document template {id}.
Remove template {id} from document generation.
POST /documentgenerator.template.get Get a document template · Get Template by ID documentgenerator.template.get #
Ask an LLM
“What are the details of one document template?”
“Can I fetch a template by its ID?”
Tell an agent
Get document template {id}.
Show the settings of template {id}.
POST /documentgenerator.template.getfields Get a template's field details · Get the List of Fields for documentgenerator.template.getfields #
Ask an LLM
“What fields does a document template have and how are they configured?”
“Can I see the detail form of a template's fields?”
Tell an agent
Get the field details for template {id}.
Show the detail form of template {id}'s fields.
POST /documentgenerator.template.list List document templates · Get a List of documentgenerator.template.list Templates #
Ask an LLM
“Which document templates exist in my account?”
“Can I filter templates by name, region or activity?”
Tell an agent
List all document templates.
Find document templates matching {filter}.
POST /documentgenerator.template.update Update a document template · Update Template documentgenerator.template.update #
Ask an LLM
“How do I change the file or settings of an existing template?”
“Can I deactivate a template without deleting it?”
Tell an agent
Update template {id} with fields {fields}.
Deactivate template {id} by setting active to {active}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/bitrix24:bitrix24-document-generator-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

bitrix24-document-generator-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bitrix24 REST Document Generator API
  version: 1.0.0
  description: 'Bitrix24 REST API provides access to CRM, tasks, drive, chats, telephony, e-commerce, automation, and other modules. Documentation: https://apidocs.bitrix24.com'
  contact:
    name: Bitrix24 Developer Support
    url: https://apidocs.bitrix24.com/support.html
  license:
    name: MIT
    url: https://github.com/bitrix-tools/b24-rest-docs/blob/main/LICENSE
  x-logo:
    url: https://apidocs.bitrix24.com/_images/bitrix24logo.svg
servers:
- url: https://{portal}.bitrix24.com/rest
  description: Your Bitrix24 portal (cloud)
  variables:
    portal:
      default: your-portal
      description: Subdomain of your Bitrix24 portal
- url: https://{host}/rest
  description: On-Premise Bitrix24 installation
  variables:
    host:
      default: your-bitrix24.example.com
      description: Host of your on-premise installation
security:
- AccessToken: []
tags:


# --- truncated at 32 KB (88 KB total) ---
# Full source: https://artifacts.apis.io/bitrix24/openapi/bitrix24-document-generator-api-openapi.yml