Skip to content

API tokens

API tokens let a service act on your behalf without your password, for example to keep a podcast app’s playback position in sync with OwnTube.

Under Settings → Feeds & tokens, create a token, give it a label and choose its scopes. The token starts with ot_ and is shown once. Revoke it on the same page at any time.

Send it as a bearer token:

Terminal window
curl -H "Authorization: Bearer ot_…" https://tube.example.org/api/trpc/…

A token only reaches the API calls in its scopes. Everything else is refused, including managing tokens.

Scope Allows
playback Recording watch progress, and removing finished videos from the queue, saved or a playlist.