Skip to main content
royaltyport login
Authenticates with the Royaltyport API. By default, opens your browser for a secure OAuth sign-in. For headless environments, pass an API token with the --token flag. See Authentication for full details on all login methods and environment variables.

Options

OptionShortDescription
--token <token>-tAPI token — skips browser login
--api-url <url>Custom API URL (default: https://api.royaltyport.com)


Behavior

EnvironmentWhat happens
Interactive terminalOpens your browser for OAuth sign-in
--token flag providedValidates and stores the API token (no browser)
Non-interactive / piped stdinPrompts for an API token via stdin

Examples

Browser login (default):
royaltyport login
Login with API token:
royaltyport login --token rp_your_token_here
Login with a custom API URL:
royaltyport login --api-url https://your-api-url.com
Piped login (non-interactive environments):
echo "rp_your_token_here" | royaltyport login