Retrieve all public events that a user has either created or RSVP’d to attend.
This endpoint combines both hosted events and events the user is attending, making it perfect for displaying a user’s complete event activity profile.
Endpoint
GET https://api.evento.so/api/public/v1/users/{username}/profile-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 events associated with 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/profile-events" \
-H "x-evento-api-key: YOUR_API_KEY"
Response Example
{
"success" : true ,
"message" : "Profile events fetched successfully for user johndoe" ,
"data" : [
{
"id" : "evt_hosted123" ,
"title" : "JavaScript Workshop" ,
"description" : "Learn modern JavaScript development" ,
"cover" : "https://example.com/js-workshop.jpg" ,
"location" : "Tech Hub, San Francisco" ,
"start_date" : "2024-09-15T14:00:00Z" ,
"end_date" : "2024-09-15T17:00:00Z" ,
"timezone" : "America/Los_Angeles" ,
"status" : "published" ,
"visibility" : "public" ,
"cost" : null ,
"created_at" : "2024-08-01T10: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" : "@johndoe" ,
"paypal" : null ,
"btc_lightning" : null
}
},
{
"id" : "evt_attending456" ,
"title" : "Community Meetup" ,
"description" : "Monthly community gathering" ,
"cover" : "https://example.com/meetup.jpg" ,
"location" : "Community Center, Oakland" ,
"start_date" : "2024-09-20T18:00:00Z" ,
"end_date" : "2024-09-20T20:00:00Z" ,
"timezone" : "America/Los_Angeles" ,
"status" : "published" ,
"visibility" : "public" ,
"cost" : 10.00 ,
"created_at" : "2024-08-10T12:00:00Z" ,
"creator" : {
"id" : "usr_abc456" ,
"username" : "communityorg" ,
"image" : "https://example.com/community.jpg" ,
"verification_status" : "verified"
},
"links" : {
"spotify_url" : null ,
"wavlake_url" : null
},
"contributions" : {
"cashapp" : "$community" ,
"venmo" : "@community" ,
"paypal" : "[email protected] " ,
"btc_lightning" : null
}
}
]
}
Error Responses
{
"success" : false ,
"message" : "Username is required"
}
{
"success" : false ,
"message" : "Not authenticated."
}
{
"success" : false ,
"message" : "User not found"
}
Notes
This endpoint returns both:
Events created by the user
Events the user has RSVP’d to attend
You can distinguish between them by checking if the creator.username
matches the requested username
Events are sorted by creation date (most recent first)
Only published, public events are returned
This endpoint is ideal for building user profile pages that showcase all event activity. Use the creator information to differentiate between hosted and attending events.