cURL
curl --request GET \ --url https://api.evento.so/api/public/v1/users/{username}/upcoming-events \ --header 'x-evento-api-key: <x-evento-api-key>'
{ "success": true, "message": "<string>", "data": [ { "id": "<string>", "title": "<string>", "description": "<string>", "cover": "<string>", "location": "<string>", "start_date": "<string>", "end_date": {}, "timezone": "<string>", "status": "<string>", "visibility": "<string>", "cost": {}, "created_at": "<string>", "creator": { "id": "<string>", "username": "<string>", "image": "<string>", "verification_status": {} }, "links": { "spotify_url": {}, "wavlake_url": {} }, "contributions": { "cashapp": {}, "venmo": {}, "paypal": {}, "btc_lightning": {} } } ] }
Retrieve upcoming events hosted by a specific user
GET https://api.evento.so/api/public/v1/users/{username}/upcoming-events
johndoe
10
20
Show Event Object Properties
Show Creator Properties
Show Links Properties
Show Contribution Properties
curl -X GET "https://api.evento.so/api/public/v1/users/johndoe/upcoming-events?limit=5" \ -H "x-evento-api-key: YOUR_API_KEY"
{ "success": true, "message": "Upcoming events fetched successfully for user johndoe", "data": [ { "id": "evt_future1", "title": "Web Development Workshop", "description": "Learn modern web development techniques", "cover": "https://example.com/webdev.jpg", "location": "Tech Center, San Francisco", "start_date": "2025-01-15T18:00:00Z", "end_date": "2025-01-15T21:00:00Z", "timezone": "America/Los_Angeles", "status": "published", "visibility": "public", "cost": null, "created_at": "2024-11-20T10: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_future2", "title": "Spring Music Festival", "description": "Annual outdoor music festival", "cover": "https://example.com/spring-fest.jpg", "location": "Golden Gate Park, San Francisco", "start_date": "2025-03-21T12:00:00Z", "end_date": "2025-03-21T22:00:00Z", "timezone": "America/Los_Angeles", "status": "published", "visibility": "public", "cost": 55.00, "created_at": "2024-11-15T14:00:00Z", "creator": { "id": "usr_xyz789", "username": "johndoe", "image": "https://example.com/johndoe.jpg", "verification_status": "verified" }, "links": { "spotify_url": "https://spotify.com/playlist/spring2025", "wavlake_url": null }, "contributions": { "cashapp": "$johndoe", "venmo": "@johndoe", "paypal": "[email protected]", "btc_lightning": null } } ] }
400 - Bad Request (Invalid Parameters)
{ "success": false, "message": "Limit must be between 1 and 100" }
400 - Bad Request (Missing Username)
{ "success": false, "message": "Username is required" }
401 - Unauthorized
{ "success": false, "message": "Not authenticated." }
404 - Not Found
{ "success": false, "message": "User not found" }
start_date >= current_time
limit
offset
limit=10&offset=0
limit=10&offset=10
limit=10&offset=20