Skip to main content
GET
/
organization
/
{organizationId}
/
gitToken
/
{gitTokenId}
Get organization git token
curl --request GET \
  --url https://api.qovery.com/organization/{organizationId}/gitToken/{gitTokenId} \
  --header 'Authorization: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "description": "<string>",
  "type": "BITBUCKET",
  "expired_at": "2023-12-25",
  "workspace": "<string>",
  "associated_services_count": 123,
  "git_api_url": "<string>"
}

Authorizations

Authorization
string
header
required

Token API are generated by Qovery to manage machine to machine interaction and do not have a TTL. Prefix your token with "Token ". Curl Example: curl https://console.qovery.com/organization -H "Authorization: Token $qovery_token"

Path Parameters

organizationId
string<uuid>
required

Organization ID

gitTokenId
string<uuid>
required

Git Token ID

Response

Get organization git token

id
string<uuid>
required
created_at
string<date-time>
required
name
string
required
type
enum<string>
required
Available options:
BITBUCKET,
GITHUB,
GITLAB
associated_services_count
number
required

The number of services using this git token

git_api_url
string<uri>
required
updated_at
string<date-time>
description
string
expired_at
string<date>
workspace
string

Mandatory only for BITBUCKET git provider