---
title: "Check if user is subscribed to an issue"
method: GET
path: "/repos/{owner}/{repo}/issues/{index}/subscriptions/check"
tags: ["issue"]
---

# Check if user is subscribed to an issue

`GET /repos/{owner}/{repo}/issues/{index}/subscriptions/check`

## Request

- Base URL: `https://demo.gitea.com/api/v1`
- URL: `https://demo.gitea.com/api/v1/repos/{owner}/{repo}/issues/{index}/subscriptions/check`
- Auth: one of:
  - HTTP basic
  - API key in query parameter `token`
  - API key in query parameter `access_token`
  - API key in header `Authorization`
  - API key in query parameter `sudo`
  - API key in header `Sudo`
  - API key in header `X-GITEA-OTP`
- TypeScript: <https://skmtc.dev/gitea/apis/gitea-api/docs/repos/:owner/:repo/issues/:index/subscriptions/check/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `owner` string, required
- `repo` string, required
- `index` integer, required

## Response `200`

WatchInfo

- WatchInfo: WatchInfo represents an API watch status of one repository
  - `created_at` string, date-time: The timestamp when the watch status was created
  - `ignored` boolean: Whether notifications for the repository are ignored
  - `reason` unknown
  - `repository_url` string: The URL of the repository being watched
  - `subscribed` boolean: Whether the repository is being watched for notifications
  - `url` string: The URL for managing the watch status

## Other responses

- `default`: APIError is error format response

## Changes

- **2026-10-28** `7ef50c4c527f`: 1 info
  - removed the non-success response with the status `404`

[Operation history](https://skmtc.dev/gitea/apis/gitea-api/changes/repos/:owner/:repo/issues/:index/subscriptions/check/get.md)

---

[API](https://skmtc.dev/gitea/apis/gitea-api.md) - [All operations](https://skmtc.dev/gitea/apis/gitea-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gitea/apis/gitea-api/revisions/d712da0399fd?raw)
