Skip to main content
POST
/
integrations
/
github
/
search
Search for GitHub issues across all connected repositories
curl --request POST \
  --url https://api.getfernand.com/integrations/github/search \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "query": "login bug"
}
'
[
  {
    "id": "I_kwDOABCDEF",
    "number": 42,
    "title": "Fix login bug",
    "url": "https://github.com/piedpiper/www/issues/42",
    "state_reason": null,
    "repository": "piedpiper/www",
    "type": {
      "id": "IT_kwDOABCDEF",
      "name": "Bug",
      "color": "d73a4a"
    }
  }
]
Searches for GitHub issues across all repositories that the GitHub integration has access to. The search query can include any GitHub search syntax. Returns up to 20 matching issues with their details including title, number, URL, state, repository, and issue type.

Authorizations

X-API-Key
string
header
required

Authenticate your account by including your secret key in API requests. You can manage your API keys in the Dashboard.

Authentication to the API is performed by using the HTTP Header X-API-Key.

Body

application/json
query
string

Search query string (supports GitHub search syntax).

Example:

"login bug"

Response

Search results retrieved successfully.

id
string

Unique identifier of the GitHub issue.

Example:

"I_kwDOABCDEF"

number
integer

Issue number within the repository.

Example:

42

title
string

Title of the issue.

Example:

"Fix login bug"

url
string

URL to view the issue on GitHub.

Example:

"https://github.com/piedpiper/www/issues/42"

state_reason
string

Reason for the current state (COMPLETED, NOT_PLANNED, REOPENED, or null if open).

Example:

null

repository
string

Full name of the repository (owner/repo).

Example:

"piedpiper/www"

type
object

Issue type (null if no type is set).