微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🎫

一站式活动票务 API 托管服务

Eventbrite · v1.0.2
productivity 安全 S 级 作者 byungkyu 公开目录收录
5.3k 下载 3 安装 25.3k 收藏 11 浏览

简介

基于 Maton 网关的 Eventbrite API 托管服务,支持 OAuth 认证与活动全流程管理,适合开发者快速集成票务系统。

原始描述

Eventbrite API integration with managed OAuth. Manage events, venues, ticket classes, orders, and attendees. Use this skill when users want to create and man...

通过你的 Agent 添加

安装目录:eventbrite/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/eventbrite/
Codex CLI~/.codex/skills/eventbrite/
DeepSeek Harness~/.agents/skills/eventbrite/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心功能

Eventbrite 技能是一套完整的 Eventbrite API 集成解决方案,通过 Maton 官方网关提供托管式 OAuth 认证,让用户无需处理复杂的 OAuth 流程即可调用 Eventbrite 全量 API。

主要能力

  • 活动全生命周期管理:创建、更新、发布、取消、删除活动
  • 场地与票务管理:创建场地、设置票种类别、定价策略
  • 订单与参与者追踪:查看订单状态、管理参与者信息
  • 组织架构支持:基于组织的 API 调用(推荐模式),替代已弃用的用户级端点

技术架构

该技能采用纯文档型设计,本身无可执行代码,仅提供详尽的 API 文档和调用示例。所有请求通过 gateway.maton.ai 转发至 www.eventbriteapi.com,由 Maton 网关自动注入 OAuth Token,简化认证流程。

显著优点

  1. 零配置门槛:Maton 托管 OAuth,无需自建认证服务
  2. 完整 API 覆盖:支持 Eventbrite v3 API 的全部核心能力
  3. 多连接管理:支持通过 Maton-Connection 头部切换多个 Eventbrite 账户
  4. 安全网关:TLS 1.2+ 加密,API 密钥与 OAuth Token 分离存储
  5. 详尽的开发者体验:提供 Python、JavaScript、Bash 多语言示例,含分页、扩展、错误处理完整指南

潜在局限

  • 依赖 Maton 服务可用性:网关故障将影响全部 API 调用
  • 速率限制:Eventbrite 限制每小时 1,000 次、每日 48,000 次调用
  • 搜索 API 已弃用:Event Search API 于 2020 年停止公开支持
  • 仅支持组织端点:旧版用户级活动端点返回 NOT_AUTHORIZED,需迁移

适合人群

  • 活动主办方与会议组织者
  • 需要自动化票务流程的 SaaS 开发者
  • 构建活动聚合或分析工具的数据团队
  • 希望将 Eventbrite 数据同步至内部 CRM/BI 系统的企业

常规风险

  • API 密钥泄露:MATON_API_KEY 若暴露,可能导致账户被滥用
  • OAuth 连接过期:需定期在 ctrl.maton.ai 检查连接状态
  • 数据合规:处理参与者 PII 时需遵守 GDPR/CCPA 要求

安全评级说明

获得 S 级/92分 认证,属优秀安全级别。纯文档设计消除代码执行风险,依赖审计、网络流量、隐私合规均通过检测。来源可信度 T2(可信组织 Maton),MIT 许可证开源。

技能正文


name: eventbrite description: | Eventbrite API integration with managed OAuth. Manage events, venues, ticket classes, orders, and attendees. Use this skill when users want to create and manage events, check orders, view attendees, or access event categories. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key. metadata: author: maton version: "1.0" clawdbot: emoji: 🧠 requires: env: - MATON_API_KEY

Eventbrite

Access the Eventbrite API with managed OAuth authentication. Manage events, venues, ticket classes, orders, attendees, and more.

Quick Start

# Get current user
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://gateway.maton.ai/eventbrite/v3/users/me/')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Base URL

https://gateway.maton.ai/eventbrite/{native-api-path}

Replace {native-api-path} with the actual Eventbrite API endpoint path. The gateway proxies requests to www.eventbriteapi.com and automatically injects your OAuth token.

Authentication

All requests require the Maton API key in the Authorization header:

Authorization: Bearer $MATON_API_KEY

Environment Variable: Set your API key as MATON_API_KEY:

export MATON_API_KEY="YOUR_API_KEY"

Getting Your API Key

  1. Sign in or create an account at maton.ai
  2. Go to maton.ai/settings
  3. Copy your API key

Connection Management

Manage your Eventbrite OAuth connections at https://ctrl.maton.ai.

List Connections

python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections?app=eventbrite&status=ACTIVE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Create Connection

python <<'EOF'
import urllib.request, os, json
data = json.dumps({'app': 'eventbrite'}).encode()
req = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Content-Type', 'application/json')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Get Connection

python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Response:

{
  "connection": {
    "connection_id": "a2dd9063-64b4-4fe2-b4c5-8dd711648244",
    "status": "ACTIVE",
    "creation_time": "2026-02-07T09:11:20.516013Z",
    "last_updated_time": "2026-02-07T09:14:35.273822Z",
    "url": "https://connect.maton.ai/?session_token=...",
    "app": "eventbrite",
    "metadata": {}
  }
}

Open the returned url in a browser to complete OAuth authorization.

Delete Connection

python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Specifying Connection

If you have multiple Eventbrite connections, specify which one to use with the Maton-Connection header:

python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://gateway.maton.ai/eventbrite/v3/users/me/')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Maton-Connection', 'a2dd9063-64b4-4fe2-b4c5-8dd711648244')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

If omitted, the gateway uses the default (oldest) active connection.

API Reference

User Operations

Get Current User
GET /eventbrite/v3/users/me/

Response:

{
  "emails": [{"email": "user@example.com", "verified": true, "primary": true}],
  "id": "1234567890",
  "name": "John Doe",
  "first_name": "John",
  "last_name": "Doe",
  "is_public": false,
  "image_id": null
}
List User Organizations
GET /eventbrite/v3/users/me/organizations/
List User Orders
GET /eventbrite/v3/users/me/orders/

Organization Operations

List Organization Events
GET /eventbrite/v3/organizations/{organization_id}/events/

Query parameters:

  • status - Filter by status: draft, live, started, ended, completed, canceled
  • order_by - Sort order: start_asc, start_desc, created_asc, created_desc
  • time_filter - Filter by time: current_future, past
List Organization Venues
GET /eventbrite/v3/organizations/{organization_id}/venues/
Create Venue
POST /eventbrite/v3/organizations/{organization_id}/venues/
Content-Type: application/json

{
  "venue": {
    "name": "Conference Center",
    "address": {
      "address_1": "123 Main St",
      "city": "San Francisco",
      "region": "CA",
      "postal_code": "94105",
      "country": "US"
    }
  }
}

Event Operations

Get Event
GET /eventbrite/v3/events/{event_id}/
Create Event

Events must be created under an organization:

POST /eventbrite/v3/organizations/{organization_id}/events/
Content-Type: application/json

{
  "event": {
    "name": {"html": "My Event"},
    "description": {"html": "<p>Event description</p>"},
    "start": {
      "timezone": "America/Los_Angeles",
      "utc": "2026-03-01T19:00:00Z"
    },
    "end": {
      "timezone": "America/Los_Angeles",
      "utc": "2026-03-01T22:00:00Z"
    },
    "currency": "USD",
    "online_event": false,
    "listed": true,
    "shareable": true,
    "capacity": 100,
    "category_id": "103",
    "format_id": "1"
  }
}
Update Event
POST /eventbrite/v3/events/{event_id}/
Content-Type: application/json

{
  "event": {
    "name": {"html": "Updated Event Name"},
    "capacity": 200
  }
}
Publish Event
POST /eventbrite/v3/events/{event_id}/publish/
Unpublish Event
POST /eventbrite/v3/events/{event_id}/unpublish/
Cancel Event
POST /eventbrite/v3/events/{event_id}/cancel/
Delete Event
DELETE /eventbrite/v3/events/{event_id}/

Ticket Class Operations

List Ticket Classes
GET /eventbrite/v3/events/{event_id}/ticket_classes/
Create Ticket Class
POST /eventbrite/v3/events/{event_id}/ticket_classes/
Content-Type: application/json

{
  "ticket_class": {
    "name": "General Admission",
    "description": "Standard entry ticket",
    "quantity_total": 100,
    "cost": "USD,2500",
    "sales_start": "2026-01-01T00:00:00Z",
    "sales_end": "2026-02-28T23:59:59Z",
    "minimum_quantity": 1,
    "maximum_quantity": 10
  }
}

For free tickets, omit the cost field or set free: true.

Update Ticket Class
POST /eventbrite/v3/events/{event_id}/ticket_classes/{ticket_class_id}/
Content-Type: application/json

{
  "ticket_class": {
    "quantity_total": 150
  }
}
Delete Ticket Class
DELETE /eventbrite/v3/events/{event_id}/ticket_classes/{ticket_class_id}/

Attendee Operations

List Event Attendees
GET /eventbrite/v3/events/{event_id}/attendees/

Query parameters:

  • status - Filter by status: attending, not_attending, unpaid
  • changed_since - ISO 8601 timestamp to get attendees changed after
Get Attendee
GET /eventbrite/v3/events/{event_id}/attendees/{attendee_id}/

Order Operations

List Event Orders
GET /eventbrite/v3/events/{event_id}/orders/

Query parameters:

  • status - Filter by status: active, inactive, all
  • changed_since - ISO 8601 timestamp
Get Order
GET /eventbrite/v3/orders/{order_id}/

Venue Operations

Get Venue
GET /eventbrite/v3/venues/{venue_id}/
Update Venue
POST /eventbrite/v3/venues/{venue_id}/
Content-Type: application/json

{
  "venue": {
    "name": "Updated Venue Name"
  }
}

Reference Data

List Categories
GET /eventbrite/v3/categories/

Response:

{
  "locale": "en_US",
  "pagination": {"object_count": 21, "page_number": 1, "page_size": 50},
  "categories": [
    {"id": "103", "name": "Music", "short_name": "Music"},
    {"id": "101", "name": "Business & Professional", "short_name": "Business"},
    {"id": "110", "name": "Food & Drink", "short_name": "Food & Drink"}
  ]
}
Get Category
GET /eventbrite/v3/categories/{category_id}/
List Subcategories
GET /eventbrite/v3/subcategories/
List Formats
GET /eventbrite/v3/formats/

Common formats:

  • 1 - Conference
  • 2 - Seminar or Talk
  • 5 - Festival or Fair
  • 6 - Concert or Performance
  • 9 - Class, Training, or Workshop
  • 10 - Meeting or Networking Event
  • 11 - Party or Social Gathering
List Countries
GET /eventbrite/v3/system/countries/
List Regions
GET /eventbrite/v3/system/regions/

Pagination

Eventbrite uses a combination of page-based and continuation-based pagination:

GET /eventbrite/v3/organizations/{org_id}/events/?page_size=50

Response:

{
  "pagination": {
    "object_count": 150,
    "page_number": 1,
    "page_size": 50,
    "page_count": 3,
    "has_more_items": true,
    "continuation": "eyJwYWdlIjogMn0"
  },
  "events": [...]
}

For subsequent pages, use the continuation token:

GET /eventbrite/v3/organizations/{org_id}/events/?continuation=eyJwYWdlIjogMn0

Expansions

Include related data by using the expand parameter:

GET /eventbrite/v3/events/{event_id}/?expand=venue,ticket_classes,category

Common expansions:

  • venue - Include venue details
  • ticket_classes - Include ticket information
  • category - Include category details
  • subcategory - Include subcategory details
  • format - Include format details
  • organizer - Include organizer information

Code Examples

JavaScript

const response = await fetch(
  'https://gateway.maton.ai/eventbrite/v3/users/me/',
  {
    headers: {
      'Authorization': `Bearer ${process.env.MATON_API_KEY}`
    }
  }
);
const user = await response.json();

Python

import os
import requests

response = requests.get(
    'https://gateway.maton.ai/eventbrite/v3/users/me/',
    headers={'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}'}
)
user = response.json()

Notes

  • All endpoint paths should end with a trailing slash (/)
  • Event creation requires an organization - use organization-based endpoints
  • Legacy user-based event endpoints are deprecated; use organization equivalents
  • Timestamps are in ISO 8601 format (UTC)
  • Currency amounts are in minor units (cents) - e.g., "USD,2500" = $25.00
  • Rate limit: 1,000 calls per hour, 48,000 calls per day
  • Event Search API is no longer publicly available (deprecated February 2020)
  • IMPORTANT: When using curl commands, use curl -g when URLs contain brackets to disable glob parsing
  • IMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments

Error Handling

Status Meaning
400 Missing Eventbrite connection or invalid arguments
401 Invalid or missing Maton API key
403 Not authorized (check scopes or use organization endpoints)
404 Resource not found
429 Rate limited
4xx/5xx Passthrough error from Eventbrite API

Common Errors

NOT_AUTHORIZED with legacy user endpoints:

{"status_code": 403, "error": "NOT_AUTHORIZED", "error_description": "This user is not able to use legacy user endpoints, please use the organization equivalent."}

Solution: Use /organizations/{org_id}/events/ instead of /users/me/owned_events/

Troubleshooting: API Key Issues

  1. Check that the MATON_API_KEY environment variable is set:
echo $MATON_API_KEY
  1. Verify the API key is valid by listing connections:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Troubleshooting: Invalid App Name

  1. Ensure your URL path starts with eventbrite. For example:
  • Correct: https://gateway.maton.ai/eventbrite/v3/users/me/
  • Incorrect: https://gateway.maton.ai/v3/users/me/

Resources

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

event-managementticketingoauthapi-gatewaymatonthird-party-integration

同类 Skill