---
title: "Get webhook subscriptions for an agent"
method: GET
path: "/agent/{agentId}/webhook-subscriptions"
tags: ["Webhooks"]
---

# Get webhook subscriptions for an agent

`GET /agent/{agentId}/webhook-subscriptions`

Retrieve webhook subscriptions for a given agent ID

## Path parameters

- `agentId` string, required

## Response `200`

Successful response

- object
  - `status` boolean
  - `data` WebhookSubscription[]
    - `_id` string — The unique identifier for the subscription
    - `webhookId` string — The ID of the webhook
    - `agentId` string — The ID of the agent
    - `eventType` 'pre-conversation' | 'post-conversation' | 'analytics-completed' — The type of event subscribed to
    - `createdAt` string, date-time — The date and time when the subscription was created
    - `updatedAt` string, date-time — The date and time when the subscription was last updated

## Other responses

- `400` — Invalid input
- `401` — Unauthorized access
- `403` — Forbidden access
- `404` — Agent not found
- `500` — Internal server error

## Changes

- **2026-05-26** `0001c2ca9897` — 1 info
  - added the non-success response with the status `403`
- **2026-05-11** `2790c9edc50e` — 1 warning, 2 info
  - added the new `analytics-completed` enum value to the `data/items/eventType` response property for the response status `200`
  - api tag `Webhooks` added
  - api tag `Agents` removed

[Change history](https://skmtc.dev/smallest-inc/apis/agent-management-api/changes/agent/:agentId/webhook-subscriptions/get.md)

---

[API](https://skmtc.dev/smallest-inc/apis/agent-management-api.md) · [All operations](https://skmtc.dev/smallest-inc/apis/agent-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/smallest-inc/agent-management-api/revisions/ea4ea58d7c4e/schema)
