Transloadit
Pricing
  • File Uploads
  • File Importing
  • Video Encoding
  • Audio Encoding
  • Image Processing
  • Document Processing
  • Artificial Intelligence
  • File Filtering & Security
  • Media Cataloging
  • File Compression
  • Code Evaluation
  • File Exporting
  • Smart CDN
  • View all services
  • Explore integrations
  • Explore live demos
  • Uppy
  • TransloaditKit
  • Android SDK
  • Node SDK
  • Python SDK
  • Ruby SDK
  • Go SDK
  • Java SDK
  • PHP SDK
  • Zapier
  • MCP Server
  • Terraform
  • Essentials
  • Best Practices
  • FAQ
  • Robots
  • API
  • Formats
  • Build your first app
  • About
  • Comparisons
  • Open Source
  • Testimonials
  • Jobs
  • Security
  • Posts
  • DevTimes
  • DevTips
  • Press
  • Research
  • Case Studies
  • Solutions
  • Guides
  • Glossary
  • Legal
  • Tools
  • Helping Coursera bring education to millions around the world
  • Transloadit Support
  • Open Source Support
  • Service level agreement
EssentialsRobotsFAQAPIFormatsBest Practices
Topics
  • Endpoints
  • Response codes
  • Authentication
  • Metadata
  • API security
  • Rate limiting
  • Queues
  • Resumable uploads
Authentication
  • Create a bearer token
Assemblies
  • Create a new Assembly
  • Retrieve an Assembly Status
  • Stream Assembly changes live
  • Cancel a running Assembly
  • Replay an Assembly
  • Retrieve list of Assemblies
  • Assembly Status response
Webhooks
  • Replay Assembly Notification
Billing
  • Retrieve a month’s bill
Queues
  • Retrieve currently used priority job slots
Template Credentials
  • Create a new Template Credential
  • Retrieve a Template Credential
  • Edit a Template Credential
  • Delete a Template Credential
  • Retrieve list of Template Credentials
Templates
  • Create a new Template
  • Retrieve a Template
  • Edit a Template
  • Delete a Template
  • Retrieve list of Templates

Create a bearer token

POSThttps://api2.transloadit.com/token

This endpoint exchanges your Auth Key and Auth Secret for a short-lived Bearer token. It mirrors the OAuth 2.0 client_credentials flow but is handled directly by the Transloadit API.



Tokens are minted server-side via this endpoint using your Auth Key/Secret. If you expose token creation via a UI, call /token from your backend (never directly from the browser).



Requests must use application/x-www-form-urlencoded and HTTP Basic Auth:

curl --request POST --url 'https://api2.transloadit.com/token' --user 'auth_key:auth_secret' --header 'Content-Type: application/x-www-form-urlencoded' --data-urlencode 'grant_type=client_credentials' --data-urlencode 'scope=assemblies:read assemblies:write'

POST fields

  • Passing grant_type is required. Must be client_credentials.
  • Passing scope is optional. Optional, space- or comma-separated list of scopes. If omitted, the token inherits all scopes granted to your Auth Key.
  • Passing aud is optional. Optional audience value. Defaults to api2.

Use the returned token with Authorization: Bearer <access_token> on API requests. When a request is authenticated with a valid Bearer token, API2 treats Signature Authentication as satisfied and skips signature validation. Signature Authentication is enforced only for key/secret requests. Scope checks still apply. Tokens are valid for six hours (expires_in is 21600). The aud value is stored for future audience enforcement.

    Response

    Here’s an example response body:

    {
      "access_token": "opaque-token",
      "token_type": "Bearer",
      "expires_in": 21600,
      "scope": "assemblies:read assemblies:write"
    }

    On success this request returns a JSON response with the token details. On error it contains an error field with the error status code and a message describing what went wrong.

    Previous page ← Resumable uploadsNext page Create a new Assembly →
    TransloaditChecking status…

    Product

    • Services
    • Pricing
    • Demos
    • Tools
    • Security
    • Support

    Company

    • About/Press
    • Blog/Jobs
    • Comparisons/Compliance matrix
    • Research
    • Open source
    • Solutions

    Docs

    • Getting started
    • Transcoding
    • FAQ
    • API
    • Guides/DevTips
    • Supported formats

    More

    • Platform status⁠
    • Community forum⁠
    • StackOverflow⁠
    • Uppy
    • tus⁠

    © 2009–2026 Transloadit-II GmbH

    PrivacyTermsImprint