---
title: "Get GitHub Actions integration"
method: GET
path: "/api/v1/apps/{app_id}/integrations/github"
tags: ["Apps", "apps-github"]
---

# Get GitHub Actions integration

`GET /api/v1/apps/{app_id}/integrations/github`

## Request

- Base URL: `https://cloud-api.phala.com`
- URL: `https://cloud-api.phala.com/api/v1/apps/{app_id}/integrations/github`
- Auth: none declared
- TypeScript: <https://skmtc.dev/phala/apis/phala-cloud-api/docs/api/v1/apps/:app_id/integrations/github/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the GitHub repository trusted to deploy this app with OIDC.

## Path parameters

- `app_id` string, required: Hex app identifier

## Response `200`

GitHub integration

- GitHubIntegrationResponse
  - `app_id` string, required
  - `repository` string, required
  - `allowed_ref` string, nullable
  - `allowed_workflow` string, nullable
  - `created_at` string, date-time, required

## Other responses

- `401`: Not authenticated
- `403`: No workspace access
- `404`: App or GitHub integration not found
- `422`: Validation Error

## Changes

- **2026-11-07** `c71a8dc90391`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/phala/apis/phala-cloud-api/changes/api/v1/apps/:app_id/integrations/github/get.md)

---

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