API Reference
The Norrix API provides programmatic access to build, submit, and update operations.
Base URLs
| Environment | Base URL |
|---|---|
| Production | https://norrix.net/api |
| Development | https://dev.norrix.dev/api |
Endpoints
Build Operations
| Method | Endpoint | Description |
|---|---|---|
GET | /build | List builds |
GET | /build?id={buildId} | Get specific build |
POST | /build | Create new build |
DELETE | /build?id={buildId} | Delete build |
Submit Operations
| Method | Endpoint | Description |
|---|---|---|
GET | /submit | List submissions |
GET | /submit?id={submitId} | Get specific submission |
POST | /submit | Create new submission |
DELETE | /submit?id={submitId} | Delete submission |
Update Operations
| Method | Endpoint | Description |
|---|---|---|
POST | /update | Create OTA update |
GET | /update/check/{bundleId} | Check for updates (public) |
Configuration
| Method | Endpoint | Description |
|---|---|---|
GET | /env | List environment variables |
POST | /env | Set environment variable |
DELETE | /env?id={envId} | Delete environment variable |
GET | /api-keys | List API keys |
POST | /api-keys | Create API key |
DELETE | /api-keys?id={keyId} | Revoke API key |
GET | /webhooks | List webhooks |
POST | /webhooks | Create webhook |
PUT | /webhooks | Update webhook |
DELETE | /webhooks?id={webhookId} | Delete webhook |
Authentication
All endpoints except /update/check require authentication.
See Authentication for details.
Response Format
Success Response
{
"id": "build-1234567890",
"status": "success",
"...": "..."
}Error Response
{
"error": "Unauthorized",
"message": "Invalid or expired API key"
}HTTP Status Codes
| Code | Meaning |
|---|---|
200 | Success |
201 | Created |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
429 | Rate Limited |
500 | Internal Error |
Rate Limits
API requests are rate limited:
| Tier | Limit |
|---|---|
| Free | 60 requests/minute |
| Pro | 300 requests/minute |
| Enterprise | 1000 requests/minute |
Rate limit headers:
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 45
X-RateLimit-Reset: 1704067200Pagination
List endpoints support pagination:
| Parameter | Default | Description |
|---|---|---|
limit | 10 | Number of items (max 100) |
offset | 0 | Skip this many items |
Example:
GET /api/build?limit=20&offset=40SDK Access
The Client SDK uses the public OTA check endpoint:
GET /api/update/check/{bundleId}See OTA Check API for details.