---
title: "List current REST hook log entries for store."
method: GET
path: "/hooks/log"
tags: ["RestHooksLog"]
---

# List current REST hook log entries for store.

`GET /hooks/log`

## Request

- Base URL: `https://api.c1st.com/api`
- URL: `https://api.c1st.com/api/hooks/log`
- Auth: HTTP bearer

## Response `200`

Ok

- RestHookLogResponse: A list of rest hook log entries.
  - `content` RestHookLog[]
    - `id` integer: A unique ID.
    - `storeid` integer: The ID of the store which initiated the REST hook event
    - `resthookid` integer: The ID of the associated REST hook
    - `job_uuid` string, nullable: The UUID of the job responsible for handling the REST hook.
    - `event` string: The event type of the REST hook when the hook attempt was logged.
    - `url` string: The URL of the REST hook when the hook attempt was logged.
    - `payload` string: The data that was posted to the URL (JSON formatted)
    - `status` 'successful' | 'failed' | 'pending' | 'in_progress'
    - `attempts` integer: The amount of attempts that have been made so far. This includes the final successful attempt, if the REST hook succeeds.
    - `last_failed_date` string, nullable: A timestamp of the time when the last attempt failed.
    - `succeeded_date` string, nullable: A timestamp of the time when the REST hook succeeded.
    - `last_http_status` string, nullable: The HTTP status code of the last response retrieved by the server
    - `last_failed_reason` string, nullable: The failed reason
    - `initiated_date` string: The time the hook was put into queue
  - `count` integer, nullable: The total number of items found by the query if ignoring pagination.
  - `hasMore` boolean: True if there are data to retrieve than the given page length

---

[API](https://skmtc.dev/c1st/apis/customers-1st-api.md) - [All operations](https://skmtc.dev/c1st/apis/customers-1st-api/llms.txt) - [OpenAPI document](https://skmtc.dev/c1st/apis/customers-1st-api/revisions/4250bb326f2a?raw)
