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”-
Log in to the Vitals dashboard.
-
Navigate to Settings > Integrations > API Keys.
-
Click New API Key.
-
Enter a description (e.g., “Production server”) and select an expiry.
-
Click Create. Copy the key immediately — it is only displayed once.
Invalidating a key
Section titled “Invalidating a key”Open the actions menu next to any active key on the API Keys page and select Invalidate. Invalidated keys are immediately rejected by the API.
Finding your credentials
Section titled “Finding your credentials”- Business ID — displayed as the Workspace ID on the API Keys page (Settings > Integrations > API Keys). Required in all API URLs.
- Business Alias — found on the General Settings page (Settings > General) under Workspace Alias. Used to construct scan URLs:
https://scan.upvio.com/{alias}/links/{slug}.
Store these in environment variables:
UPVIO_API_KEY=your-api-keyUPVIO_BUSINESS_ID=your-business-idUPVIO_BUSINESS_ALIAS=your-business-alias