# REST API endpoints for Codespaces

Use the REST API to manage GitHub Codespaces.

## Links

* [REST API endpoints for Codespaces](/en/rest/codespaces/codespaces)

  Use the REST API to manage GitHub Codespaces.

* [REST API endpoints for Codespaces organizations](/en/rest/codespaces/organizations)

  Use the REST API to manage your organization members codespaces.

* [REST API endpoints for Codespaces organization secrets](/en/rest/codespaces/organization-secrets)

  Use the REST API to manage your organization-level Codespaces secrets.

* [REST API endpoints for Codespaces machines](/en/rest/codespaces/machines)

  Use the REST API to manage availability of machine types for a codespace.

* [REST API endpoints for Codespaces repository secrets](/en/rest/codespaces/repository-secrets)

  Use the REST API to manage secrets for repositories that the user has access to in a codespace.

* [REST API endpoints for Codespaces user secrets](/en/rest/codespaces/secrets)

  Use the REST API manage secrets that the user has access to in a codespace.