TKFlight API

The publisher and read API for Tinkertanker ad-hoc iOS builds.

Overview

TKFlight publishes ad-hoc iOS builds. A Mac builds and signs the app, the publisher uploads the IPA through this API, and testers install from one stable link.

Only builds in the ready state are readable.

Authentication

Every /api/v1 route requires Authorization: Bearer <token>. The administrative capability enrolls apps, issues and revokes tokens, rotates read links and deletes builds. Publisher tokens are scoped to a single app.

Publishing a build

Create a build, reserve an upload for its exact byte length, upload 16 MiB parts, complete the upload, then finalize. Create, reserve, complete and finalize require an Idempotency-Key so a lost response never duplicates work.

Remote signing

For a project an operator has configured for remote signing, the IPA is signed on an isolated Mac instead of being uploaded ready-made. Nothing about the ordinary build, upload, screenshot or finalize routes changes; only which build may be finalized does.

Limits

Defaults are 2 GiB per IPA, 16 MiB parts, 12 screenshots below 10 MiB, a 2 MiB icon, 20 ready builds per app and 30 days of retention. Applying production retention needs approval.

For coding agents

https://flight.tk.sg/llms.txt returns the same service description as plain text for a fetching agent.