---
title: "List GitHub repositories"
method: GET
path: "/repo/list"
tags: ["deprecated"]
deprecated: true
---

# List GitHub repositories

`GET /repo/list`

> **Deprecated.**

**This endpoint is deprecated.** Use the [successor version](https://docs.socket.dev/reference/getorgrepolist) instead.

Deprecated: Use `/orgs/{org_slug}/repos` instead. Get all GitHub repositories associated with a Socket org.

This endpoint consumes 1 unit of your quota.

This endpoint requires the following org token scopes:
- repo:list

## Query parameters

- `pageToken` string

## Response `200`

List of GitHub repositories associated with the organization.

- object
  - `results` object[], required
    - `id` string, required
    - `created_at` string, required
    - `updated_at` string, required
    - `github_install_id` string, required
    - `github_repo_id` string, required
    - `name` string, required
    - `github_full_name` string, required
    - `organization_id` string, nullable, required
    - `workspace` string, required
    - `latest_project_report` object
      - `id` string, required
      - `created_at` string, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Insufficient max_quota for API method
- `404` — Resource not found
- `429` — Insufficient quota for API route

---

[API](https://skmtc.dev/socket-dev/apis/socket.md) · [All operations](https://skmtc.dev/socket-dev/apis/socket/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/socket-dev/socket/revisions/bf994b75d33f/schema)
