API Keys
Access BuildVision programmatically for custom integrations.
What Are API Keys?
API keys let you:
- Build custom integrations
- Automate workflows
- Connect other software
- Export data programmatically
API keys provide full account access. Treat them like passwords - never share publicly or commit to code repositories.
Creating an API Key
Go to API Keys
Navigate to Settings → API Keys.
Click Generate
Click + Generate New Key.
Name Your Key
Give it a descriptive name:
- "Excel Integration"
- "Accounting Sync"
- "Zapier Connection"
Set Permissions (Optional)
Limit what the key can access:
- Read only
- Specific modules
- Full access (default)
Generate
Click Generate Key.
Copy Key
Important: Copy the key now. It won't be shown again.
Managing Keys
Viewing Keys
Your keys list shows:
- Key name
- Created date
- Last used date
- Status (Active/Revoked)
The actual key value is hidden after creation.
Revoking Keys
If a key is compromised:
- Click the key name
- Click Revoke
- Confirm
Revoked keys stop working immediately.
Regenerating Keys
To get a new key value:
- Revoke the old key
- Create a new key
- Update your integrations
Using API Keys
Authentication
Include your API key in requests:
# Header authentication (recommended)
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.buildvision.me/v1/projects
# Query parameter (less secure)
curl https://api.buildvision.me/v1/projects?api_key=YOUR_API_KEYBase URL
https://api.buildvision.me/v1/Common Endpoints
| Endpoint | Method | Description |
|---|---|---|
/projects | GET | List all projects |
/projects/{id} | GET | Get specific project |
/documents | GET | List documents |
/quotes | GET | List quotes |
/takeoffs/{id}/items | GET | Get takeoff results |
Rate Limits
API requests are limited:
| Plan | Requests/Hour |
|---|---|
| Free | 100 |
| Pro | 1,000 |
| Team | 5,000 |
| Business | 10,000 |
| Enterprise | Custom |
Exceeding limits returns 429 Too Many Requests.
Security Best Practices
Do
- Store keys in environment variables
- Use secrets management (Vault, AWS Secrets)
- Rotate keys periodically
- Monitor key usage
Don't
- Commit keys to Git
- Share in chat/email
- Use in client-side code
- Give keys unnecessary permissions
Key Rotation
Regularly rotate keys:
- Create new key
- Update integrations to use new key
- Verify integrations work
- Revoke old key
Example Integrations
Export to Excel
import requests
API_KEY = "your_api_key"
PROJECT_ID = "project_123"
response = requests.get(
f"https://api.buildvision.me/v1/takeoffs/{PROJECT_ID}/items",
headers={"Authorization": f"Bearer {API_KEY}"}
)
items = response.json()
# Process and export to ExcelZapier/Make
Connect via webhook:
- Create API key
- Use in Zapier webhook
- Trigger automations on BuildVision events
Accounting Software
Sync invoices:
- Fetch invoices via API
- Transform data format
- Push to accounting system
Troubleshooting
Q: Getting 401 Unauthorized
- Check key is correct
- Verify key isn't revoked
- Ensure proper header format
Q: Getting 403 Forbidden
- Key may lack required permissions
- Endpoint may be restricted
- Check your plan includes API access
Q: Rate limited
- Implement request caching
- Add delays between requests
- Upgrade plan for higher limits
API Documentation
Full API documentation available at:
- Swagger/OpenAPI spec
- Postman collection
- SDK libraries (coming soon)
Contact support for developer resources.
Next Steps
- Integrations - Pre-built connections
- Settings - Other configuration
- Contact Support (opens in a new tab) - API questions