---
title: "Generate Access Token"
method: POST
path: "/access-tokens"
tags: ["Authentication"]
---

# Generate Access Token

`POST /access-tokens`

Obtain a temporary access token for authenticating API requests. 
To generate the token, provide your Client ID and Client Secret obtained from the Generate App Key endpoint.

## Headers

- `x-sysaid-accountid` string, required — SysAid account identifier

## Request body

- AccessTokenRequest
  - `clientId` string, required — The client ID for authentication
  - `clientSecret` string, required — The client secret for authentication

## Response `200`

Access token generated successfully

- GetTokenResponse
  - `token` string, required — JWT access token
  - `tokenType` string, required — Token type
  - `expiresIn` integer, required — Token expiration time in seconds

## Other responses

- `400` — The request was invalid or cannot be served
- `401` — Authentication information is missing or invalid

---

[API](https://skmtc.net/sysaid/apis/sysaid-public-api.md) · [All operations](https://skmtc.net/sysaid/apis/sysaid-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sysaid/sysaid-public-api/revisions/38a43a1b2981/schema)
