{"meta":{"title":"REST API endpoints for feeds","intro":"Use the REST API to interact with GitHub feeds.","product":"REST API","breadcrumbs":[{"href":"/en/enterprise-cloud@latest/rest","title":"REST API"},{"href":"/en/enterprise-cloud@latest/rest/activity","title":"Activity"},{"href":"/en/enterprise-cloud@latest/rest/activity/feeds","title":"Feeds"}],"documentType":"article"},"body":"# REST API endpoints for feeds\n\nUse the REST API to interact with GitHub feeds.\n\n> [!NOTE]\n> Most endpoints use `Authorization: Bearer <YOUR-TOKEN>` and `Accept: application/vnd.github+json` headers, plus `X-GitHub-Api-Version: 2026-03-10`. Curl examples below omit these standard headers for brevity.\n\n## Get feeds\n\n```\nGET /feeds\n```\n\nLists the feeds available to the authenticated user. The response provides a URL for each feed. You can then get a specific feed by sending a request to one of the feed URLs.\n\nTimeline: The GitHub Enterprise Cloud global public timeline\nUser: The public timeline for any user, using uri_template. For more information, see \"Hypermedia.\"\nCurrent user public: The public timeline for the authenticated user\nCurrent user: The private timeline for the authenticated user\nCurrent user actor: The private timeline for activity created by the authenticated user\nCurrent user organizations: The private timeline for the organizations the authenticated user is a member of.\nSecurity advisories: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Cloud.\n\nBy default, timeline resources are returned in JSON. You can specify the application/atom+xml type in the Accept header to return timeline resources in Atom format. For more information, see \"Media types.\"\nNote\n\nPrivate feeds are only returned when authenticating via Basic Auth since current feed URIs use the older, non revocable auth tokens.\n\n### HTTP response status codes\n\n- **200** - OK\n\n### Code examples\n\n#### Example\n\n**Request:**\n\n```curl\ncurl -L \\\n  -X GET \\\n  https://api.github.com/feeds\n```\n\n**Response schema (Status: 200):**\n\n* `timeline_url`: required, string\n* `user_url`: required, string\n* `current_user_public_url`: string\n* `current_user_url`: string\n* `current_user_actor_url`: string\n* `current_user_organization_url`: string\n* `current_user_organization_urls`: array of string, format: uri\n* `security_advisories_url`: string\n* `repository_discussions_url`: string\n* `repository_discussions_category_url`: string\n* `_links`: required, object:\n  * `timeline`: required, `Link With Type`:\n    * `href`: required, string\n    * `type`: required, string\n  * `user`: required, `Link With Type` (see above)\n  * `security_advisories`: `Link With Type` (see above)\n  * `current_user`: `Link With Type` (see above)\n  * `current_user_public`: `Link With Type` (see above)\n  * `current_user_actor`: `Link With Type` (see above)\n  * `current_user_organization`: `Link With Type` (see above)\n  * `current_user_organizations`: array of `Link With Type` (see above)\n  * `repository_discussions`: `Link With Type` (see above)\n  * `repository_discussions_category`: `Link With Type` (see above)"}