v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
activity

List events received by the authenticated user

These are events that you've received by watching repositories and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.

[!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.

get/users/{username}/received_events

Path parameters

usernamestring required

The handle for the GitHub user account.

Query parameters

per_pageinteger

The number of results per page (max 100). For more information, see "Using pagination in the REST API."

pageinteger

The page number of the results to fetch. For more information, see "Using pagination in the REST API."

Response

Response

idstring required
typestring nullable required
publicboolean required
created_atstring date-time nullable required

Example response

[
  {
    "payload": {
      "discussion": {
        "state_reason": "resolved",
        "labels": [
          {
            "id": 208045946,
            "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=",
            "url": "https://api.github.com/repositories/42/labels/bug",
            "name": "bug",
            "description": "Something isn't working",
            "color": "FFFFFF",
            "default": true
          }
        ]
      }
    }
  }
]