GET
/users/{username}/eventsList events for the authenticated user
If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. Optional: use the fine-grained token with following permission set to view private events: "Events" user permissions (read).
[!NOTE] This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
usernamestringrequired
The handle for the GitHub user account.
per_pageintegeroptional
The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
pageintegeroptional
The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
200Response
idstringrequired
typestringrequired
actorobjectrequired
Actor
repoobjectrequired
orgobjectoptional
Actor
payloadobjectrequired
publicbooleanrequired
created_atstringrequired
Was this helpful?