---
title: "Generate a JSON Web Token (JWT)"
method: POST
path: "/api_keys/jwt"
tags: ["api keys"]
---

# Generate a JSON Web Token (JWT)

`POST /api_keys/jwt`

The JWT generated through this endpoint has limited lifetime. Our [authentication](https://developers.fieldwire.com/docs/authentication) guide carries more information about the entire flow

## Request body

- ApiKeyGenerateJwtInput — Input for generating JWT associated to an API token
  - `api_token` string, required — API key generated through Fieldwire's web app

## Response `201`

Successful response

- ApiKeyGenerateJwtOutput — Output for generating JWT associated to an API token
  - `access_token` string, required — JSON Web Token (JWT) associated to the passed in API key

---

[API](https://skmtc.dev/fieldwire/apis/fieldwire-super-api.md) · [All operations](https://skmtc.dev/fieldwire/apis/fieldwire-super-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fieldwire/fieldwire-super-api/revisions/66ee1c20b92d/schema)
