---
title: "Generate an installation access token"
method: POST
path: "/app/installations/{installationId}/accessTokens"
tags: ["App installations"]
---

# Generate an installation access token

`POST /app/installations/{installationId}/accessTokens`

This endpoint generates an installation access token for a specific installation. This access token can be used to access organization resources.

## Path parameters

- `installationId` string, required

## Headers

- `x-icr-api-version` string

## Response `200`

- ApiInstallationAccessToken
  - `id` string, required — The ID of the access token
  - `createdAt` string, date-time, required — The date and time the access token was created
  - `updatedAt` string, date-time, required — The date and time the access token was last updated
  - `token` string, required — The access token string
  - `expiresAt` string, date-time, required — The date and time the access token expires
  - `isActive` boolean, required — Whether the access token is currently active
  - `permissions` object, required — The permissions of the access token
  - `appId` string, required — The ID of the app associated with the access token
  - `installationId` string, required — The ID of the installation associated with the access token
  - `organizationId` string, required — The ID of the organization associated with the access token

---

[API](https://skmtc.net/carbonregistry/apis/carbon-registry-rest-api.md) · [All operations](https://skmtc.net/carbonregistry/apis/carbon-registry-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/carbonregistry/carbon-registry-rest-api/revisions/a9f1b102faca/schema)
