Integrations
Workspaces

Mints a short-lived GitHub installation token plus its bot identity (appSlug, botUserId, login, email). Naming an owner selects that GitHub account's installation instead of the most recently updated one, and repositories scopes the token to those repository names. Launched runs are limited to their repository and environment access level.

post/experimental/workspaces/{workspaceId}/integrations/github-app/token

Request

  • Base URL: https://api.tessl.io
  • URL: https://api.tessl.io/experimental/workspaces/{workspaceId}/integrations/github-app/token
  • Auth: none declared

Path parameters

workspaceIdstring uuid required

Headers

Authorizationstring

Request body

ownerstring

The GitHub account — an organization or a user — whose Tessl App installation mints the token. A workspace can reach the app on several accounts; without this the most recently updated installation is used, which may not be the one owning the repositories you want. Required whenever repositories is given.

repositoriesstring[]

Restricts the token to these repositories. Omit for a token covering everything the installation can reach.

permissionsobject

Response

Default Response

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • warning

      the / request property's maxLength was set to 100

    • info

      added the new optional request property