---
title: "Check if the external provided JWT is valid for the specified environment"
method: POST
path: "/environments/{environmentId}/externalJwt/check"
tags: ["ExternalJwt"]
---

# Check if the external provided JWT is valid for the specified environment

`POST /environments/{environmentId}/externalJwt/check`

## Path parameters

- `environmentId` string, required

## Request body

- ExternalJwtCheckRequest — Encoded Jwt to be validated
  - `encodedJwt` string, required

## Response `200`

JWT validation result

- ExternalJwtCheckResponse
  - `valid` boolean, required — Indicates if the JWT is valid
  - `errors` string[] — List of error messages if the JWT is invalid

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

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