PeerTube · OAuth Scopes

PeerTube OAuth Scopes

OAuth 2.0 derived

PeerTube publishes 3 OAuth 2.0 scopes via the password flow. Scopes are the fine-grained permissions an application requests at authorization time to act against the PeerTube API on a user’s behalf.

Tokens are issued from /api/v1/users/token.

This index is generated from the provider’s OpenAPI security definitions (and, where available, its documented scope reference) and refreshes on every APIs.io network build. Browse every provider’s scopes at scopes.apis.io.

VideoDecentralizedFederationOpen-SourceActivityPubSelf-HostedStreaming
Scopes: 3 Flows: password Method: derived

OAuth endpoints

Token URL
/api/v1/users/token
Flows
password

Scopes (3)

ScopeDescriptionFlows
admin Admin scope password
moderator Moderator scope password
user User scope password

Source

OAuth Scopes

Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/openapi.json, openapi/openapi.yaml
schemes:
- name: OAuth2
  source: openapi/openapi.json
  flows:
  - flow: password
    tokenUrl: /api/v1/users/token
  description: |-
    Authenticating via OAuth requires the following steps:
    - Have an activated account
    - [Generate] an access token for that account at `/api/v1/users/token`.
    - Make requests with the *Authorization: Bearer <token\>* header
    - Profit, depending on the role assigned to the account

    Note that the __access token is valid for 1 day__ and is given
    along with a __refresh token valid for 2 weeks__.

    [Generate]: https://docs.joinpeertube.org/api/rest-getting-started
- name: OAuth2
  source: openapi/openapi.yaml
  flows:
  - flow: password
    tokenUrl: /api/v1/users/token
  description: |-
    Authenticating via OAuth requires the following steps:
    - Have an activated account
    - [Generate] an access token for that account at `/api/v1/users/token`.
    - Make requests with the *Authorization: Bearer <token\>* header
    - Profit, depending on the role assigned to the account

    Note that the __access token is valid for 1 day__ and is given
    along with a __refresh token valid for 2 weeks__.

    [Generate]: https://docs.joinpeertube.org/api/rest-getting-started
scopes:
- scope: admin
  description: Admin scope
  flows:
  - password
  sources:
  - openapi/openapi.json
  - openapi/openapi.yaml
- scope: moderator
  description: Moderator scope
  flows:
  - password
  sources:
  - openapi/openapi.json
  - openapi/openapi.yaml
- scope: user
  description: User scope
  flows:
  - password
  sources:
  - openapi/openapi.json
  - openapi/openapi.yaml

Work with this as data

Every scope set here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for oauth scopes

4 MCP tools reach this
  • find_scopesBrowse and filter every scope set in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This scope set
curl "https://apis.io/api/v1/scopes/peertube-scopes"
All oauth scopes
curl "https://apis.io/api/v1/scopes?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.