Log Message API

Manage system log messages

Base URL

https://{tenant}.logzi.com/api/log_message/

Every request returns a JSON response. On success result.code == 1, on error result.code == 0. The log message API is used to manage the system's event log (audit log) — for tracking integrations, automations, and operations.

GET /api/log_message/get

Retrieve a single log message by ID.

Query parameters

ParameterTypeRequiredDescription
idintLog message ID

Example request

GET /api/log_message/get?id=1
X-API-KEY: {your_api_key}
GET /api/log_message/list

Paginated list of log messages.

Query parameters

ParameterTypeRequiredDescription
list_offsetintPagination offset (default: 0)
list_conditionobjectFilter conditions object

Example request

GET /api/log_message/list?list_offset=0
X-API-KEY: {your_api_key}
POST /api/log_message/save

Create or update a log message.

POST fields — data object

Provide the log message details in the data object (message text, type, source module).

Example request

POST /api/log_message/save
X-API-KEY: {your_api_key}
Content-Type: application/json

{ "data": { "id": 1 } }
POST /api/log_message/delete

Delete a log message.

POST fields — data object

Provide the details of the log message to delete in the data object.

Example request

POST /api/log_message/delete
X-API-KEY: {your_api_key}
Content-Type: application/json

{ "data": { "id": 1 } }

Get in touch with us

Interested in our software? Feel free to write to us!

Need help?

If you can't find the answer and need assistance

Create your account now,
pay later!

Try it free for 3 days, no risk, no obligation!