---
title: "Validate JWT"
method: GET
path: "/uploadposts/users/validate-jwt"
tags: ["Authentication"]
---

# Validate JWT

`GET /uploadposts/users/validate-jwt`

Validate a JWT token and return the associated profile details. Uses Bearer token authentication.

## Response `200`

Validation result. Returns profile if valid, or isValid=false if invalid.

- union
  - object
    - `success` boolean
    - `profile` UserProfile
      - `username` string — Unique profile identifier.
      - `created_at` string — Timestamp of profile creation.
      - `social_accounts` object — Connected social media accounts keyed by platform name.
  - object
    - `isValid` boolean
    - `reason` string

## Other responses

- `401` — Unauthorized — Invalid or expired token.

---

[API](https://skmtc.dev/upload-post/apis/upload-post-api.md) · [All operations](https://skmtc.dev/upload-post/apis/upload-post-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/upload-post/upload-post-api/revisions/10bd964e4415/schema)
