---
title: "Get Widget Token"
method: POST
path: "/v1/widget/{widget_id}/token"
tags: ["v1", "v1-widget"]
---

# Get Widget Token

`POST /v1/widget/{widget_id}/token`

## Request

- Base URL: `https://api.enconvert.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.enconvert.com/v1/widget/{widget_id}/token`
- Auth: none declared

Issue a short-lived JWT for a widget without exposing the API key.
The widget is identified by its UUID; the caller's domain is validated
against the widget's allowed_domains list.

## Path parameters

- `widget_id` string, required

## Request body

- WidgetTokenRequest
  - `turnstile_token` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/enconvert/apis/conversion-api.md) · [All operations](https://skmtc.dev/enconvert/apis/conversion-api/llms.txt) · [OpenAPI document](https://skmtc.dev/enconvert/apis/conversion-api/revisions/b8c820393569?raw)
