Synchra.24
menu_bookDocumentation
Practical guides for setup and development

Find guides for getting started, building workflows and adding your own tools to your company workspace.

folderIntegrations and APIs

Open API

A complete list of external methods of the Synchra.24 Open API by sections: time, tasks, requests, employees, reports, and other services.

Machine translation

The Open API is needed in cases where Synchra.24 should not only work as an application for employees, but also exchange data with external company systems.

Integrations are most often used in three scenarios:

  • to take data from the company to an external system;
  • create records in Synchra.24 from an external system;
  • Synchronize reference books, tasks, applications, documents, and other processes between multiple services.

This document is structured in two parts:

  1. First, the basic scenarios are shown with clear examples.;
  2. below is a complete catalog of methods by section in the same format.

How access works

For an Open API, two headers are most often needed:

  • X-OpenAPI-Token — integration token;
  • X-Provider-Token — the token of a specific company.

To put it simply:

  • X-OpenAPI-Token confirms that integration has the right to work at all.;
  • X-Provider-Token confirms which company you are currently working with.

The basic chain of work

Integration usually looks like this:

  1. you create an Open API token in the company's parameters;
  2. you call the company parameters method and get provider token;
  3. next, you call the methods of the desired section with two headings.

The first mandatory request:

GET /api/v1/providers/user/params/{provider_id}
X-OpenAPI-Token: <ваш_openapi_token>

From the answer you need to take:

  • result.token "That's what it is." X-Provider-Token;
  • if necessary, other company parameters.

Then most of the queries will look like this:

X-OpenAPI-Token: <ваш_openapi_token>
X-Provider-Token: <token_компании>
Content-Type: application/json

What is important to remember

  • Open API Limit: 300 requests per minute per one X-OpenAPI-Token.
  • Many GET methods support common query fields.: page, size, search, sort, date_from, date_to.
  • For methods with a fixed data composition, the request fields and examples are shown below.
  • Where the method accepts more free JSON, this is noted separately.

List of methods

OPEN API methods

How to use this document

If you are building integration for a specific scenario, it is better to go like this:

  1. first, define the business process;
  2. find the required section in the methods catalog;
  3. take the main create or update method;
  4. check the result in the Synchra.24 interface;
  5. only then add lists, filters, and synchronization in both directions.

This way, integration starts faster and without unnecessary complexity at the start.

User sessions

The Sessions Service available via the company's API. Required X-OpenAPI-Token, X-Provider-Token, license visits (Trial, Pro, or Ultimate) and the corresponding role rights.

Method Way Appointment
GET /api/v1/tm/visits A magazine with search, filters, and pagination.
POST /api/v1/tm/visits Creating a session.
GET /api/v1/tm/visit-guests Search for repeat visitors.
GET /api/v1/tm/visits/{id} A card with a story.
PUT /api/v1/tm/visits/{id} Change before entry, from the current version.
POST /api/v1/tm/visits/{id}/status Arrival, entry, completion, cancellation or no-show.
POST /api/v1/tm/visits/{id}/admission Permission or denial of access.
POST /api/v1/tm/visits/{id}/pass QR code release and, with self-marking enabled, public_url.
POST /api/v1/tm/visits/resolve-pass Checking your personal QR code inside your company.

Creating, changing, statuses, and issuing passes require control_visits_manage, admission decision — control_visits_admission. Viewing is available from control_visits_view, control_visits_manage or control_visits_admission.

Creation and updating

{
  "guest": { "first_name": "Иван", "last_name": "Иванов", "organization": "Перевозчик" },
  "location": "Склад №2",
  "purpose": "Разгрузка",
  "planned_start": "2026-11-01T09:00:00+03:00",
  "planned_end": "2026-11-01T12:00:00+03:00",
  "responsible_id": 123,
  "require_admission": true,
  "self_arrival_enabled": true,
  "external_system": "crm",
  "external_id": "delivery-456"
}

responsible_id it must belong to the company; it is required for self-marking. For an existing user, send guest.id. Photo guest.photo — the file name in your company's repository, not the URL; if you explicitly replace or delete an existing visitor's photo, send guest_photo_changed: true.

Couple external_system + external_id it is unique in the company: a repeat POST with the same content returns an existing session without duplication. If the content is different, the answer is 409. To change, find an entry for these filters, get a card, and send the full data from the current one. version in the PUT.

State search and transitions

The magazine supports search, status (multiple values separated by commas), admission, location, responsible_id, guest_id, external_system, external_id, date_from, date_to, sort=ASC|DESC, page, size. Page size — up to 100; without size up to 100 records are returned. For pages of 20, pass size=20. Dates are RFC3339, the right border is excluded; intersecting scheduled intervals are selected.

To change the status, send, for example, {"status":"arrived","version":1,"comment":"Прибыл на КПП"}. For admission — {"status":"allowed","version":2}. When using QR code, additionally send pass_token. All time stamps are set by the server. An invalid transition or outdated version results in a 409; after the conflict, re-read the card.

Visit status: expected, arrived, inside, completed, cancelled, no_show. Allowance: not_required, pending, allowed, denied. Allowing access by itself does not mark entry. Transition inside requires permission if matching is enabled.

All responses use the shell code, message, status, result. The issue of the pass returns the secret token, qr_value and, with the option enabled, public_url: do not record them in public logs. A new issue and a change in the session revoke the previous pass.

The public methods of the user's page are not included in the company's Open API and do not provide access to its data. To exchange with an external system, use the table methods and events visit.*. Full request and response schemas are available in Swagger.