---
title: "Get logs"
method: GET
path: "/3rdparty/v1/logs"
tags: ["System", "Logs"]
---

# Get logs

`GET /3rdparty/v1/logs`

Retrieve a list of log entries within a specified time range.

## Query parameters

- `from` string, date-time
- `to` string, date-time

## Response `200`

Log entries

- SmsgatewayLogEntry[]
  - `context` object — Additional context information related to the log entry, typically including data relevant to the log event.
  - `createdAt` string, date-time — The timestamp when this log entry was created.
  - `id` integer — A unique identifier for the log entry.
  - `message` string — A message describing the log event.
  - `module` string — The module or component of the system that generated the log entry.
  - `priority` 'DEBUG' | 'INFO' | 'WARN' | 'ERROR'

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal server error
- `501` — Not implemented

---

[API](https://skmtc.dev/sms-gate/apis/smsgate-api.md) · [All operations](https://skmtc.dev/sms-gate/apis/smsgate-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sms-gate/smsgate-api/revisions/56a6604029f1/schema)
