View as Markdown
TicketSauce icon

TicketSauce ACTION

Get Events

Get a list of all events owned by the authenticated account. See documentation
  • Action
  • Read only
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's TicketSauce account once, then configure and run Get Events 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: "ticketsauce-get-events",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    ticketsauce: { authProvisionId: "apn_xxxxxxx" },
    partnerId: "Partner ID",
    organizationId: "Organization ID",
  },
})

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.

Get Events inputs
Property Type Description
partnerId Partner ID string
Including this ID will limit the result set to the specific partner.
Optional
organizationId Organization ID string
Including this ID will limit the result set to the specific organization.
Optional
startAfter Start After string
Only retrieve events that start AFTER the specified UTC date (format: YYYY-MM-DD).
Optional
endBefore End Before string
Only retrieve events that end BEFORE the specified UTC date (format: YYYY-MM-DD).
Optional
activeOnly Active Only boolean
Leaving this as true will restrict retrieved events to only 'active' events. Setting to false will allow the retrieval of both active and inactive events.
Optional
privacyType Privacy Type string
Filter events by privacy type.
Optional
sortBy Sort By string
Field to sort events by.
Optional
sortDir Sort Direction string
Direction to sort results.
Optional
includePerformers Include Performers boolean
If true, returns any associated performers/artists with the event.
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
ticketsauce-get-events
Version
0.0.1
App
TicketSauce
Authentication
OAuth
Read-only
Yes
Destructive
No
Open world
Yes