Skip to main content

Access and security

Get API key

To use the Pathfindr SDK you will need to make authorized requests to the API in order to store files, convert videos, retrieve edited documents or stream the videos.

There are two different authorization methods that either authenticate with an API key or an access token.

The API key

The API key should be used for backend to backend communication only and should not be shared or readable in your frontend. The API key should be added to the Authorization header as a Bearer token when making requests to the API from your backend.

In order to get your API key, please contact us at hi@pathfindr.dev.

The access token

The access token is a one time token that can be used in the frontend components to grant you users limited access to files and functionality. The access token has a default time-to-live property set to 6 hours, but this can be changed when you create the token. The token will not be valid if it gets revoked, used or it expires.

You can create access tokens using the API.

Encryption of streams

In addition to offering everything via HTTPS, we add an extra layer of security and privacy by providing encrypted media streams to users and placing the decryption key in your hands for a fun and safe experience. 🔒🪄