v1

latestOpenAPI 3.1.02026-07-141045121.7 KB
Subscriptions

Retrieve a webhook subscription

🔑

Required OAuth scope: webhooks:read.

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

get/api/v2/webhooks/subscriptions/{subscriptionId}

Path parameters

subscriptionIdstring ObjectId required
Example:507f1f77bcf86cd799439011

The unique ID of the webhook subscription.

Headers

360-api-version'v2.0' required

The version of the API.

Response

Returns the details of the webhook subscription.

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.

namestring required

The name of the webhook subscription.

urlstring required

The URL where the events are sent for this webhook subscription.

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

Example response

{
  "name": "HRIS system subscription",
  "url": "https://example.com/webhook",
  "_id": "507f1f77bcf86cd799439011"
}