Skip to main content
PUT
/
api
/
events
/
:id
curl -X PUT https://api.gatepass.app/api/events/clx1234567890abcdef \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Tech Conference 2026 - Extended",
    "description": "Updated description with new speaker announcements",
    "eventDate": "2026-06-15T08:00:00Z",
    "saleEnd": "2026-06-14T23:59:59Z",
    "status": "PUBLISHED"
  }'
{
  "event": {
    "id": "clx1234567890abcdef",
    "title": "Tech Conference 2026 - Extended",
    "description": "Updated description with new speaker announcements",
    "venue": "San Francisco Convention Center",
    "address": "747 Howard St",
    "city": "San Francisco",
    "country": "USA",
    "latitude": 37.7842,
    "longitude": -122.4016,
    "source": "gatepass",
    "externalUrl": null,
    "eventDate": "2026-06-15T08:00:00.000Z",
    "saleStart": "2026-03-06T12:00:00.000Z",
    "saleEnd": "2026-06-14T23:59:59.000Z",
    "totalSupply": 650,
    "ticketPrice": 99,
    "currency": "USD",
    "maxPerWallet": 5,
    "contractAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
    "chainId": 137,
    "imageUrl": "https://example.com/event-image.jpg",
    "metadataUri": "ipfs://QmX...",
    "category": "CONFERENCE",
    "tags": "technology,conference,networking",
    "isPublic": true,
    "allowTransfers": true,
    "requireKYC": false,
    "status": "PUBLISHED",
    "organizerId": "clx0987654321fedcba",
    "createdAt": "2026-03-06T12:00:00.000Z",
    "updatedAt": "2026-03-06T14:30:00.000Z"
  }
}
This endpoint requires authentication. Only the event organizer can update their events.

Authentication

Include the JWT token in the Authorization header:
Authorization: Bearer YOUR_JWT_TOKEN

Path Parameters

id
string
required
The unique identifier of the event to update

Request Body

All fields are optional. Only include the fields you want to update.
title
string
Event title
description
string
Detailed event description
venue
string
Venue name
address
string
Full street address
city
string
City name
country
string
Country name
latitude
number
Venue latitude coordinate
longitude
number
Venue longitude coordinate
eventDate
string
Event start date/time in ISO 8601 format
saleStart
string
Ticket sale start date/time in ISO 8601 format
saleEnd
string
Ticket sale end date/time in ISO 8601 format
totalSupply
number
Total ticket capacity
ticketPrice
number
Base ticket price
currency
string
Currency code (USD, ETH, etc.)
maxPerWallet
number
Maximum tickets per wallet/user
imageUrl
string
Event image URL
metadataUri
string
IPFS or HTTP URL to ticket metadata
category
string
Event category (CONFERENCE, MUSIC, WORKSHOP, MEETUP, FESTIVAL, SPORTS, THEATER, OTHER)
tags
string
Comma-separated tags
isPublic
boolean
Whether the event is publicly visible
allowTransfers
boolean
Whether ticket transfers are allowed
requireKYC
boolean
Whether KYC is required for ticket purchase
status
string
Event status (PUBLISHED, DRAFT, CANCELLED)

Response

event
object
The updated event object with all fields
curl -X PUT https://api.gatepass.app/api/events/clx1234567890abcdef \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Tech Conference 2026 - Extended",
    "description": "Updated description with new speaker announcements",
    "eventDate": "2026-06-15T08:00:00Z",
    "saleEnd": "2026-06-14T23:59:59Z",
    "status": "PUBLISHED"
  }'
{
  "event": {
    "id": "clx1234567890abcdef",
    "title": "Tech Conference 2026 - Extended",
    "description": "Updated description with new speaker announcements",
    "venue": "San Francisco Convention Center",
    "address": "747 Howard St",
    "city": "San Francisco",
    "country": "USA",
    "latitude": 37.7842,
    "longitude": -122.4016,
    "source": "gatepass",
    "externalUrl": null,
    "eventDate": "2026-06-15T08:00:00.000Z",
    "saleStart": "2026-03-06T12:00:00.000Z",
    "saleEnd": "2026-06-14T23:59:59.000Z",
    "totalSupply": 650,
    "ticketPrice": 99,
    "currency": "USD",
    "maxPerWallet": 5,
    "contractAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
    "chainId": 137,
    "imageUrl": "https://example.com/event-image.jpg",
    "metadataUri": "ipfs://QmX...",
    "category": "CONFERENCE",
    "tags": "technology,conference,networking",
    "isPublic": true,
    "allowTransfers": true,
    "requireKYC": false,
    "status": "PUBLISHED",
    "organizerId": "clx0987654321fedcba",
    "createdAt": "2026-03-06T12:00:00.000Z",
    "updatedAt": "2026-03-06T14:30:00.000Z"
  }
}
You cannot update the organizerId, createdAt, or blockchain-related fields (contractAddress, chainId) after the event has been created and tickets have been sold.

Build docs developers (and LLMs) love