---
title: "Listar Logs"
method: GET
path: "/web_hook_logs/{invoice_id}"
---

# Listar Logs

`GET /web_hook_logs/{invoice_id}`

Caso utilize o **gatilho na conta mestre**, enviar api_token da conta mestre.
Se o **gatilho estiver na subconta**, enviar o api_token da subconta.

## Path parameters

- `invoice_id` string, required

## Response `200`

200

- object[]
  - `id` string
  - `web_hook_id` string
  - `data` object
    - `event` string
    - `data[id]` string
    - `data[status]` string
    - `data[account_id]` string
    - `data[async_charged]` string
    - `data[source]` string
    - `data[order_id]` string
  - `status` string
  - `error` string
  - `loggable_id` string
  - `loggable_type` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/iugu/apis/tokens-de-api.md) · [All operations](https://skmtc.net/iugu/apis/tokens-de-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/iugu/tokens-de-api/versions/4590fc729d1e/schema)
