Skip to main content
POST
Use this endpoint to validate a TikTok slideshow URL and preview import inputs before spending credits. The preview returns source metadata, image URLs, slide limits, and estimated credits for review. preview_id is accepted for compatibility; the canonical import fetches the URL again instead of treating the preview as authority to create a slideshow. Import requires a separate explicit request and an idempotency key. Image URLs remain provider-hosted and can expire. Slideshow Studio loads approved HTTPS TikTok CDNs without a referrer. If a preview host is outside its bounded image policy, the widget shows an unavailable preview and offers a link to review the source on TikTok.

Body Parameters

string
required
TikTok slideshow URL. Supports standard and short TikTok links.

Example

slide_count is the number of slides that will be imported (max 8). If TikTok has more slides, capped=true and total_slides shows the original count.

Error Responses

  • 400 invalid_json - request body is not valid JSON
  • 422 invalid_payload - payload is missing required fields
  • 422 invalid_tiktok_url - URL is not a valid TikTok link
  • 422 not_slideshow - TikTok URL is valid but not a slideshow/photo post
  • 429 rate_limited
  • 502 tiktok_fetch_failed - upstream TikTok fetch failed
  • 500 upstream_config_error - TikTok upstream credentials/config missing
  • 500 preview_failed