DocsGet startedAuthentication

Get started

Authentication

Use API keys for clients and device sign-in for MyraCode.

API clients

Create a key under API Keys in the MyraRouter dashboard and send it as a Bearer token.

Example
Authorization: Bearer $MYRAROUTER_API_KEY

MyraCode devices

MyraCode displays an approval link and short code. Open the link while signed in, approve the device, and return to the terminal.

Keep access private

Anyone holding an API key or an approved device session can use your balance. Revoke access you no longer recognize.