---
title: "Github App Callback"
method: GET
path: "/api/v1/git-providers/github-app/callback"
tags: ["git-integration", "Git Integration"]
---

# Github App Callback

`GET /api/v1/git-providers/github-app/callback`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/git-providers/github-app/callback`
- Auth: none declared

Handle GitHub App installation callback.

Public endpoint (called by GitHub redirect, not authenticated).
Validates CSRF state, verifies installation, creates provider.

## Query parameters

- `installation_id` integer, required: GitHub App installation ID
- `setup_action` string: Setup action (install, update)
- `state` string, required: CSRF state token

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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