主催者向けAPI

Gearhead の主催者アカウントをご利用のツールに接続します。

Preview · access by request

Quick start

  1. Create a key in Dashboard → Integrations → Zapier.
  2. Send the key in the Authorization header as a Bearer token.
  3. Call an endpoint with that key’s scope.
curl "https://gearheadshows.com/api/v1/events?limit=10" \
  -H "Authorization: Bearer YOUR_API_KEY"

エンドポイント

GET/api/v1/identityVerify your key

Returns the authorized account ID.

GET/api/v1/eventsイベント

Scope: events:read.

List parameters: limit, cursor. The response includes data and next_cursor.

Pass id to fetch one record. Other accounts’ records return 404.

GET/api/v1/ticket-types券種

Scope: ticket-types:read.

List parameters: event_id, limit, cursor. The response includes data and next_cursor.

Pass id to fetch one record. Other accounts’ records return 404.

Prices are in minor currency units.

GET/api/v1/orders注文

Scope: orders:read.

List parameters: event_id, limit, cursor. The response includes data and next_cursor.

Pass id to fetch one record. Other accounts’ records return 404.

Orders include IDs, timestamps, and statuses.

GET/api/v1/attendees参加者

Scope: attendees:read.

List parameters: event_id, limit, cursor. The response includes data and next_cursor.

Pass id to fetch one record. Other accounts’ records return 404.

Attendee IDs identify purchased tickets.

GET/api/v1/check-insチェックイン

Scope: check-ins:read.

List parameters: event_id, limit, cursor. The response includes data and next_cursor.

Pass id to fetch one record. Other accounts’ records return 404.

An undone check-in drops out of the list.

POST/api/v1/eventsCreate an unpublished draft

下書きの作成には events:draft 権限、Idempotency-Key に指定する UUID、JSON のタイトルが必要です。ダッシュボードで下書きを開き、入力を完了して公開します。

Limits

120 requests/min

Per account, across all keys.

Retry-After

On HTTP 429, wait this many seconds.

120 requests/min

Per account, across all keys.

Retry-After

On HTTP 429, wait this many seconds.

Webhook

order.created

カートまたは標準の購入手続きで支払済みの注文が確定しました。

attendee.checked_in

購入済みチケットが初めてチェックインされました。

refund.issued

返金が記録されました。決済処理が完了していない場合があります。

Subscribe and verify signatures

対象の主催者は「ダッシュボード → 連携 → Webhook」で登録できます。

Webhook の署名ヘッダーから t と v1 を読み取ります。署名シークレットを使い、タイムスタンプ、ピリオド、未加工の本文の HMAC-SHA256 を16進数で計算します。定数時間で比較し、時刻差が5分を超える場合は拒否します。配信 ID で重複を排除し、HTTP 2xx で応答します。

Gearheadについて・よくある質問

Cars and coffee on Saturday, the club show on Sunday, the concours in August. Find the car shows near you, buy a spectator ticket, or register your car by class.

Gearheadとは?

Cars and coffee on Saturday, the club show on Sunday, the concours in August. Find the car shows near you, buy a spectator ticket, or register your car by class.

どこで予約できますか?

掲載ページで予約方法を確認できます。

どこに問い合わせればよいですか?

お問い合わせページをご利用ください。