Skip to content

Authentication

The Media Conversion API authenticates requests with OAuth tokens. These tokens carry hierarchical scopes. The prefix is media_conversion:.

Scopes

Scopes use the format media_conversion:<resource>:<action>:

Scope Grants
media_conversion:converters:read Read converters and their runs
media_conversion:converters:write Create, update, delete converters, act on workflows
media_conversion:output_groups:read / :write Read / manage output groups
media_conversion:storages:read / :write Read / manage storages, run storage tests
media_conversion:workflows:read / :write Read runs and payloads / launch workflows
media_conversion:callbacks:read / :write Read / manage callbacks
media_conversion:api Full access to all resources
media_conversion:api:read Read-only access to all resources

Scopes are hierarchical:

  • media_conversion:api satisfies every scope.
  • media_conversion:api:read satisfies every scope ending in :read.
  • media_conversion:converters satisfies every converters:* scope.
  • media_conversion:converters:read satisfies every converters:*:read scope.

The resource pages of this section list scopes without the media_conversion: prefix. The API routes declare these scopes. Tokens always carry the full prefix.

Server-to-server integrations use application tokens instead of user tokens. The same scopes apply. The token has optional abilities and an expiry date.

Calling the API

Pass the token in the Authorization header:

curl -H "Authorization: Bearer <token>" \
  https://<api-base-url>/projects/{project}/converters

The API rejects a request with 403 when the token lacks the required scope. The API returns 404 when a request touches a resource from another project. The API does not reveal the existence of resources you cannot access.