Skip to main content

Rich Content Types

HITL.sh review requests support 5 content types that control how content is rendered for human reviewers on the web dashboard and mobile app. The type field on every request selects which renderer is used.

Overview

Markdown

Rich text with headings, bold, code blocks, tables, and links

Image

Inline image display with zoom support and optional S3 upload

File

Document review with inline PDF annotator and download links

Video

Embedded video player supporting YouTube, Vimeo, and direct files

Audio

Embedded audio player supporting SoundCloud, Spotify, and direct files

Content Type Comparison

Markdown (Default)

Render markdown-formatted text directly in request_text. This is the default type and requires no additional URL fields.
string
required
Set to "markdown"
string
required
The markdown content to display (max 2000 characters). Supports headings, bold, italic, code blocks, tables, lists, and links.

Example

Image

Display an externally-hosted image inline for visual review tasks such as content moderation, quality assessment, or labeling.
string
required
Set to "image"
string
required
Publicly accessible URL to the image
string
required
The question or instructions for the reviewer
Supported formats: JPEG, PNG, GIF, WebP Upload: You can host images on HITL.sh using the Upload Image endpoint (S3-backed, max 10 MB). Use the returned URL as your image_url. Rendering: Displayed inline above the response form. Supports pinch-to-zoom on mobile and click-to-zoom on web.

Example

File / Document

Attach a document for reviewers to read or annotate. PDFs render with an inline annotator on the web dashboard; other file types provide a download link.
string
required
Set to "file"
string
required
Publicly accessible URL to the document
string
MIME type of the document (e.g., "application/pdf")
string
Original filename shown to the reviewer (e.g., "Q4-report.pdf")
string
required
The question or instructions for the reviewer
Supported upload formats: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, CSV, TXT (max 50 MB) Upload: Use the Upload Document endpoint to host files on HITL.sh. Rendering:
  • PDFs: Inline annotator on web dashboard with highlight and comment tools
  • All other types: Download link with filename and detected MIME type

PDF Annotations

When the file is a PDF, the web dashboard activates an inline annotator. Reviewers can:
  • Highlight text passages
  • Add comment pins at specific positions
  • Draw freeform shapes over the document
  • Reply to other reviewers’ annotations
Annotations are saved alongside the reviewer’s response and returned in the response payload.
PDF annotations are only available on the web dashboard. The mobile app shows a download link for all file types including PDFs.

Example

Video

Embed a video player for reviewers to watch before responding. Supports major streaming platforms and direct video file links. No video hosting is provided — link to an externally-hosted video.
string
required
Set to "video"
string
required
URL to the video
string
required
The question or instructions for the reviewer
Supported platforms and formats: Rendering: YouTube and Vimeo use their native iframe embeds. Direct video files use the browser’s native <video> element on both web and mobile.

Example

Audio

Embed an audio player for reviewers to listen to before responding. Supports major streaming platforms and direct audio file links. No audio hosting is provided — link to an externally-hosted audio file.
string
required
Set to "audio"
string
required
URL to the audio
string
required
The question or instructions for the reviewer
Supported platforms and formats: Rendering: SoundCloud and Spotify use their native iframe embeds. Direct audio files use the browser’s native <audio> element on both web and mobile.

Example

Rendering Behavior

Required API Key Scopes

  • request:write — Create requests
  • request:read — Read request status and responses
  • loop:read — Access loop information
  • upload:write — Upload images and documents (upload endpoints only)

Next Steps

Upload Image

Host images on HITL.sh before creating image requests

Upload Document

Host documents on HITL.sh before creating file requests

Response Types

Choose the right response type for your content review workflow

Create Request

Start sending requests with rich content types