---
title: "List Log Book Posts"
method: GET
path: "/v2/company/{company_id}/log_book_posts"
tags: ["Log Book"]
---

# List Log Book Posts

`GET /v2/company/{company_id}/log_book_posts`

Beta

## Path parameters

- `company_id` integer, required

## Query parameters

- `location_id` integer
- `log_book_category_id` integer
- `user_id` integer
- `date` string — A date with YYYY-MM-DD format
- `posted_date_gte` string — A date with YYYY-MM-DD format
- `posted_date_lte` string — A date with YYYY-MM-DD format
- `message` string
- `order_field` 'date' | 'id'
- `order_dir` 'asc' | 'desc'
- `cursor` string
- `limit` integer

## Headers

- `x-api-version` string — An API version
- `x-company-guid` string, uuid

## Response `200`

OK

- object
  - `data` object[], required
    - `id` integer, required
    - `uuid` string, uuid, required
    - `location_id` integer, required
    - `user_id` integer, required
    - `log_book_category_id` integer, required
    - `date` string, required — The posted date. Format YYYY-MM-DD
    - `message` string, required
    - `attachments` object[], nullable, required
      - `file_name` string, required
      - `full_path` string, required — fully qualified URL for requesting the attachment
      - `file_id` string, required
    - `log_book_comment_count` integer, required
    - `created` string, date-time, required
    - `company_id` integer, required
  - `object` 'log_book_posts', required
  - `meta` object
    - `cursor` object, required
      - `current` string, nullable, required — The current cursor.
      - `prev` string, nullable, required — A cursor for navigating to the previous page.
      - `next` string, nullable, required — A cursor for navigating to the next page.
      - `count` integer, nullable, required — The total items in the current cursor.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Server Error

---

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