---
title: "POST /experimental/workspaces/{workspaceId}/integrations/github-app/token"
method: POST
path: "/experimental/workspaces/{workspaceId}/integrations/github-app/token"
tags: ["Integrations", "Workspaces"]
---

# POST /experimental/workspaces/{workspaceId}/integrations/github-app/token

`POST /experimental/workspaces/{workspaceId}/integrations/github-app/token`

Mints a short-lived GitHub installation token for the workspace's Tessl Helper GitHub App installation, plus the bot identity (`appSlug`, `botUserId`, `login`, `email`) resolved via the authenticated App credentials. Used by CI workflows and the CLI to act as the Tessl Helper bot without holding the private key or guessing the slug.

## Path parameters

- `workspaceId` string, uuid, required

## Headers

- `Authorization` string

## Request body

- object
  - `repositories` string[]
  - `permissions` object

## Response `201`

Default Response

- object
  - `links` object, required
    - `self` string, uri, required
  - `data` object, required
    - `id` string, uuid, required
    - `type` 'github-installation-access-token', required
    - `attributes` object, required
      - `token` string, required
      - `expiresAt` string, required
      - `permissions` object, required
      - `appSlug` string, required
      - `botUserId` number, required
      - `login` string, required
      - `email` string, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/tessl/apis/tessl-api.md) · [All operations](https://skmtc.net/tessl/apis/tessl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tessl/tessl-api/versions/fbb186825642/schema)
