Skip to content

Check if the current user is watching a repo

GET
/repos/{owner}/{repo}/subscription
owner
required
string

Owner of the repo

repo
required
string

Name of the repo

WatchInfo

WatchInfo represents an API watch status of one repository

object
created_at
string format: date-time
ignored
boolean
reason
repository_url
string
subscribed
boolean
url
string
Example generated
{
"created_at": "2026-04-15T12:00:00Z",
"ignored": true,
"reason": "example",
"repository_url": "example",
"subscribed": true,
"url": "example"
}

User is not watching this repo or repo do not exist