---
title: "Get a repository subscription"
method: GET
path: "/repos/{owner}/{repo}/subscription"
tags: ["activity"]
---

# Get a repository subscription

`GET /repos/{owner}/{repo}/subscription`

Gets information about whether the authenticated user is subscribed to the repository.

## Path parameters

- `owner` string, required
- `repo` string, required

## Response `200`

if you subscribe to the repository

- RepositorySubscription — Repository invitations let you manage who you collaborate with.
  - `subscribed` boolean, required — Determines if notifications should be received from this repository.
  - `ignored` boolean, required — Determines if all notifications should be blocked from this repository.
  - `reason` string, nullable, required
  - `created_at` string, date-time, required
  - `url` string, uri, required
  - `repository_url` string, uri, required

## Other responses

- `403` — Forbidden
- `404` — Not Found if you don't subscribe to the repository

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-2.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-2/versions/8ae6d0c8716e/schema)
