CONNECT APP
Build with Luma
Set up an event page, invite friends and sell tickets. Host a memorable event today.
Marketing
- API key
MCP
Give your agent Luma tools
Every Luma action is exposed as an MCP tool on Pipedream's remote server. Point a client at it with your end user's ID and Connect resolves that user's Luma account for each tool call — you store no tokens.
// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "luma",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// e.g. run Add Guests:
const result = await mcp.callTool({
name: "luma-add-guests",
arguments: {
eventId: "Event ID",
guestsJson: "Guests",
},
})# access_token: mint a short-lived token with the Connect SDK — see the MCP guide
headers = {
"Authorization": f"Bearer {access_token}",
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", # any stable ID for this user in your system
"x-pd-app-slug": "luma",
}
async with streamablehttp_client("https://remote.mcp.pipedream.net/v3", headers=headers) as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()
# e.g. run Add Guests:
result = await session.call_tool("luma-add-guests", {
"eventId": "Event ID",
"guestsJson": "Guests",
})API PROXY
Call the Luma API directly
For an endpoint with no pre-built tool, the Connect proxy forwards your request to the Luma API with the connected user's credentials attached. You store no tokens and write no refresh logic.
const resp = await pd.proxy.get({
externalUserId: "{external_user_id}", // any stable ID for this user in your system
accountId: "apn_xxxxxxx",
url: "https://public-api.luma.com/v1/user/get-self",
})
// Any allowed Luma endpoint works here. Pipedream attaches the
// connected account's credentials to the outgoing request.# The path segment is the target URL, URL-safe base64 encoded:
# https://public-api.luma.com/v1/user/get-self
curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9wdWJsaWMtYXBpLmx1bWEuY29tL3YxL3VzZXIvZ2V0LXNlbGY?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
-H "Authorization: Bearer {access_token}" \
-H "x-pd-environment: production"SDK
Run Luma actions from your backend
Connect a user's Luma account once, then run Add Guests on their behalf from your own code — TypeScript, Python, or plain HTTP.
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: "luma-add-guests",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
luma: { authProvisionId: "apn_xxxxxxx" },
eventId: "Event ID",
guestsJson: "Guests",
},
})from pipedream import Pipedream
pd = Pipedream(
client_id="{oauth_client_id}",
client_secret="{oauth_client_secret}",
project_id="{project_id}",
project_environment="production",
)
result = pd.actions.run(
id="luma-add-guests",
external_user_id="{external_user_id}", # any stable ID for this user in your system
configured_props={
"luma": {"authProvisionId": "apn_xxxxxxx"},
"eventId": "Event ID",
"guestsJson": "Guests",
},
)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "luma-add-guests",
"configured_props": {
"luma": { "authProvisionId": "apn_xxxxxxx" },
"eventId": "Event ID",
"guestsJson": "Guests"
}
}'TOOLS
Luma actions
On-demand operations your product or agent can configure and run on behalf of a connected user.
-
Add Guests
actionAdd guests to a Luma event with statusGoing. Guests receive the default ticket type unless Ticket JSON or Tickets JSON is provided. Use List Events first if you need to find the event ID, and List Ticket Types if assigning custom tickets. See the documentationWritev0.0.2 -
Create Event
actionCreate an event on the connected Luma calendar. Required datetime fields must be ISO 8601 strings and Timezone must be an IANA timezone likeAmerica/New_York. See the documentationWritev0.0.2 -
Get Event
actionGet admin details for a Luma event the connected calendar can manage. Use List Events first if you need to find the event ID. See the documentationRead-onlyv0.0.2 -
Get Guest
actionGet detailed information for a Luma event guest by guest ID, ticket key, guest key, or email. Use Get Guests first if you need to find a guest identifier. See the documentationRead-onlyv0.0.2 -
Get Guests
actionList guests who registered for, were invited to, or are waitlisted for a Luma event. Omit Approval Status to include all guest statuses. Use List Events first if you need to find the event ID. See the documentationRead-onlyv0.0.2 -
List Events
actionList events managed by the connected Luma calendar. Use this to find event IDs for Get Event, Get Guests, Add Guests, or Send Invites. This only returns events managed by the calendar, not external events merely listed on it. See the documentationRead-onlyv0.0.2 -
List Ticket Types
actionList ticket types for a Luma event. Use this before assigning custom tickets through Luma's guest-management APIs. See the documentationRead-onlyv0.0.2 -
Send Invites
actionSend email invitations for a Luma event. Guests are invited but not automatically marked as going. Use Add Guests when guests should be added with statusGoing. See the documentationWritev0.0.2
No Luma triggers are available yet.
- App slug
- luma
- Authentication
- API key
- Categories
- Marketing
- Actions
- 8
- Triggers
- 0
- API proxy
- Available