Retrieve all public events created by a specific user on the Evento platform.
This endpoint returns all public events created by the specified user. To get events the user is attending (RSVP’d), use the profile-events endpoint instead.
Endpoint
GET https://api.evento.so/api/public/v1/users/{username}/events
Path Parameters
The username of the Evento user Example: johndoe
Query Parameters
Filter events starting from this date (inclusive) Format: ISO 8601 (YYYY-MM-DDTHH:mm:ssZ
) Example: 2024-01-01T00:00:00Z
Alias for since
parameter Format: ISO 8601 (YYYY-MM-DDTHH:mm:ssZ
)
Filter events up to this date (inclusive) Format: ISO 8601 (YYYY-MM-DDTHH:mm:ssZ
) Example: 2024-12-31T23:59:59Z
Your API key for authentication
Response
Success Response (200)
Indicates whether the request was successful
Success message including the username
An array of event objects representing all public events created by the user Show Event Object Properties
Unique identifier for the event
Detailed description of the event
URL to the event’s cover image
Location details for the event
Event start date and time in ISO 8601 format
Event end date and time in ISO 8601 format
Timezone for the event (IANA timezone)
Event status (always “published” for public API)
Event visibility (always “public” for public API)
Event cost in USD (null = free)
Timestamp when the event was created
Information about the event creator Username of the event creator
URL to the user’s profile image
Verification status of the user
External links for the event Payment methods for contributions Show Contribution Properties
Bitcoin Lightning address
Examples
curl -X GET "https://api.evento.so/api/public/v1/users/johndoe/events?since=2024-01-01T00:00:00Z" \
-H "x-evento-api-key: YOUR_API_KEY"
Response Example
{
"success" : true ,
"message" : "Events fetched successfully for user johndoe" ,
"data" : [
{
"id" : "evt_abc123" ,
"title" : "Summer Music Festival 2024" ,
"description" : "An outdoor music festival featuring local artists" ,
"cover" : "https://example.com/summer-fest.jpg" ,
"location" : "Golden Gate Park, San Francisco" ,
"start_date" : "2024-07-15T12:00:00Z" ,
"end_date" : "2024-07-15T22:00:00Z" ,
"timezone" : "America/Los_Angeles" ,
"status" : "published" ,
"visibility" : "public" ,
"cost" : 45.00 ,
"created_at" : "2024-05-01T10:00:00Z" ,
"creator" : {
"id" : "usr_xyz789" ,
"username" : "johndoe" ,
"image" : "https://example.com/johndoe.jpg" ,
"verification_status" : "verified"
},
"links" : {
"spotify_url" : "https://spotify.com/playlist/summer2024" ,
"wavlake_url" : null
},
"contributions" : {
"cashapp" : "$johndoe" ,
"venmo" : "@johndoe" ,
"paypal" : "[email protected] " ,
"btc_lightning" : null
}
},
{
"id" : "evt_def456" ,
"title" : "Tech Talk Tuesday" ,
"description" : "Weekly tech talks on emerging technologies" ,
"cover" : "https://example.com/tech-talk.jpg" ,
"location" : "Online" ,
"start_date" : "2024-08-20T18:00:00Z" ,
"end_date" : "2024-08-20T19:30:00Z" ,
"timezone" : "America/Los_Angeles" ,
"status" : "published" ,
"visibility" : "public" ,
"cost" : null ,
"created_at" : "2024-07-15T14:00:00Z" ,
"creator" : {
"id" : "usr_xyz789" ,
"username" : "johndoe" ,
"image" : "https://example.com/johndoe.jpg" ,
"verification_status" : "verified"
},
"links" : {
"spotify_url" : null ,
"wavlake_url" : null
},
"contributions" : {
"cashapp" : "$johndoe" ,
"venmo" : null ,
"paypal" : null ,
"btc_lightning" : "[email protected] "
}
}
]
}
Error Responses
400 - Bad Request (Missing Username)
{
"success" : false ,
"message" : "Username is required"
}
400 - Bad Request (Invalid Date Format)
{
"success" : false ,
"message" : "Not authenticated."
}
{
"success" : false ,
"message" : "User not found"
}
Notes
This endpoint returns events created by the user, not events they’re attending
Events are sorted by creation date (most recent first)
Only published, public events are returned
Date filtering applies to the event’s start date
An empty array is returned if no events match the criteria
Use date filtering to reduce the response size and improve performance when dealing with users who have many events.