List Plans
OK
application/json- response
data*array<>curl -X GET 'https://tiltas.openpanel.sh/api/v1/plans'{ "data": [ { "id": "free", "name": "string", "price_month_eur": 0, "price_year_eur": 0, "device_allowance": 0, "member_limit": 0, "relay_gb_month": 0, "features": [ "services" ] } ]}Errors
Every error code the Tiltas API returns, what it means and what to do.
Approve a Device sign-in POST
The signed-in Member adds the Device to one of their Accounts' Network, from the browser that opened the code. Allowed at once when this browser and the Device are on the same network (same IPv4, same IPv6 /64, by the addresses the trusted proxy saw) or with the app's `loopback_nonce`: its SHA-256 must equal the `nonce_sha256` the Device sent (compared in constant time; only while the sign-in is pending, so once). A wrong or missing nonce changes nothing. Otherwise `confirm_different_network` must be true (else 409 different_network) and the session must be at most 10 minutes old (else 403 fresh_session_required). Errors: 409 opened_elsewhere (another browser opened the code), 409 expired_token (expired, locked, already approved or denied: each sign-in is approved once), 409 plan_limit (the Plan's Device limit; `limit: devices`, `upgrade_url`), 409 partner_sign_in. The audit event `device.added` records `requested_ip`, `viewer_ip`, `same_network`, `loopback` and `via_link`; the "New Device" email says when the Device asked from a different network.