---
title: "Generate an app access token"
method: POST
path: "/app/accessTokens"
tags: ["Apps"]
---

# Generate an app access token

`POST /app/accessTokens`

This endpoint generates an app access token. This access token can be used to access app specific resources and general "public" resources, like the /projects endpoint.

## Headers

- `x-icr-api-version` string

## Response `200`

- ApiAppAccessToken
  - `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

---

[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)
