API Reference
The NativeBridge REST API enables you to programmatically upload apps, manage builds, generate magic links, and automate your mobile testing workflows.📚 Full API Documentation
View our complete API reference with interactive examples on Postman
Key Features
App Management
Upload, update, and manage your app builds programmatically
Magic Links
Auto-generate shareable magic links for every build
CI/CD Integration
Integrate with GitHub Actions, GitLab CI, and other pipelines
Automation
Run automated tests with Appium and Maestro
Quick Start
Authentication
All API requests require authentication using your API key:Get your API key from the Dashboard → Settings → API Keys
Upload Your First App
CI/CD Integration
Auto-Generate Magic Links on Every Push
Automatically create magic links for every commit to get instant preview links for your team:GitHub Actions Example
Auto-Generate Links for Pull Requests
Create preview apps for every PR to streamline code reviews:GitLab CI Example
Common API Endpoints
Core Operations
| Endpoint | Method | Description |
|---|---|---|
/v1/apps/upload | POST | Upload a new app or update existing |
/v1/apps/{appId} | GET | Get app details and magic link |
/v1/apps/{appId}/builds | GET | List all builds for an app |
/v1/apps/{appId} | DELETE | Delete an app |
/v1/apps/{appId}/permissions | PUT | Update app permissions |
Automation & Testing
| Endpoint | Method | Description |
|---|---|---|
/v1/sessions/start | POST | Start a new testing session |
/v1/sessions/{sessionId}/screenshot | GET | Capture screenshot |
/v1/sessions/{sessionId}/logs | GET | Get device logs |
/v1/sessions/{sessionId}/stop | POST | End testing session |
For complete endpoint documentation, request/response schemas, and interactive examples, visit our Postman Documentation
Use Cases
1. Continuous Deployment
Automatically deploy every commit:2. Nightly Build Distribution
Share nightly builds with your QA team:3. Feature Branch Previews
Create previews for each feature branch:Best Practices
- Security
- Performance
- Organization
- Store API keys in environment variables or secrets management
- Never commit API keys to version control
- Use different API keys for production and development
- Rotate API keys regularly
Rate Limits
| Plan | Requests/Hour | Concurrent Uploads | Max App Size |
|---|---|---|---|
| Free | 60 | 1 | 100 MB |
| Starter | 300 | 3 | 500 MB |
| Growth | 1000 | 10 | 1 GB |
| Custom | Unlimited | Unlimited | Unlimited |
Error Handling
Common error responses and solutions:401 Unauthorized
401 Unauthorized
413 File Too Large
413 File Too Large
Compress your app or upgrade to a higher plan for larger file limits
429 Rate Limited
429 Rate Limited
You’ve exceeded the rate limit. Wait and retry or upgrade your plan
500 Server Error
500 Server Error
Temporary issue on our end. Retry with exponential backoff
SDK & Libraries
Node.js SDK
npm install nativebridge
Python SDK
pip install nativebridge
GitHub Action
Official GitHub Action

