---
title: "URL token -> PlantUML source"
method: POST
path: "/api/decode"
tags: ["encoding"]
---

# URL token -> PlantUML source

`POST /api/decode`

## Request

- Base URL: `https://uml.singsk.com`
- URL: `https://uml.singsk.com/api/decode`
- Auth: none declared

Accepts a bare token or a full render URL (the token is extracted). Reverses /api/encode.

## Request body

- DecodeRequest
  - `encoded` string, required: Token or full render URL

## Response `200`

Original source

- DecodeResponse
  - `text` string

## Other responses

- `400`: Missing/invalid token

---

[API](https://skmtc.dev/singsk/apis/uml-singsk-com-plantuml-service-api.md) · [All operations](https://skmtc.dev/singsk/apis/uml-singsk-com-plantuml-service-api/llms.txt) · [OpenAPI document](https://skmtc.dev/singsk/apis/uml-singsk-com-plantuml-service-api/revisions/44cfa55d273f?raw)
