Get User Events

The GET /events/user endpoint allows you to retrieve all events associated with a specific user. You can use this endpoint to list all events that the user has created.

API Endpoint

GET /events/user?userId={userId}

cURL Example

curl -X GET "https://api.dicetickets.com/v1/events/user?userId={userId}" \
-H "Authorization: Bearer YOUR_API_KEY"

Response Example

[
  {
    "id": "event123",
    "name": "Music Festival 2025",
    "date": "2025-08-15",
    "location": "Los Angeles, CA",
    "description": "A great festival featuring top artists.",
    "ticket": [
      { "type": "General Admission", "price": 50.0 },
      { "type": "VIP", "price": 120.0 }
    ]
  },
  {
    "id": "event124",
    "name": "Comedy Show 2025",
    "date": "2025-09-10",
    "location": "New York, NY",
    "description": "A hilarious show featuring top comedians.",
    "ticket": [
      { "type": "Standard", "price": 30.0 }
    ]
  }
]