---
title: "Retrieve a webhook subscription"
method: GET
path: "/api/v2/webhooks/subscriptions/{subscriptionId}"
tags: ["Subscriptions"]
---

# Retrieve a webhook subscription

`GET /api/v2/webhooks/subscriptions/{subscriptionId}`

> 🔑
>
> Required OAuth scope: `webhooks:read`.

Retrieves the details of a specific webhook subscription with the provided subscription ID.

## Path parameters

- `subscriptionId` string, ObjectId, required

## Headers

- `360-api-version` 'v2.0', required

## Response `200`

Returns the details of the webhook subscription.

- SubscriptionDTO
  - `eventType` 'bulk.operation.created' | 'bulk.operation.ended' | 'course.attempt.closed' | 'group.created' | 'group.deleted' | 'group.updated' | 'path.archived' | 'path.created' | 'path.deleted' | 'path.session.added' | 'path.session.removed' | 'path.session.classroom.slot.users.unregistered.full' | 'path.session.classroom.slot.waitlist.closed' | 'path.session.classroom.slot.waitlist.opened' | 'path.session.classroom.slot.waitlist.user.joined' | 'path.session.user.status.updated' | 'path.session.users.enrolled' | 'path.session.users.unenrolled' | 'user.activated' | 'user.assessment.corrected' | 'user.created' | 'user.deleted' | 'user.invited' | 'user.reactivated' | 'user.updated' | 'xapi.started' | 'xapi', required — The type of event that should be managed by this webhook subscription.
  - `name` string, required — The name of the webhook subscription.
  - `url` string, required — The URL where the events are sent for this webhook subscription.
  - `_id` string, ObjectId, required — The unique ID of the webhook subscription.
  - `status` 'active' | 'inactive', required — The status of the webhook subscription. Options are: - `active`: events are sent to your endpoint. - `inactive`: events are not sent to your endpoint.

## Other responses

- `401` — The given access token is either missing, invalid, has expired, or has been revoked.
- `403` — The given access token does not have the required OAuth scope to execute the request.
- `404` — The given `subscriptionId` does not correspond to any existing subscription.
- `429` — The client has sent too many requests in a short amount of time.

---

[API](https://skmtc.net/360learning/apis/webhook-api.md) · [All operations](https://skmtc.net/360learning/apis/webhook-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/360learning/webhook-api/versions/18374878903d/schema)
