---
title: "Create App Key"
method: POST
path: "/application-keys"
tags: ["Authentication"]
---

# Create App Key

`POST /application-keys`

Create a unique set of credentials (Client ID and Client Secret) for authenticating with the API.
These credentials are required to request an access token and should be securely stored. Each user must generate their credentials before interacting with the API.

## Headers

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

## Request body

- ApplicationKeyRequest
  - `userName` string, required — The user name you use when signing into your SysAid account.
  - `password` string, required — The password you use when signing into your SysAid account.
  - `applicationName` string, required — This action creates an app entity for the user. You can choose a specific name for it.
  - `tokenLifetime` integer — The time in seconds until tokens generated with these credentials expire. The default is 86400 (24 hours), maximum value is 2592000 (30 days).
  - `description` string — Additional information about this app or user (optional)

## Response `201`

Application key created successfully

- ApplicationKeyResponse
  - `clientId` string, required — The client ID to use for authentication.
  - `clientSecret` string, required — The client secret to use for authentication (only shown once).
  - `applicationName` string, required — The name of the application.

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