---
title: "GET /forgejo/git-credentials"
method: GET
path: "/forgejo/git-credentials"
---

# GET /forgejo/git-credentials

`GET /forgejo/git-credentials`

Get Forgejo git credentials for the authenticated user

## Response `200`

Default Response

- object
  - `forgejoBaseUrl` string, required
  - `forgejoToken` string, required
  - `forgejoUsername` string, required

## Other responses

- `400` — Bad request
- `401` — No auth
- `403` — Forbidden
- `404` — Not found
- `422` — Invalid payload
- `500` — Uncaught error

---

[API](https://skmtc.net/scalar/apis/core.md) · [All operations](https://skmtc.net/scalar/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scalar/core/revisions/f2eb95a82c72/schema)
