Skip to content
CloudVNO

Authentication

Authenticate your API requests using API keys. Learn how to manage keys, rotate them, and secure your integration.

API Keys

CloudVNO uses API keys for authentication. All API requests must include your API key in the Authorization header as a Bearer token.

curl https://api.cloudvno.com/v1/messages \
  -H "Authorization: Bearer YOUR_API_KEY"

Getting Your API Key

  1. Sign in to your CloudVNO dashboard
  2. Navigate to Settings → API Keys
  3. Click Create new API key
  4. Give it a name and select the appropriate permissions
  5. Copy your key immediately — it will not be shown again

Key Permissions

Each API key can be scoped to specific actions:

PermissionDescription
messages:readRead message history and status
messages:writeSend SMS, MMS, and RCS messages
calls:readRead call logs and recordings
calls:writeMake and control calls
numbers:readView provisioned numbers
numbers:writeProvision and release numbers
verify:writeSend and check verifications
lookups:readPerform number intelligence lookups

Security Best Practices

  • Never hardcode API keys in your source code or commit them to version control
  • Store keys in environment variables or a secrets manager (AWS Secrets Manager, HashiCorp Vault, etc.)
  • Use separate API keys for development and production
  • Rotate keys regularly and immediately if compromised
  • Scope keys to the minimum permissions needed

Using Environment Variables

import os
from cloudvno import Client

client = Client(os.environ["CLOUDVNO_API_KEY"])
import { CloudVNO } from '@cloudvno/sdk';

const client = new CloudVNO({
  apiKey: process.env.CLOUDVNO_API_KEY,
});

Key Rotation

To rotate a compromised key:

  1. Create a new API key in the dashboard
  2. Update your application to use the new key
  3. Verify the new key works in production
  4. Revoke the old key from the dashboard

Revoking a key is immediate and irreversible.