View as Markdown
Calendly icon

Calendly ACTION

List Webhook Subscriptions

Get a list of Webhook Subscriptions for an Organization or User via GET /webhook_subscriptions. Requires organizationUri when scope is organization, or userUri when scope is user. Run List Organization Memberships first to obtain an organization or user URI. Example: call with scope set to organization and organizationUri set to https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA to return that organization's webhook subscriptions. See the documentation
  • Action
  • Read only
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Calendly account once, then configure and run List Webhook Subscriptions from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "calendly_v2-list-webhook-subscriptions",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    calendly_v2: { authProvisionId: "apn_xxxxxxx" },
    scope: "Scope",
    organizationUri: "Organization URI",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

List Webhook Subscriptions inputs
Property Type Description
scope Scope string
Filter the list by organization or user.
Required
organizationUri Organization URI string
Filters the results by organization URI, such as https://api.calendly.com/organizations/012345678901234567890. Required when scope is organization. Run List Organization Memberships first to obtain a valid organization URI.
Optional
userUri User URI string
Filters the results by user URI, such as https://api.calendly.com/users/CAFHCZWDQLKQ73HX. Required when scope is user. Run List Organization Memberships first to obtain a valid user URI.
Optional
count Count string
The number of rows to return.
Optional
pageToken Page Token string
The token to pass to get the next portion of the collection.
Optional
sort Sort string
Order results by the specified field and direction. Accepts comma-separated list of {field}:{direction} values. Supported fields are: created_at. Sort direction is specified as: asc, desc.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
calendly_v2-list-webhook-subscriptions
Version
0.1.8
App
Calendly
Authentication
OAuth
Read-only
Yes
Destructive
No
Open world
Yes