GET
/notificationsList notifications for the authenticated user
List all notifications for the current user, sorted by most recently updated.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
allbooleanoptional
If `true`, show notifications marked as read.
participatingbooleanoptional
If `true`, only shows notifications in which the user is directly participating or mentioned.
sincestringoptional
Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
beforestringoptional
Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
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)."
per_pageintegeroptional
The number of results per page (max 50). 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
repositoryobjectrequired
Minimal Repository
subjectobjectrequired
reasonstringrequired
unreadbooleanrequired
updated_atstringrequired
last_read_atstringrequired
urlstringrequired
subscription_urlstringrequired
304Not modified
401Requires authentication
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
403Forbidden
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
422Validation failed, or the endpoint has been spammed.
messagestringrequired
documentation_urlstringrequired
errorsarray<object>optional
Error handling
A 401 is returned: Requires authentication. A 403 is returned: Forbidden. A 422 is returned: Validation failed, or the endpoint has been spammed.