---
title: "GetIDToken"
method: POST
path: "/gitpod.v1.IdentityService/GetIDToken"
tags: ["gitpod.v1.IdentityService"]
---

# GetIDToken

`POST /gitpod.v1.IdentityService/GetIDToken`

GetIDToken returns a token that can be used to authenticate the user against the other services.

## Request body

- GitpodV1GetIDTokenRequest
  - `audience` string[]

## Response `200`

Success

- GitpodV1GetIDTokenResponse
  - `token` string

## Other responses

- `default` — Error

---

[API](https://skmtc.dev/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.dev/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/27f7bd641de1/schema)
