---
title: "Resolve a TikTok short URL"
method: POST
path: "/videos/tracked/resolve-tiktok-short-url"
tags: ["Track Individual Videos"]
---

# Resolve a TikTok short URL

`POST /videos/tracked/resolve-tiktok-short-url`

## Request

- Base URL: `https://viral.app/api/v1`
- URL: `https://viral.app/api/v1/videos/tracked/resolve-tiktok-short-url`
- Auth: API key in header `x-api-key`

Expands a TikTok short/share link (`vm.tiktok.com/…`) into its canonical video URL, so the numeric video id can be extracted before adding the video to tracking. Free — no credits, nothing is tracked.

## Request body

- object
  - `url` string, required

## Response `200`

OK

- object
  - `originalUrl` string: URL
  - `resolvedUrl` string: URL
  - `shortUrlDetected` boolean, required
  - `resolved` boolean, required
  - `hasChanged` boolean, required
  - `errorMessage` string

## Other responses

- `400`: 400
- `401`: 401
- `402`: 402
- `404`: 404
- `408`: 408
- `429`: 429
- `500`: 500

---

[API](https://skmtc.dev/viral/apis/viral-app-api.md) · [All operations](https://skmtc.dev/viral/apis/viral-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/viral/apis/viral-app-api/revisions/31e97fa79ef1?raw)
