---
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

---

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