---
title: "GetChatIdentityToken"
method: POST
path: "/gitpod.v1.AccountService/GetChatIdentityToken"
tags: ["gitpod.v1.AccountService"]
---

# GetChatIdentityToken

`POST /gitpod.v1.AccountService/GetChatIdentityToken`

Gets the chat identity token for the currently authenticated account.

 Use this method to:
 - Obtain a verification hash for in-app chat identity verification
 - Secure chat sessions against impersonation

 The returned hash is an HMAC-SHA256 signature of the account's email,
 used by the chat widget to verify user identity.

 ### Examples

 - Get chat identity token:

   Retrieves the identity verification hash for the authenticated account.

   ```yaml
   {}
   ```

## Request body

- GitpodV1GetChatIdentityTokenRequest
  - `empty` boolean

## Response `200`

Success

- GitpodV1GetChatIdentityTokenResponse
  - `emailHash` string, required — email_hash is the HMAC-SHA256 hash of the account's email address, used for chat widget identity verification

## Other responses

- `default` — Error

---

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