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.
Create a token
Section titled “Create a token”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.
Use it
Section titled “Use it”Send it as a bearer token:
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.
Scopes
Section titled “Scopes”| Scope | Allows |
|---|---|
playback |
Recording watch progress, and removing finished videos from the queue, saved or a playlist. |