---
title: "List webhooks"
method: GET
path: "/agents/{id}/webhooks"
tags: ["Webhooks"]
---

# List webhooks

`GET /agents/{id}/webhooks`

## Request

- Base URL: `https://app.artil.ai/api`
- URL: `https://app.artil.ai/api/agents/{id}/webhooks`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://mcp.artil.ai/oauth/authorize`
    - Token URL: `https://mcp.artil.ai/oauth/token` scopes: `agent`

List where an agent's events go and how delivery went.

## Path parameters

- `id` string, uuid, required

## Response `200`

The webhooks

- Webhook[]
  - `id` string, uuid, required
  - `url` string, uri, required: Where Artil posts the agent's events
  - `deliveredAt` string, date-time, nullable, required
  - `error` string, nullable, required: Why the last delivery failed
  - `erroredAt` string, date-time, nullable, required
  - `attempts` integer, required: How many times the event Artil is retrying has failed
  - `retryAt` string, date-time, nullable, required: When Artil next retries a failed event
  - `createdAt` string, date-time, required

## Other responses

- `4XX`: The request failed; the error says why
- `5XX`: The request failed; the error says why

---

[API](https://skmtc.dev/artil/apis/artil-api.md) - [All operations](https://skmtc.dev/artil/apis/artil-api/llms.txt) - [OpenAPI document](https://skmtc.dev/artil/apis/artil-api/revisions/55db0efa0cb8?raw)
