API Keys
Every API request must include a valid API key as a Bearer token in the Authorization header.
Using your API key
Section titled “Using your API key”import { UpvioApiClient } from '@upvio/sdk-node'
const client = new UpvioApiClient({ apiKey: process.env.UPVIO_API_KEY, businessId: process.env.UPVIO_BUSINESS_ID,})curl https://api.upvio.com/v1/businesses/{businessId}/vitals/links \ -H "Authorization: Bearer YOUR_API_KEY"Creating an API key
Section titled “Creating an API key”-
Go to Settings > Developers > API Keys.
-
Click API Key (or New API Key if you have no keys yet).
-
Enter a Description (e.g., “Production server”) and select an Expiry.
-
Click Create, then Copy value. Copy the key immediately — it is only displayed once.
Revoking a key
Section titled “Revoking a key”Open the actions menu next to any active key on the API Keys page and select Revoke. Revoked keys are immediately rejected by the API and show as Invalidated in the list.
Finding your credentials
Section titled “Finding your credentials”- Business ID — shown on the API Keys page (Settings > Developers > API Keys) under the heading, after “This business ID is”. Required in all API URLs.
- Business Alias — the Business Alias field on the Business Profile page (Settings > Business Profile). Used to construct scan URLs:
https://{alias}.clients.upvio.com/vitals/links/{slug}.
Store these in environment variables:
UPVIO_API_KEY=your-api-keyUPVIO_BUSINESS_ID=your-business-idUPVIO_BUSINESS_ALIAS=your-business-alias