Secure connection setup
Connect Rivopix to your API server
Set up a secure connection once, then scan product QR codes to capture and send photos to your own server. Rivopix stores the connection name, API server URL (endpoint), service ID (connectionId), allowed path prefixes and the API key securely in the iPhone Keychain.
Setup QR: securely adds your company's API connection to an iPhone. Product QR: identifies a product or task, provides display and business data, and selects an allowed upload path. It never contains an API key.
Connect your iPhone in five steps
- Prepare your server. You need an HTTPS API base URL, a valid API key and a server implementing the Rivopix health and upload endpoints.
- Open the Setup QR generator. Enter the service name, API server URL and API key. Use your existing service ID if your company already has one, or create a new service ID for a new integration.
- Test the connection. Run the optional but recommended server health check.
- Generate the Setup QR. The encrypted QR and a separate one-time setup password are generated in your browser. The password is not embedded in the QR.
- Add the connection on iPhone. Open Rivopix → Settings → API Connections → Add, scan the QR, enter the setup password and save the connection.
Next, use the Product QR generator to create a QR code with the same service ID and an allowed upload path. In Rivopix, open the Direct tab, scan the product QR, take photos and tap Send.
Server health check
The optional check requests GET {endpoint}/rivopix/health with Authorization: Bearer …. A successful response must include:
status: "ok"service: "Rivopix API"version: "1.0"permissions.upload: true(JSON boolean)
Legacy hello responses without this structure are rejected. See Docs/api/HEALTH-v1.md for details.
Server security requirements
- Use HTTPS (except loopback for local development).
- Validate Bearer tokens; never put them in URLs or website logs.
- Allow CORS requests from rivopix.com for browser-based health checks (unauthenticated OPTIONS preflight).
- Restrict upload routes to the configured allow-list (default prefix:
/rivopix).