Sample - GitHub REST API
GET/organizations

List organizations

Lists all organizations, in the order that they were created.

[!NOTE] Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters
sinceintegeroptional
An organization ID. Only return organizations with an ID greater than this ID.
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)."
Default:30

2 status codes
200Response
loginstringrequired
idintegerrequired
node_idstringrequired
urlstringrequired
repos_urlstringrequired
events_urlstringrequired
hooks_urlstringrequired
issues_urlstringrequired
members_urlstringrequired
public_members_urlstringrequired
avatar_urlstringrequired
descriptionstringrequired
304Not modified