---
title: "Create logs in bulk"
method: POST
path: "/logs/{companyId}/bulk"
tags: ["Logs"]
---

# Create logs in bulk

`POST /logs/{companyId}/bulk`

Reports several log entries in a single call, following the same rules as the single log creation endpoint. Each entry is processed independently, so a failure recording one log does not affect the others. Log delivery is best-effort: the endpoint returns `204` as soon as the request is accepted, regardless of the outcome of recording any individual entry.

## Path parameters

- `companyId` string, required

## Request body

- BulkPostLogsRequestSchema
  - `data` PostLogRequestSchema[], required — Logs to create.
    - `erp` 'netsuite' | 'sageX3' | 'odoo' | 'businessCentral' | 'navision' | 'libra' | 'distritoK' | 'fo' | 'zoho' | 'holded' | 'dynamicsAx' | 'a3' | 'businessOne' | 'openbravo' | 'sage200' | 'sage50' | 'r3' | 'ekon' | 'm3Rosetta' | 'sageIntacct' | 'datev', required
    - `erpVersion` string, required — Version of the ERP system that originated the log.
    - `connectorVersion` string, required — Version of the integration that reported the log.
    - `level` 'INFO' | 'ERROR' | 'WARNING', required
    - `code` 'INFO' | 'WARNING' | 'ERROR' | 'AUTHORIZATION_INFO' | 'AUTHORIZATION_WARNING' | 'AUTHORIZATION_ERROR' | 'ACCOUNTINGS_ACCOUNTS_INFO' | 'ACCOUNTINGS_ACCOUNTS_WARNING' | 'ACCOUNTINGS_ACCOUNTS_ERROR' | 'ACCOUNTINGS_ENTRIES_INFO' | 'ACCOUNTINGS_ENTRIES_WARNING' | 'ACCOUNTINGS_ENTRIES_ERROR' | 'ATTRIBUTES_INFO' | 'ATTRIBUTES_WARNING' | 'ATTRIBUTES_ERROR' | 'CONTACTS_INFO' | 'CONTACTS_WARNING' | 'CONTACTS_ERROR' | 'OPERATIONS_INFO' | 'OPERATIONS_WARNING' | 'OPERATIONS_ERROR' | 'PAYMENTS_INFO' | 'PAYMENTS_WARNING' | 'PAYMENTS_ERROR', required
    - `message` string, required — Free-text description of the event, warning or error being reported.

## Response `204`

Successful Response

## Other responses

- `401` — Unauthorized. The bearer token is missing, invalid or expired.
- `404` — Not found. The requested resource or `companyId` does not exist.
- `422` — Validation Error

---

[API](https://skmtc.net/embat/apis/embat-api.md) · [All operations](https://skmtc.net/embat/apis/embat-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/embat/embat-api/revisions/36ca48bf4489/schema)
