Developing a JSON API for 1C-Bitrix

Our company is engaged in the development, support and maintenance of Bitrix and Bitrix24 solutions of any complexity. From simple one-page sites to complex online stores, CRM systems with 1C and telephony integration. The experience of developers is confirmed by certificates from the vendor.
Our competencies:
Development stages

Development of JSON:API for 1C-Bitrix

JSON:API is a specification for building consistent REST APIs using JSON. It standardizes request/response formats, error handling, relationships, and pagination, enabling better client-server interaction. Implementing JSON:API for 1C-Bitrix provides predictable, well-documented API contracts.

JSON:API Specification Compliance

Resource Objects: Bitrix entities (deals, contacts) represented with id, type, and attributes.

Relationships: Links between resources expressed as relationships with data member containing resource identifiers.

Error Handling: Standardized error responses with code, title, detail, and status.

Pagination: Consistent pagination using page[number] and page[size] parameters.

Implementation Structure

Define resource types, attributes, and relationships. Implement handlers for GET, POST, PATCH, DELETE operations.

Advantages

  • Standardization: Spec eliminates ambiguity in API design.
  • Tooling: Libraries and client code generation available.
  • Documentation: Clients know expected formats.

When to Use

Use JSON:API when implementing REST APIs consumed by third-party developers needing predictable contracts. For simple internal APIs, JSON:API may add unnecessary complexity.