Skip to content

API Keys

Authenticate API requests with secure API keys.

API Keys Dashboard

Overview

API keys allow you to:

  • Authenticate API requests
  • Integrate with external systems
  • Automate photo request workflows
  • Build custom applications

Plan Requirement

API access requires a plan that includes API features.

Creating an API Key

Steps

  1. Go to API Keys in the sidebar
  2. Click Create API Key
  3. Enter a descriptive name
  4. Toggle Active (default: on)
  5. Click Create

Save Your Key

One-Time Display

The full API key is shown only once at creation. Copy and store it securely. You cannot retrieve it later.

After creation:

  • Copy the key immediately
  • Store in a secure location
  • Never share publicly

Using API Keys

Authentication Header

Include the API key in request headers:

bash
curl -X GET "https://api.visio.now/v1/status" \
  -H "X-API-Key: your-api-key-here"

Header Name

HeaderValue
X-API-KeyYour API key

Example Request

bash
# Create a photo request
curl -X POST "https://api.visio.now/v1/photo-requests" \
  -H "X-API-Key: vsk_live_abc123..." \
  -H "Content-Type: application/json" \
  -d '{
    "instructions": "Please send photos of the vehicle",
    "photo_slots": [
      {"instructions": "Front view", "is_required": true},
      {"instructions": "Rear view", "is_required": true}
    ]
  }'

Managing API Keys

View Keys

The API Keys list shows:

  • Key name
  • Masked key (partial display)
  • Active/inactive status
  • Last used date
  • Creation date

Edit Key

  1. Click the edit icon
  2. Update the name
  3. Toggle active status
  4. Save changes

Deactivate Key

Temporarily disable a key:

  1. Click Deactivate on the key
  2. Confirm the action
  3. Key immediately stops working

Activate Key

Re-enable a deactivated key:

  1. Click Activate on the key
  2. Confirm the action
  3. Key works again immediately

Regenerate Key

Create a new key value:

  1. Click Regenerate
  2. Confirm the action (old key stops working)
  3. Copy the new key immediately

Immediate Invalidation

Regenerating invalidates the old key instantly. Update all integrations before regenerating.

Delete Key

Permanently remove a key:

  1. Click Delete
  2. Confirm the action
  3. Key is permanently removed

API Key Format

Keys follow this format:

vsk_[environment]_[random-string]
PrefixEnvironment
vsk_live_Production
vsk_test_Testing

Security Best Practices

Key Storage

  • Store in environment variables
  • Use secrets management systems
  • Never commit to version control
  • Don't include in client-side code

Key Rotation

  • Rotate keys periodically
  • Rotate immediately if compromised
  • Use short-lived keys for testing

Access Control

  • Create separate keys per integration
  • Use descriptive names
  • Monitor key usage
  • Deactivate unused keys

What NOT to Do

  • Share keys in emails
  • Post keys in chat/Slack
  • Include in URLs
  • Store in plain text files

Rate Limiting

API requests are rate-limited:

LimitValue
Per minute60 requests
Per hour1,000 requests

Rate Limit Headers

Responses include:

X-RateLimit-Limit: 60
X-RateLimit-Remaining: 45
X-RateLimit-Reset: 1609459200

Exceeded Limit

When exceeded:

  • HTTP 429 response
  • Retry after indicated time
  • Implement exponential backoff

Troubleshooting

401 Unauthorized

Causes:

  • Invalid API key
  • Key is deactivated
  • Key was deleted/regenerated
  • Missing header

Solutions:

  1. Verify key is correct
  2. Check key is active
  3. Regenerate if needed

403 Forbidden

Causes:

  • Key doesn't have permission
  • Feature not in plan
  • Workspace restrictions

Solutions:

  1. Check plan features
  2. Verify key ownership
  3. Contact support

Key Not Showing

If you lost your key:

  1. The original cannot be retrieved
  2. Regenerate to get a new one
  3. Update all integrations

Key Limits

Per Plan

PlanMax API Keys
Professional5 keys
EnterpriseUnlimited

Recommendations

  • Production: 1 key per integration
  • Development: Separate testing keys
  • CI/CD: Dedicated deployment key

Professional Photo Documentation Platform