---
title: "Issue a repository read token"
method: POST
path: "/v1/cloud-coding/gateway/read-token"
tags: ["Internal"]
---

# Issue a repository read token

`POST /v1/cloud-coding/gateway/read-token`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/cloud-coding/gateway/read-token`
- Auth: HTTP bearer

## Response `200`

Issue a repository read token

- CloudCodingReadToken
  - `token` string, required
  - `expiresAt` string, date-time, required
  - `cloneUrl` string, uri, required

## Other responses

- `401`: This task has ended or expired.
- `403`: Cloud coding is not available for this task.
- `404`: The approval was not found.
- `409`: The branch or approval is not available.
- `422`: This change could not be accepted.
- `502`: GitHub could not complete the request.

## Changes

- **2026-11-29** `8a5cecbbb048`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/cloud-coding/gateway/read-token/post.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
