---
title: "List organization git tokens"
method: GET
path: "/organization/{organizationId}/gitToken"
tags: ["Organization Main Calls"]
---

# List organization git tokens

`GET /organization/{organizationId}/gitToken`

## Request

- Base URL: `https://api.qovery.com`
- URL: `https://api.qovery.com/organization/{organizationId}/gitToken`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/qovery/apis/qovery-api/docs/organization/:organizationId/gitToken/get.ts> (a function with typed inputs; its response is checked against the schema)

List organization git tokens

## Path parameters

- `organizationId` string, uuid, required

## Response `200`

List organization git tokens

- GitTokenResponseList
  - `results` GitTokenResponse[]
    - `id` string, uuid, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time
    - `name` string, required
    - `description` string
    - `type` 'BITBUCKET' | 'GITHUB' | 'GITLAB', required
    - `expired_at` string, date
    - `workspace` string: Mandatory only for BITBUCKET git provider
    - `associated_services_count` number, required: The number of services using this git token
    - `git_api_url` string, uri, required

## Other responses

- `401`: Access token is missing or invalid
- `403`: Access forbidden
- `404`: Resource not found

---

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