Getting Your API Key
API keys allow you to programmatically interact with NativeBridge, enabling you to upload apps, generate magic links, and automate your testing workflows.API keys are tied to your organization and have the same permissions as your user account. Keep them secure and never share them publicly.
Generate Your First API Key
Follow these simple steps to create your API key:1
Navigate to Dashboard
Log in to your NativeBridge account and go to your Dashboard
2
Access API Keys Section
Click on “API Keys” in the sidebar navigation or go directly to API Keys
3
Create New API Key
Click the “Generate New API Key” button
4
Name Your Key
Give your API key a descriptive name (e.g., “GitHub Actions”, “Development”, “Production”)
5
Copy and Save
Copy your API key immediately - you won’t be able to see it again once you leave the page
Visual Guide
- List of all active API keys
- When each key was created
- Last used timestamp
- Options to revoke keys
Using Your API Key
Once you have your API key, you can use it in your API requests:In HTTP Headers
In Environment Variables
Store your API key as an environment variable for security:In CI/CD Pipelines
GitHub Actions
- Go to your repository Settings → Secrets → Actions
- Add a new secret named
NATIVEBRIDGE_API_KEY - Use in your workflow:
GitLab CI
- Go to Project Settings → CI/CD → Variables
- Add a variable named
NATIVEBRIDGE_API_KEY - Use in your pipeline:
Managing API Keys
View All Keys
Your API Keys dashboard displays:| Column | Description |
|---|---|
| Name | The descriptive name you gave the key |
| Created | When the key was generated |
| Last Used | Most recent API call using this key |
| Actions | Revoke or regenerate the key |
Revoke a Key
To revoke an API key:- Go to API Keys
- Find the key you want to revoke
- Click the “Revoke” button
- Confirm the action
Regenerate a Key
If you suspect a key has been compromised:- Revoke the compromised key immediately
- Generate a new key with the same name
- Update all services with the new key
Best Practices
Security Guidelines
DO ✅
- Store keys in environment variables or secrets management systems
- Use different keys for different environments
- Revoke unused or compromised keys immediately
- Monitor key usage in your dashboard
- Use HTTPS for all API requests
DON’T ❌
- Share keys in emails or chat messages
- Commit keys to git repositories
- Use the same key across multiple projects
- Expose keys in client-side code
- Log or print keys in console output
Rate Limits by Plan
API keys inherit the rate limits of your subscription plan:| Plan | API Calls/Hour | Concurrent Requests |
|---|---|---|
| Free | 60 | 1 |
| Starter | 300 | 3 |
| Growth | 1000 | 10 |
| Custom | Unlimited | Unlimited |
Need higher limits? Contact us to discuss custom plans.
Troubleshooting
API Key not working
API Key not working
- Ensure you’re including “Bearer ” before the key in the Authorization header
- Check that the key hasn’t been revoked
- Verify you’re using the correct API endpoint
- Make sure there are no extra spaces or characters
Can't see API Keys section
Can't see API Keys section
- Verify you have the necessary permissions in your organization
- Check if your plan includes API access
- Contact your organization admin for access
Forgot to copy key
Forgot to copy key
- Once created, keys cannot be viewed again for security
- You’ll need to revoke the old key and create a new one
- Make sure to update all services with the new key
Rate limit exceeded
Rate limit exceeded
- Check your current plan’s limits in the dashboard
- Consider upgrading to a higher plan
- Implement request caching and batching

