Skip to main content
GET
/
integrations
/
github
/
{conversation_id}
/
tickets
Get GitHub tickets attached to a conversation
curl --request GET \
  --url https://api.getfernand.com/integrations/github/{conversation_id}/tickets \
  --header 'X-API-Key: <api-key>'
[
  {
    "id": "I_kwDOABCDEF",
    "number": 42,
    "title": "Fix login bug",
    "url": "https://github.com/piedpiper/www/issues/42",
    "state_reason": "COMPLETED",
    "updated_at": "2024-01-15T10:30:00Z",
    "closed_at": "2024-01-15T10:30:00Z",
    "assignee": {
      "id": "U_kgDOABCDEF",
      "login": "richard.hendricks",
      "name": "Richard H.",
      "avatar_url": "https://avatars.githubusercontent.com/u/123456"
    },
    "labels": [
      {
        "id": "LA_kwDOABCDEF",
        "name": "bug",
        "color": "d73a4a"
      }
    ],
    "type": {
      "id": "IT_kwDOABCDEF",
      "name": "Bug",
      "color": "d73a4a"
    }
  }
]
Returns a list of GitHub issues attached to the specified conversation. Returns a 404 error if the GitHub integration is not configured for the organization.

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.

Path Parameters

conversation_id
integer
required

ID of the conversation to retrieve tickets for.

Response

GitHub tickets 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:

"COMPLETED"

updated_at
string

ISO 8601 timestamp of last update.

Example:

"2024-01-15T10:30:00Z"

closed_at
string

ISO 8601 timestamp when the issue was closed (null if open).

Example:

"2024-01-15T10:30:00Z"

assignee
object

Assigned user (null if unassigned).

labels
object[]

List of labels applied to the issue.

type
object

Issue type (null if no type is set).